aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/Quaternion/Quaternion-0.0.9.4e-r1.ebuild
diff options
context:
space:
mode:
authorturret <turret@duck.com>2022-09-10 20:00:37 -0500
committerturret <turret@duck.com>2022-09-10 20:00:37 -0500
commitcb78b0d7369c5bae7e3021fa3d9af1f37738337a (patch)
treec3a41d72d03fbc648451dd1f3b31ba28eb2094a2 /net-im/Quaternion/Quaternion-0.0.9.4e-r1.ebuild
downloadportage-overlay-cb78b0d7369c5bae7e3021fa3d9af1f37738337a.tar.gz
portage-overlay-cb78b0d7369c5bae7e3021fa3d9af1f37738337a.tar.bz2
portage-overlay-cb78b0d7369c5bae7e3021fa3d9af1f37738337a.zip
initial commit
Diffstat (limited to 'net-im/Quaternion/Quaternion-0.0.9.4e-r1.ebuild')
-rw-r--r--net-im/Quaternion/Quaternion-0.0.9.4e-r1.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/net-im/Quaternion/Quaternion-0.0.9.4e-r1.ebuild b/net-im/Quaternion/Quaternion-0.0.9.4e-r1.ebuild
new file mode 100644
index 0000000..3162397
--- /dev/null
+++ b/net-im/Quaternion/Quaternion-0.0.9.4e-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A Qt5-based IM client for the Matrix protocol"
+HOMEPAGE="https://github.com/QMatrixClient/Quaternion https://matrix.org/docs/projects/client/quaternion.html"
+SRC_URI="https://github.com/QMatrixClient/Quaternion/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SLOT="0"
+LICENSE="GPL-3"
+KEYWORDS="~amd64"
+IUSE="+keychain"
+RESTRICT="mirror"
+
+DEPEND="
+ dev-qt/qtwidgets:5=
+ dev-qt/qtnetwork:5=
+ dev-qt/qtquickcontrols:5=
+ dev-qt/qtquickcontrols2:5=
+ dev-qt/qtscript:5=
+ dev-qt/qtgui:5=
+ dev-qt/linguist-tools:5=
+ dev-qt/qtmultimedia:5=
+ >=net-libs/libqmatrixclient-0.5.1:=
+ keychain? ( dev-libs/qtkeychain:= )
+"
+
+src_prepare() {
+ # I wouldn't be surprised that Qt on a Ubuntu PPA is broken
+ # https://github.com/quotient-im/Quaternion/pull/484/files#r256167611
+ sed -i 's/Multimedia DBus)/Multimedia)/' CMakeLists.txt || die "Failed removing hard-dep on QtDbus"
+
+ default
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_KEYCHAIN=$(usex keychain)
+ )
+
+ cmake_src_configure
+}