logo

overlay

My own overlay for experimentations, use with caution, no support is provided

Quaternion-0.0.9.4d.ebuild (963B)


      1 # Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
      2 # Distributed under the terms of the GNU General Public License v2
      3 
      4 EAPI=6
      5 
      6 inherit cmake-utils
      7 
      8 DESCRIPTION="A Qt5-based IM client for the Matrix protocol"
      9 HOMEPAGE="https://github.com/QMatrixClient/Quaternion https://matrix.org/docs/projects/client/quaternion.html"
     10 SRC_URI="https://github.com/QMatrixClient/Quaternion/archive/${PV}.tar.gz -> ${P}.tar.gz"
     11 SLOT="0"
     12 LICENSE="GPL-3"
     13 KEYWORDS="~amd64"
     14 
     15 DEPEND="
     16 	dev-qt/qtwidgets:5=
     17 	dev-qt/qtnetwork:5=
     18 	dev-qt/qtquickcontrols:5=
     19 	dev-qt/qtquickcontrols2:5=
     20 	dev-qt/qtscript:5=
     21 	dev-qt/qtgui:5=
     22 	dev-qt/linguist-tools:5=
     23 	dev-qt/qtmultimedia:5=
     24 	>=net-libs/libqmatrixclient-0.5.1:=
     25 "
     26 
     27 src_prepare() {
     28 	# I wouldn't be surprised that Qt on a Ubuntu PPA is broken
     29 	# https://github.com/quotient-im/Quaternion/pull/484/files#r256167611
     30 	sed -i 's/Multimedia DBus)/Multimedia)/' CMakeLists.txt || die "Failed removing hard-dep on QtDbus"
     31 
     32 	default
     33 }