From 072ac98325dbe1c3397fd8dd18f5c7f6271ec8b6 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Thu, 16 Sep 2021 03:04:54 +0200 Subject: [PATCH] net-im/Quaternion: New Package Signed-off-by: Haelwenn (lanodan) Monnier --- net-im/Quaternion/Manifest | 1 + net-im/Quaternion/Quaternion-0.0.9.4e.ebuild | 44 ++++++++++++++++++++ net-im/Quaternion/metadata.xml | 11 +++++ 3 files changed, 56 insertions(+) create mode 100644 net-im/Quaternion/Manifest create mode 100644 net-im/Quaternion/Quaternion-0.0.9.4e.ebuild create mode 100644 net-im/Quaternion/metadata.xml diff --git a/net-im/Quaternion/Manifest b/net-im/Quaternion/Manifest new file mode 100644 index 0000000000..daa814f3c2 --- /dev/null +++ b/net-im/Quaternion/Manifest @@ -0,0 +1 @@ +DIST Quaternion-0.0.9.4e.tar.gz 999309 BLAKE2B 7f1763fa5340f11f7ed5aee0fa7e3f91764cad7f248ba1be26472866d7cf2b78e2144d0719a89a9b78503f744ca424c1eb2d3dd91f4c6677ea23255166466be8 SHA512 5478892b7dce96a60f1429ee6dff9dd0b4fbb89bf45ecc2e499ee90f615af4de12d1de0002804420a85a21a6ba533e4799c94d2411067cb7d7aacca183d9d981 diff --git a/net-im/Quaternion/Quaternion-0.0.9.4e.ebuild b/net-im/Quaternion/Quaternion-0.0.9.4e.ebuild new file mode 100644 index 0000000000..c1b4545d76 --- /dev/null +++ b/net-im/Quaternion/Quaternion-0.0.9.4e.ebuild @@ -0,0 +1,44 @@ +# 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" + +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 +} diff --git a/net-im/Quaternion/metadata.xml b/net-im/Quaternion/metadata.xml new file mode 100644 index 0000000000..b2439633a8 --- /dev/null +++ b/net-im/Quaternion/metadata.xml @@ -0,0 +1,11 @@ + + + + + contact@hacktivis.me + Haelwenn (lanodan) Monnier + + + Enable support for password storage via dev-libs/qtkeychain + +