commit:     6638dbbfd2f72647ab87fc47994cd22411c1f3cc
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 31 18:54:58 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 31 20:34:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6638dbbf

net-libs/qxmpp: add 1.10.3

Bug: https://bugs.gentoo.org/951729
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-libs/qxmpp/Manifest            |  1 +
 net-libs/qxmpp/metadata.xml        | 16 +++++------
 net-libs/qxmpp/qxmpp-1.10.3.ebuild | 54 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 61 insertions(+), 10 deletions(-)

diff --git a/net-libs/qxmpp/Manifest b/net-libs/qxmpp/Manifest
index 1e706851fd12..cdc6be683eac 100644
--- a/net-libs/qxmpp/Manifest
+++ b/net-libs/qxmpp/Manifest
@@ -1 +1,2 @@
+DIST qxmpp-1.10.3.tar.xz 538976 BLAKE2B 
bcaf91cd6d7f56f5348b3742698a1ab823b14d6e42355fa6783ec1be41438027e512c3efb9c4554fe254fc42d995ab81518d8422beb663329d3c654140591d11
 SHA512 
64273fe5831d11d484e70a69cdfde042e87a58375c11d40d5883b1fa2006da84ffe2c480d201845bb5d521744ae5b624a8a0230a2bbc848a22a51b7d50e45977
 DIST qxmpp-1.9.4.tar.gz 725814 BLAKE2B 
435321095d0d1ae707000dd954aeaf73cf11192f516fc345d0911e1c5a7099d6217d5313499ae2a639d948d35af8f5fdd93faf7ac2484c6c66e5d0ca979d7251
 SHA512 
ae1620af13bc998406258c6997875fe2b5922c4318a9544879bed45b408ea9b585ee56b12c8db6dd04aa28e5bd327bf202a5ce2e47513144f1310fa3f054556f

diff --git a/net-libs/qxmpp/metadata.xml b/net-libs/qxmpp/metadata.xml
index c52c160e34ed..a375c5ecddb8 100644
--- a/net-libs/qxmpp/metadata.xml
+++ b/net-libs/qxmpp/metadata.xml
@@ -1,18 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-       <maintainer type="person" proxied="yes">
-               <email>[email protected]</email>
-               <name>Georg Rudoy</name>
-       </maintainer>
-       <maintainer type="project" proxied="proxy">
-               <email>[email protected]</email>
-               <name>Proxy Maintainers</name>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Gentoo KDE Project</name>
        </maintainer>
        <upstream>
-               <bugs-to>https://github.com/qxmpp-project/qxmpp/issues</bugs-to>
-               
<changelog>https://raw.githubusercontent.com/qxmpp-project/qxmpp/master/CHANGELOG.md</changelog>
-               <remote-id type="github">qxmpp-project/qxmpp</remote-id>
+               
<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>

diff --git a/net-libs/qxmpp/qxmpp-1.10.3.ebuild 
b/net-libs/qxmpp/qxmpp-1.10.3.ebuild
new file mode 100644
index 000000000000..734df82369ff
--- /dev/null
+++ b/net-libs/qxmpp/qxmpp-1.10.3.ebuild
@@ -0,0 +1,54 @@
+# 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";
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+       SRC_URI="mirror://kde/unstable/${PN}/${P}.tar.xz"
+       KEYWORDS="~amd64"
+fi
+
+LICENSE="LGPL-2.1 CC0-1.0"
+SLOT="0"
+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
+}

Reply via email to