* [gentoo-commits] proj/kde:master commit in: net-libs/qxmpp/
@ 2025-03-21 21:16 Andreas Sturmlechner
0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2025-03-21 21:16 UTC (permalink / raw
To: gentoo-commits
commit: 5b66ee5670d113494efcedc64a64b2e8aa4a4afd
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 21 21:15:09 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Mar 21 21:16:03 2025 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=5b66ee56
net-libs/qxmpp: new package, add 9999
Bug: https://bugs.gentoo.org/951729
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
net-libs/qxmpp/metadata.xml | 16 +++++++++++++
net-libs/qxmpp/qxmpp-9999.ebuild | 50 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
diff --git a/net-libs/qxmpp/metadata.xml b/net-libs/qxmpp/metadata.xml
new file mode 100644
index 0000000000..a375c5ecdd
--- /dev/null
+++ b/net-libs/qxmpp/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://invent.kde.org/libraries/qxmpp/-/issues</bugs-to>
+ <changelog>https://invent.kde.org/libraries/qxmpp/-/blob/master/CHANGELOG.md?ref_type=heads</changelog>
+ <remote-id type="kde-invent">libraries/qxmpp</remote-id>
+ </upstream>
+ <use>
+ <flag name="omemo">Enable OMEMO encryption</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-libs/qxmpp/qxmpp-9999.ebuild b/net-libs/qxmpp/qxmpp-9999.ebuild
new file mode 100644
index 0000000000..8adc26909f
--- /dev/null
+++ b/net-libs/qxmpp/qxmpp-9999.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake kde.org
+
+DESCRIPTION="Cross-platform C++ XMPP client and server library"
+HOMEPAGE="https://invent.kde.org/libraries/qxmpp"
+
+LICENSE="LGPL-2.1 CC0-1.0"
+SLOT="0"
+KEYWORDS=""
+IUSE="doc gstreamer omemo test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-qt/qtbase:6[network,ssl,xml]
+ dev-qt/qt5compat:6
+ gstreamer? ( media-libs/gstreamer )
+ omemo? (
+ app-crypt/qca:2[qt6(+)]
+ net-libs/libomemo-c
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( app-text/doxygen )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DQT_VERSION_MAJOR=6
+ -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)
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ local CMAKE_SKIP_TESTS=(
+ # require network connection, bug #623708
+ tst_qxmpptransfermanager
+ tst_qxmppiceconnection
+ )
+ cmake_src_test
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-03-21 21:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-21 21:16 [gentoo-commits] proj/kde:master commit in: net-libs/qxmpp/ Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox