Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/qxmpp/
Date: Tue, 10 Mar 2020 20:45:07
Message-Id: 1583873087.28bdaa99c48bce0ceb44d1052add81fa576b2dae.asturm@gentoo
1 commit: 28bdaa99c48bce0ceb44d1052add81fa576b2dae
2 Author: 0xd34df00d <0xd34df00d <AT> gmail <DOT> com>
3 AuthorDate: Tue Mar 10 19:29:16 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 10 20:44:47 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28bdaa99
7
8 net-libs/qxmpp: update the 9999 ebuild
9
10 * EAPI 7
11 * `cmake` eclass instead of `cmake-utils`
12 * minor fixes to mirror the ones for the versioned ebuilds
13
14 Package-Manager: Portage-2.3.93, Repoman-2.3.20
15 Signed-off-by: Georg Rudoy <0xd34df00d <AT> gmail.com>
16 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
17
18 net-libs/qxmpp/qxmpp-9999.ebuild | 36 ++++++++++++++++--------------------
19 1 file changed, 16 insertions(+), 20 deletions(-)
20
21 diff --git a/net-libs/qxmpp/qxmpp-9999.ebuild b/net-libs/qxmpp/qxmpp-9999.ebuild
22 index b1973ffc3cc..453364d6055 100644
23 --- a/net-libs/qxmpp/qxmpp-9999.ebuild
24 +++ b/net-libs/qxmpp/qxmpp-9999.ebuild
25 @@ -1,14 +1,13 @@
26 -# Copyright 1999-2019 Gentoo Authors
27 +# Copyright 1999-2020 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 -EAPI=6
31 +EAPI=7
32
33 -EGIT_REPO_URI="https://github.com/qxmpp-project/qxmpp"
34 -
35 -inherit git-r3 cmake-utils
36 +inherit git-r3 cmake
37
38 DESCRIPTION="A cross-platform C++ XMPP client library based on the Qt framework"
39 HOMEPAGE="https://github.com/qxmpp-project/qxmpp/"
40 +EGIT_REPO_URI="https://github.com/qxmpp-project/qxmpp"
41
42 LICENSE="LGPL-2.1"
43 SLOT="0"
44 @@ -26,17 +25,22 @@ RDEPEND="
45 vpx? ( media-libs/libvpx:= )
46 "
47 DEPEND="${RDEPEND}
48 - dev-util/cmake
49 test? ( dev-qt/qttest:5 )
50 +"
51 +BDEPEND="
52 doc? ( app-doc/doxygen )
53 "
54
55 src_prepare() {
56 # requires network connection, bug #623708
57 - sed -e "/qxmppiceconnection/d" \
58 - -i tests/CMakeLists.txt || die "failed to drop single test"
59 -
60 - cmake-utils_src_prepare
61 + sed \
62 + -e "/qxmppiceconnection/d" \
63 + -e "/qxmppserver/d" \
64 + -e "/qxmpptransfermanager/d" \
65 + -i tests/CMakeLists.txt \
66 + || die "failed to drop certain network tests"
67 +
68 + cmake_src_prepare
69 }
70
71 src_configure() {
72 @@ -44,20 +48,12 @@ src_configure() {
73 -DBUILD_DOCUMENTATION=$(usex doc)
74 -DBUILD_EXAMPLES=OFF
75 -DBUILD_TESTS=$(usex test)
76 + -DBUILD_INTERNAL_TESTS=$(usex test)
77 -DWITH_OPUS=$(usex opus)
78 -DWITH_SPEEX=$(usex speex)
79 -DWITH_THEORA=$(usex theora)
80 -DWITH_VPX=$(usex vpx)
81 )
82
83 - cmake-utils_src_configure
84 -}
85 -
86 -src_install() {
87 - cmake-utils_src_install
88 -
89 - if use doc; then
90 - # Use proper path for documentation
91 - mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die "doc mv failed"
92 - fi
93 + cmake_src_configure
94 }