diff options
Diffstat (limited to 'net-libs/qxmpp/qxmpp-9999.ebuild')
| -rw-r--r-- | net-libs/qxmpp/qxmpp-9999.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/net-libs/qxmpp/qxmpp-9999.ebuild b/net-libs/qxmpp/qxmpp-9999.ebuild new file mode 100644 index 00000000000..8adc26909f6 --- /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 +} |
