Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/qxmpp/
Date: Sun, 30 May 2021 12:07:36
Message-Id: 1622376445.ceebc37c5764d986ad69b11feb7abfd272985f4f.juippis@gentoo
1 commit: ceebc37c5764d986ad69b11feb7abfd272985f4f
2 Author: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
3 AuthorDate: Sun May 30 12:05:47 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun May 30 12:07:25 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceebc37c
7
8 net-libs/qxmpp: bump to 1.4.0
9
10 Closes: https://bugs.gentoo.org/792912
11 Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 net-libs/qxmpp/Manifest | 1 +
15 net-libs/qxmpp/qxmpp-1.4.0.ebuild | 53 +++++++++++++++++++++++++++++++++++++++
16 2 files changed, 54 insertions(+)
17
18 diff --git a/net-libs/qxmpp/Manifest b/net-libs/qxmpp/Manifest
19 index 0af57881fe6..44eeca3bc7c 100644
20 --- a/net-libs/qxmpp/Manifest
21 +++ b/net-libs/qxmpp/Manifest
22 @@ -1 +1,2 @@
23 DIST qxmpp-1.2.0.tar.gz 310801 BLAKE2B a3d1c708fe33e6ecd226e867fc030c6cddb5009c90db46544a0081e1198f69b609239304f56aec00c7b399e7f74fa9bed82eb38db3439e092719a7a68b440a14 SHA512 9b9541dd2ffc689877969bdd1063e7ab21761e5feb7bf911acba3b0a0d953199b8bc08a1ad8c2031b0e135af7a127cbbc108bb3e8dbf1b7712ab8dc8f4cbd371
24 +DIST qxmpp-1.4.0.tar.gz 313356 BLAKE2B a3a5c5cf3b16c319a6eddb3808f22af946040945eb8e66a641fe3117217b04eaf4e2b88dab8fa9cd2a3034d54884e1fa3563b0e775660645a5bdd6045469f9a5 SHA512 5a0cb72899314e47846b8b47340738df20a8d198c2db8cfe38c2cc31615166e9d86c6aaf6931be16078b2f9decca2d767497ad32e1d6dd0f6af888406c33fee9
25
26 diff --git a/net-libs/qxmpp/qxmpp-1.4.0.ebuild b/net-libs/qxmpp/qxmpp-1.4.0.ebuild
27 new file mode 100644
28 index 00000000000..74b3aa3678f
29 --- /dev/null
30 +++ b/net-libs/qxmpp/qxmpp-1.4.0.ebuild
31 @@ -0,0 +1,53 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit cmake
38 +
39 +DESCRIPTION="A cross-platform C++ XMPP client library based on the Qt framework"
40 +HOMEPAGE="https://github.com/qxmpp-project/qxmpp/"
41 +SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="LGPL-2.1"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="debug doc gstreamer test"
47 +RESTRICT="!test? ( test )"
48 +
49 +RDEPEND="
50 + dev-qt/qtcore:5
51 + dev-qt/qtnetwork:5[ssl]
52 + dev-qt/qtxml:5
53 + gstreamer? ( media-libs/gstreamer )
54 +"
55 +DEPEND="${RDEPEND}
56 + test? ( dev-qt/qttest:5 )
57 +"
58 +BDEPEND="
59 + doc? ( app-doc/doxygen )
60 +"
61 +
62 +src_prepare() {
63 + # requires network connection, bug #623708
64 + sed \
65 + -e "/qxmppiceconnection/d" \
66 + -e "/qxmppserver/d" \
67 + -e "/qxmpptransfermanager/d" \
68 + -i tests/CMakeLists.txt \
69 + || die "failed to drop certain network tests"
70 +
71 + cmake_src_prepare
72 +}
73 +
74 +src_configure() {
75 + local mycmakeargs=(
76 + -DBUILD_DOCUMENTATION=$(usex doc)
77 + -DBUILD_EXAMPLES=OFF
78 + -DBUILD_TESTS=$(usex test)
79 + -DBUILD_INTERNAL_TESTS=$(usex test)
80 + -DWITH_GSTREAMER=$(usex gstreamer)
81 + )
82 +
83 + cmake_src_configure
84 +}