summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Vyalkova <cyber+gentoo@sysrq.in>2023-05-09 05:36:04 +0500
committerJoonas Niilola <juippis@gentoo.org>2023-05-20 19:02:35 +0300
commit3e82791157952869a8908f7597d673de611d790e (patch)
tree6108192bfde7449097212dd10449afb60082c125
parentnet-libs/libomemo-c: new package, add 0.5.0 (diff)
downloadgentoo-3e82791157952869a8908f7597d673de611d790e.tar.gz
gentoo-3e82791157952869a8908f7597d673de611d790e.tar.bz2
gentoo-3e82791157952869a8908f7597d673de611d790e.zip
net-libs/qxmpp: add 1.5.5
Closes: https://bugs.gentoo.org/905392 Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--net-libs/qxmpp/Manifest1
-rw-r--r--net-libs/qxmpp/metadata.xml5
-rw-r--r--net-libs/qxmpp/qxmpp-1.5.5.ebuild57
3 files changed, 63 insertions, 0 deletions
diff --git a/net-libs/qxmpp/Manifest b/net-libs/qxmpp/Manifest
index 1f55c5675469..95304059e386 100644
--- a/net-libs/qxmpp/Manifest
+++ b/net-libs/qxmpp/Manifest
@@ -1 +1,2 @@
DIST qxmpp-1.4.0.tar.gz 313356 BLAKE2B a3a5c5cf3b16c319a6eddb3808f22af946040945eb8e66a641fe3117217b04eaf4e2b88dab8fa9cd2a3034d54884e1fa3563b0e775660645a5bdd6045469f9a5 SHA512 5a0cb72899314e47846b8b47340738df20a8d198c2db8cfe38c2cc31615166e9d86c6aaf6931be16078b2f9decca2d767497ad32e1d6dd0f6af888406c33fee9
+DIST qxmpp-1.5.5.tar.gz 606405 BLAKE2B 999dfcaa601f1d79df97febcd63bfcdcce87de9c0e68db6c1253407c89414003f326011a9a5e366031f78ddae084d06f04851ab3f4573ee53c59567770ae0edc SHA512 39774655fdb87dc54f32f7a018d4964c9ff8e9bebedd9cc94e6ad41288bd67365eec524525de09c5a3d2ea274e418fc6d5497ac2c1927946154cadaf7fc0d655
diff --git a/net-libs/qxmpp/metadata.xml b/net-libs/qxmpp/metadata.xml
index 1af484a2057c..a16102fbed25 100644
--- a/net-libs/qxmpp/metadata.xml
+++ b/net-libs/qxmpp/metadata.xml
@@ -5,6 +5,10 @@
<email>0xd34df00d@gmail.com</email>
<name>Georg Rudoy</name>
</maintainer>
+ <maintainer type="person" proxied="yes">
+ <email>cyber+gentoo@sysrq.in</email>
+ <name>Anna Vyalkova</name>
+ </maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
@@ -15,6 +19,7 @@
<remote-id type="github">qxmpp-project/qxmpp</remote-id>
</upstream>
<use>
+ <flag name="omemo">Enable OMEMO encryption</flag>
<flag name="vpx">Enable VP8 codec support via <pkg>media-libs/libvpx</pkg></flag>
</use>
</pkgmetadata>
diff --git a/net-libs/qxmpp/qxmpp-1.5.5.ebuild b/net-libs/qxmpp/qxmpp-1.5.5.ebuild
new file mode 100644
index 000000000000..8f2dfc6cee67
--- /dev/null
+++ b/net-libs/qxmpp/qxmpp-1.5.5.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="A cross-platform C++ XMPP client library based on the Qt framework"
+HOMEPAGE="https://github.com/qxmpp-project/qxmpp"
+SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gstreamer omemo test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtnetwork:5[ssl]
+ dev-qt/qtxml:5
+ gstreamer? ( media-libs/gstreamer )
+ omemo? (
+ app-crypt/qca:2[qt5(+)]
+ net-libs/libomemo-c
+ )
+"
+DEPEND="${RDEPEND}
+ test? ( dev-qt/qttest:5 )
+"
+BDEPEND="
+ doc? ( app-doc/doxygen )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_DOCUMENTATION=$(usex doc)
+ -DBUILD_EXAMPLES=OFF
+ -DBUILD_TESTS=$(usex test)
+ -DBUILD_INTERNAL_TESTS=$(usex test)
+ -DBUILD_OMEMO=$(usex omemo)
+ -DWITH_QCA=$(usex omemo)
+ -DWITH_GSTREAMER=$(usex gstreamer)
+ -DQT_VERSION_MAJOR=5
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ local myctestargs=(
+ # require network connection, bug #623708
+ -E "tst_(qxmpptransfermanager|qxmppiceconnection)"
+ )
+
+ cmake_src_test
+}