aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
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
downloadportage-overlay-cb78b0d7369c5bae7e3021fa3d9af1f37738337a.tar.gz
portage-overlay-cb78b0d7369c5bae7e3021fa3d9af1f37738337a.tar.bz2
portage-overlay-cb78b0d7369c5bae7e3021fa3d9af1f37738337a.zip
initial commit
Diffstat (limited to 'net-im')
-rw-r--r--net-im/Quaternion/Manifest2
-rw-r--r--net-im/Quaternion/Quaternion-0.0.9.4e-r1.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/net-im/Quaternion/Manifest b/net-im/Quaternion/Manifest
new file mode 100644
index 0000000..5d8e30e
--- /dev/null
+++ b/net-im/Quaternion/Manifest
@@ -0,0 +1,2 @@
+DIST Quaternion-0.0.9.4e.tar.gz 999309 BLAKE2B 7f1763fa5340f11f7ed5aee0fa7e3f91764cad7f248ba1be26472866d7cf2b78e2144d0719a89a9b78503f744ca424c1eb2d3dd91f4c6677ea23255166466be8 SHA512 5478892b7dce96a60f1429ee6dff9dd0b4fbb89bf45ecc2e499ee90f615af4de12d1de0002804420a85a21a6ba533e4799c94d2411067cb7d7aacca183d9d981
+EBUILD Quaternion-0.0.9.4e-r1.ebuild 1119 BLAKE2B 37e9274e726f73c23624e097cc9eca57a8024df26ad2ef0ada6cb2efb5820aeecbb9309443aa6cdaae339380bc073d96a4f0f146c2f34297f8cd57ae515f1f9d SHA512 da0c56292a2489dd1d2a8f8a60292239b31e3918f58648a630d5f94d07a154d663ea081183cce555729c9188c08cf10fd59911864d07e9d172695cb1196d9bfd
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
+}