Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/qxmpp/
Date: Thu, 22 Feb 2018 09:14:26
Message-Id: 1519290851.be73dc1b65daa2de32694c7f0cce4d79c740c0b9.kensington@gentoo
1 commit: be73dc1b65daa2de32694c7f0cce4d79c740c0b9
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 22 09:09:18 2018 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 22 09:14:11 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be73dc1b
7
8 net-libs/qxmpp: remove 0.8.0 and 0.9.3-r1
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 net-libs/qxmpp/Manifest | 1 -
13 net-libs/qxmpp/qxmpp-0.8.0.ebuild | 59 -----------------------------
14 net-libs/qxmpp/qxmpp-0.9.3-r1.ebuild | 73 ------------------------------------
15 3 files changed, 133 deletions(-)
16
17 diff --git a/net-libs/qxmpp/Manifest b/net-libs/qxmpp/Manifest
18 index 30dd39d7f6d..8ba7504729d 100644
19 --- a/net-libs/qxmpp/Manifest
20 +++ b/net-libs/qxmpp/Manifest
21 @@ -1,2 +1 @@
22 -DIST qxmpp-0.8.0.tar.gz 1115730 BLAKE2B 57ca5d5a9f2ce625e78572ef52210defbcdab8da69cd785f14f41e155c4239213b4d70855cb18b9c3389c679469a194e2425ff3ad0084fd31aaab871b65c45ec SHA512 b4e3afa9a4ffdc03d2baf9660986d0cf4de5c2c7d1518ad83cd9b252ff7822da66d9356eab49ce9bd642884a41ec3b72f8d4e2cda964a9276d525d4895c6165f
23 DIST qxmpp-0.9.3.tar.gz 300764 BLAKE2B a98d9bd9ab9c84ce6ac90722cd1f1b1609d345daa0b4e690e44b845408753b006261b293898bf419bea011005558584de24090ac1c8809845ec6f8a5c8bb05b1 SHA512 c6ada4398468b9ce84955ab3a1ca155afe3098dfe39dc952c3675be1a1e3a4f118f8b1e251567bc124faa645d2654252d3e32d94e21aae79547056a10a2d6a71
24
25 diff --git a/net-libs/qxmpp/qxmpp-0.8.0.ebuild b/net-libs/qxmpp/qxmpp-0.8.0.ebuild
26 deleted file mode 100644
27 index 9e4bdbb2bb2..00000000000
28 --- a/net-libs/qxmpp/qxmpp-0.8.0.ebuild
29 +++ /dev/null
30 @@ -1,59 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=5
35 -
36 -inherit qt4-r2 multilib
37 -
38 -DESCRIPTION="A cross-platform C++ XMPP client library based on the Qt framework"
39 -HOMEPAGE="https://code.google.com/p/qxmpp/"
40 -SRC_URI="http://download.qxmpp.org/${P}.tar.gz"
41 -
42 -LICENSE="LGPL-2.1"
43 -SLOT="0"
44 -KEYWORDS="amd64 x86 ~amd64-linux"
45 -IUSE="debug doc +speex test theora vpx"
46 -
47 -RDEPEND="dev-qt/qtcore:4
48 - speex? ( media-libs/speex )
49 - theora? ( media-libs/libtheora )
50 - vpx? ( media-libs/libvpx )"
51 -DEPEND="${RDEPEND}
52 - test? ( dev-qt/qttest:4 )"
53 -
54 -src_prepare(){
55 - if ! use doc; then
56 - sed -i \
57 - -e '/SUBDIRS/s/doc//' \
58 - -e '/INSTALLS/d' \
59 - qxmpp.pro || die "sed for removing docs failed"
60 - fi
61 - if ! use test; then
62 - sed -i -e '/SUBDIRS/s/tests//' \
63 - qxmpp.pro || die "sed for removing tests failed"
64 - fi
65 - # There is no point in building examples. Also, they require dev-qt/qtgui
66 - sed -i -e '/SUBDIRS/s/examples//' \
67 - qxmpp.pro || die "sed for removing examples failed"
68 - qt4-r2_src_prepare
69 -}
70 -
71 -src_configure(){
72 - local conf_speex
73 - local conf_theora
74 - local conf_vpx
75 -
76 - use speex && conf_speex="QXMPP_USE_SPEEX=1"
77 - use theora && conf_theora="QXMPP_USE_THEORA=1"
78 - use vpx && conf_vpx="QXMPP_USE_VPX=1"
79 -
80 - eqmake4 "${S}"/qxmpp.pro "PREFIX=${EPREFIX}/usr" "LIBDIR=$(get_libdir)" "${conf_speex}" "${conf_theora}" "${conf_vpx}"
81 -}
82 -
83 -src_install() {
84 - qt4-r2_src_install
85 - if use doc; then
86 - # Use proper path for documentation
87 - mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die "doc mv failed"
88 - fi
89 -}
90
91 diff --git a/net-libs/qxmpp/qxmpp-0.9.3-r1.ebuild b/net-libs/qxmpp/qxmpp-0.9.3-r1.ebuild
92 deleted file mode 100644
93 index 39351093613..00000000000
94 --- a/net-libs/qxmpp/qxmpp-0.9.3-r1.ebuild
95 +++ /dev/null
96 @@ -1,73 +0,0 @@
97 -# Copyright 1999-2018 Gentoo Foundation
98 -# Distributed under the terms of the GNU General Public License v2
99 -
100 -EAPI=6
101 -
102 -inherit qmake-utils
103 -
104 -DESCRIPTION="A cross-platform C++ XMPP client library based on the Qt framework"
105 -HOMEPAGE="https://github.com/qxmpp-project/qxmpp/"
106 -SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
107 -
108 -LICENSE="LGPL-2.1"
109 -SLOT="0"
110 -KEYWORDS="~amd64 x86 ~amd64-linux"
111 -IUSE="debug doc opus +speex test theora vpx"
112 -
113 -RDEPEND="
114 - dev-qt/qtcore:5
115 - dev-qt/qtnetwork:5[ssl]
116 - dev-qt/qtxml:5
117 - opus? ( media-libs/opus )
118 - speex? ( media-libs/speex )
119 - theora? ( media-libs/libtheora )
120 - vpx? ( media-libs/libvpx )
121 -"
122 -DEPEND="${RDEPEND}
123 - test? ( dev-qt/qttest:5 )
124 -"
125 -
126 -src_prepare() {
127 - default
128 -
129 - if ! use doc; then
130 - sed -e '/SUBDIRS/s/doc//' \
131 - -e '/INSTALLS/d' \
132 - -i qxmpp.pro || die "failed to remove docs"
133 - fi
134 - if ! use test; then
135 - sed -e '/SUBDIRS/s/tests//' \
136 - -i qxmpp.pro || die "failed to remove tests"
137 - else
138 - # requires network connection, bug #623708
139 - sed -e "/qxmppiceconnection/d" \
140 - -i tests/tests.pro || die "failed to drop single test"
141 - fi
142 - # There is no point in building examples. Also, they require dev-qt/qtgui
143 - sed -e '/SUBDIRS/s/examples//' \
144 - -i qxmpp.pro || die "sed for removing examples failed"
145 -}
146 -
147 -src_configure() {
148 - eqmake5 "${S}"/qxmpp.pro \
149 - PREFIX="${EPREFIX}/usr" \
150 - LIBDIR="$(get_libdir)" \
151 - QXMPP_USE_OPUS=$(usex opus 1 0) \
152 - QXMPP_USE_SPEEX=$(usex speex 1 0) \
153 - QXMPP_USE_THEORA=$(usex theora 1 0) \
154 - QXMPP_USE_VPX=$(usex vpx 1 0)
155 -}
156 -
157 -src_install() {
158 - emake INSTALL_ROOT="${D}" install
159 - einstalldocs
160 - if use doc; then
161 - # Use proper path for documentation
162 - mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die "doc mv failed"
163 - fi
164 -}
165 -
166 -src_test() {
167 - MAKEOPTS="-j1" # random tests fail otherwise
168 - default_src_test
169 -}