Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/mumble/
Date: Wed, 10 Feb 2021 17:59:20
Message-Id: 1612979952.e55d156f26a8c3eb5c8be8cf3daabcc0648aeda2.polynomial-c@gentoo
1 commit: e55d156f26a8c3eb5c8be8cf3daabcc0648aeda2
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 10 17:51:34 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 10 17:59:12 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e55d156f
7
8 media-sound/mumble: Removed old
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 media-sound/mumble/Manifest | 2 -
14 media-sound/mumble/mumble-1.3.1-r1.ebuild | 161 ------------------------------
15 media-sound/mumble/mumble-1.3.2.ebuild | 161 ------------------------------
16 3 files changed, 324 deletions(-)
17
18 diff --git a/media-sound/mumble/Manifest b/media-sound/mumble/Manifest
19 index 60c5190a12f..2863c1c65da 100644
20 --- a/media-sound/mumble/Manifest
21 +++ b/media-sound/mumble/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST mumble-1.3.1.tar.gz 8587417 BLAKE2B e0ff9911727ce74035cef658ff8ce21bfab6dcfd94306abe4a206853a1b2e2e4ddc7215e757f89559c30be64df4329dffc81618a0509df2b281f5b5b59d7de2f SHA512 f622ae5e4f7cd00ef60d225ee6db3cc13fcae5fdc1b03252d17ad6a18156526517e7d019f796b5600219e90e8662d095102fc6d61033fb20fd109afdf427a6d7
24 -DIST mumble-1.3.2.tar.gz 8586828 BLAKE2B 38af4a0a2ab934388607745a2e31ea7310b7bc040bbe6ac32cc7128f2ac2949f5754090b6eaed3b0baaca6f76c42f004fdd093d88b8486d84187d063d01976e9 SHA512 22e23a682bc9c11420c6ae1d8ff01a80906ebbfb4f073ee25c6d2923d345d12031ddfeca3dabaaf5cf183b82b22eb3c788c88fa0f5313bc399e15795a945b874
25 DIST mumble-1.3.3.tar.gz 8591354 BLAKE2B e5bf4d0a21f3c9af761b0892c4a5a7d86244d3283070976fe7a779a10567ffd857e0c19dad750cdbae40d851ce1dcf17b66c63a2cb5142a13358af6f272445dd SHA512 be4c6d4de82a1059bf30d4c7e3c44e41e4bb50dc4a811b7d0def808c52059ff7bcccf65140db940f18cc1bb66d58ea4dab23ba5dcfae3b8b904866751f32edb3
26 DIST mumble-1.3.4.tar.gz 8592741 BLAKE2B bcde3fd859ec4faea06f996cd4c583af7c0b8409cca79cb05ef8ba7fcdeac9e49ed1d07a4131225dd582da7610190d4006abc731fd4276b2288e02e8c18effb6 SHA512 e2dde5aad30d1a931e7acd8d7db0b8c785d3a268d0b8cf5626fa03953a51bcadb719c6682c440d02524e83beee13d73d8f5bb3fdf98ab1c82d3ecf824cc25f68
27
28 diff --git a/media-sound/mumble/mumble-1.3.1-r1.ebuild b/media-sound/mumble/mumble-1.3.1-r1.ebuild
29 deleted file mode 100644
30 index c462111f112..00000000000
31 --- a/media-sound/mumble/mumble-1.3.1-r1.ebuild
32 +++ /dev/null
33 @@ -1,161 +0,0 @@
34 -# Copyright 1999-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -inherit desktop multilib-build qmake-utils xdg
40 -
41 -DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software"
42 -HOMEPAGE="https://wiki.mumble.info"
43 -if [[ "${PV}" == 9999 ]] ; then
44 - inherit git-r3
45 - EGIT_REPO_URI="https://github.com/mumble-voip/mumble.git"
46 - EGIT_SUBMODULES=( '-*' celt-0.7.0-src celt-0.11.0-src themes/Mumble 3rdparty/rnnoise-src )
47 -else
48 - if [[ "${PV}" == *_pre* ]] ; then
49 - SRC_URI="https://dev.gentoo.org/~polynomial-c/dist/${P}.tar.xz"
50 - else
51 - MY_PV="${PV/_/-}"
52 - MY_P="${PN}-${MY_PV}"
53 - SRC_URI="https://github.com/mumble-voip/mumble/releases/download/${MY_PV}/${MY_P}.tar.gz
54 - https://dl.mumble.info/${MY_P}.tar.gz"
55 - S="${WORKDIR}/${P/_*}"
56 - fi
57 - KEYWORDS="amd64 ~arm64 x86"
58 -fi
59 -
60 -LICENSE="BSD MIT"
61 -SLOT="0"
62 -IUSE="+alsa +dbus debug g15 jack libressl +opus oss pch portaudio pulseaudio +rnnoise speech zeroconf"
63 -
64 -RDEPEND="
65 - dev-qt/qtcore:5
66 - dev-qt/qtgui:5
67 - dev-qt/qtnetwork:5[ssl]
68 - dev-qt/qtsql:5[sqlite]
69 - dev-qt/qtsvg:5
70 - dev-qt/qtwidgets:5
71 - dev-qt/qtxml:5
72 - >=dev-libs/protobuf-2.2.0:=
73 - >=media-libs/libsndfile-1.0.20[-minimal]
74 - >=media-libs/speex-1.2.0
75 - media-libs/speexdsp
76 - sys-apps/lsb-release
77 - x11-libs/libX11
78 - x11-libs/libXi
79 - alsa? ( media-libs/alsa-lib )
80 - dbus? ( dev-qt/qtdbus:5 )
81 - g15? ( app-misc/g15daemon )
82 - jack? ( virtual/jack )
83 - !libressl? ( >=dev-libs/openssl-1.0.0b:0= )
84 - libressl? ( dev-libs/libressl )
85 - opus? ( >=media-libs/opus-1.0.1 )
86 - portaudio? ( media-libs/portaudio )
87 - pulseaudio? ( media-sound/pulseaudio )
88 - speech? ( >=app-accessibility/speech-dispatcher-0.8.0 )
89 - zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
90 -"
91 -DEPEND="${RDEPEND}
92 - >=dev-libs/boost-1.41.0
93 - x11-base/xorg-proto
94 -"
95 -BDEPEND="
96 - dev-qt/linguist-tools:5
97 - virtual/pkgconfig
98 -"
99 -
100 -# NB: qmake does not support multilib but it's fine to configure
101 -# for the native ABI here
102 -src_configure() {
103 - myuse() {
104 - [[ -n "${1}" ]] || die "myuse: No use option given"
105 - use ${1} || echo no-${1}
106 - }
107 -
108 - local conf_add=(
109 - bundled-celt
110 - no-bundled-opus
111 - no-bundled-speex
112 - no-embed-qt-translations
113 - no-server
114 - no-update
115 - $(myuse alsa)
116 - $(myuse dbus)
117 - $(usex debug 'symbols debug' release)
118 - $(myuse g15)
119 - $(usex jack '' no-jackaudio)
120 - $(myuse opus)
121 - $(myuse oss)
122 - $(myuse portaudio)
123 - $(myuse pulseaudio)
124 - $(myuse rnnoise)
125 - $(usex speech '' no-speechd)
126 - $(usex zeroconf '' no-bonjour)
127 - )
128 -
129 - use pch || conf_add+=( no-pch )
130 -
131 - eqmake5 "${S}/main.pro" -recursive \
132 - CONFIG+="${conf_add[*]}" \
133 - DEFINES+="PLUGIN_PATH=/usr/$(get_libdir)/mumble"
134 -}
135 -
136 -multilib_src_compile() {
137 - local emake_args=(
138 - # place libmumble* in a subdirectory
139 - DESTDIR_ADD="/${MULTILIB_ABI_FLAG}"
140 - {C,L}FLAGS_ADD="$(get_abi_CFLAGS)"
141 - )
142 - # build only overlay library for other ABIs
143 - multilib_is_native_abi || emake_args+=( -C overlay_gl )
144 - emake "${emake_args[@]}"
145 - emake clean
146 -}
147 -
148 -src_compile() {
149 - multilib_foreach_abi multilib_src_compile
150 -}
151 -
152 -multilib_src_install() {
153 - local dir=$(usex debug debug release)
154 - insinto /usr/$(get_libdir)/${PN}
155 - doins "${dir}/${MULTILIB_ABI_FLAG}"/libmumble.so*
156 - if multilib_is_native_abi; then
157 - dobin "${dir}"/mumble
158 - doins "${dir}"/libcelt0.so* "${dir}"/plugins/lib*.so*
159 - fi
160 -}
161 -
162 -src_install() {
163 - multilib_foreach_abi multilib_src_install
164 -
165 - newdoc README.Linux README
166 - dodoc CHANGES
167 - dobin scripts/mumble-overlay
168 -
169 - insinto /usr/share/services
170 - doins scripts/mumble.protocol
171 -
172 - domenu scripts/mumble.desktop
173 -
174 - doicon -s scalable icons/mumble.svg
175 -
176 - doman man/mumble-overlay.1
177 - doman man/mumble.1
178 -}
179 -
180 -pkg_preinst() {
181 - xdg_pkg_preinst
182 -}
183 -
184 -pkg_postinst() {
185 - xdg_pkg_postinst
186 - echo
187 - elog "Visit http://mumble.sourceforge.net/ for futher configuration instructions."
188 - elog "Run mumble-overlay to start the OpenGL overlay (after starting mumble)."
189 - echo
190 -}
191 -
192 -pkg_postrm() {
193 - xdg_pkg_postrm
194 -}
195
196 diff --git a/media-sound/mumble/mumble-1.3.2.ebuild b/media-sound/mumble/mumble-1.3.2.ebuild
197 deleted file mode 100644
198 index df7176498fd..00000000000
199 --- a/media-sound/mumble/mumble-1.3.2.ebuild
200 +++ /dev/null
201 @@ -1,161 +0,0 @@
202 -# Copyright 1999-2020 Gentoo Authors
203 -# Distributed under the terms of the GNU General Public License v2
204 -
205 -EAPI=7
206 -
207 -inherit desktop multilib-build qmake-utils xdg
208 -
209 -DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software"
210 -HOMEPAGE="https://wiki.mumble.info"
211 -if [[ "${PV}" == 9999 ]] ; then
212 - inherit git-r3
213 - EGIT_REPO_URI="https://github.com/mumble-voip/mumble.git"
214 - EGIT_SUBMODULES=( '-*' celt-0.7.0-src celt-0.11.0-src themes/Mumble 3rdparty/rnnoise-src )
215 -else
216 - if [[ "${PV}" == *_pre* ]] ; then
217 - SRC_URI="https://dev.gentoo.org/~polynomial-c/dist/${P}.tar.xz"
218 - else
219 - MY_PV="${PV/_/-}"
220 - MY_P="${PN}-${MY_PV}"
221 - SRC_URI="https://github.com/mumble-voip/mumble/releases/download/${MY_PV}/${MY_P}.tar.gz
222 - https://dl.mumble.info/${MY_P}.tar.gz"
223 - S="${WORKDIR}/${P/_*}"
224 - fi
225 - KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
226 -fi
227 -
228 -LICENSE="BSD MIT"
229 -SLOT="0"
230 -IUSE="+alsa +dbus debug g15 jack libressl +opus oss pch portaudio pulseaudio +rnnoise speech zeroconf"
231 -
232 -RDEPEND="
233 - dev-qt/qtcore:5
234 - dev-qt/qtgui:5
235 - dev-qt/qtnetwork:5[ssl]
236 - dev-qt/qtsql:5[sqlite]
237 - dev-qt/qtsvg:5
238 - dev-qt/qtwidgets:5
239 - dev-qt/qtxml:5
240 - >=dev-libs/protobuf-2.2.0:=
241 - >=media-libs/libsndfile-1.0.20[-minimal]
242 - >=media-libs/speex-1.2.0
243 - media-libs/speexdsp
244 - sys-apps/lsb-release
245 - x11-libs/libX11
246 - x11-libs/libXi
247 - alsa? ( media-libs/alsa-lib )
248 - dbus? ( dev-qt/qtdbus:5 )
249 - g15? ( app-misc/g15daemon )
250 - jack? ( virtual/jack )
251 - !libressl? ( >=dev-libs/openssl-1.0.0b:0= )
252 - libressl? ( dev-libs/libressl )
253 - opus? ( >=media-libs/opus-1.0.1 )
254 - portaudio? ( media-libs/portaudio )
255 - pulseaudio? ( media-sound/pulseaudio )
256 - speech? ( >=app-accessibility/speech-dispatcher-0.8.0 )
257 - zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
258 -"
259 -DEPEND="${RDEPEND}
260 - >=dev-libs/boost-1.41.0
261 - x11-base/xorg-proto
262 -"
263 -BDEPEND="
264 - dev-qt/linguist-tools:5
265 - virtual/pkgconfig
266 -"
267 -
268 -# NB: qmake does not support multilib but it's fine to configure
269 -# for the native ABI here
270 -src_configure() {
271 - myuse() {
272 - [[ -n "${1}" ]] || die "myuse: No use option given"
273 - use ${1} || echo no-${1}
274 - }
275 -
276 - local conf_add=(
277 - bundled-celt
278 - no-bundled-opus
279 - no-bundled-speex
280 - no-embed-qt-translations
281 - no-server
282 - no-update
283 - $(myuse alsa)
284 - $(myuse dbus)
285 - $(usex debug 'symbols debug' release)
286 - $(myuse g15)
287 - $(usex jack '' no-jackaudio)
288 - $(myuse opus)
289 - $(myuse oss)
290 - $(myuse portaudio)
291 - $(myuse pulseaudio)
292 - $(myuse rnnoise)
293 - $(usex speech '' no-speechd)
294 - $(usex zeroconf '' no-bonjour)
295 - )
296 -
297 - use pch || conf_add+=( no-pch )
298 -
299 - eqmake5 "${S}/main.pro" -recursive \
300 - CONFIG+="${conf_add[*]}" \
301 - DEFINES+="PLUGIN_PATH=/usr/$(get_libdir)/mumble"
302 -}
303 -
304 -multilib_src_compile() {
305 - local emake_args=(
306 - # place libmumble* in a subdirectory
307 - DESTDIR_ADD="/${MULTILIB_ABI_FLAG}"
308 - {C,L}FLAGS_ADD="$(get_abi_CFLAGS)"
309 - )
310 - # build only overlay library for other ABIs
311 - multilib_is_native_abi || emake_args+=( -C overlay_gl )
312 - emake "${emake_args[@]}"
313 - emake clean
314 -}
315 -
316 -src_compile() {
317 - multilib_foreach_abi multilib_src_compile
318 -}
319 -
320 -multilib_src_install() {
321 - local dir=$(usex debug debug release)
322 - insinto /usr/$(get_libdir)/${PN}
323 - doins "${dir}/${MULTILIB_ABI_FLAG}"/libmumble.so*
324 - if multilib_is_native_abi; then
325 - dobin "${dir}"/mumble
326 - doins "${dir}"/libcelt0.so* "${dir}"/plugins/lib*.so*
327 - fi
328 -}
329 -
330 -src_install() {
331 - multilib_foreach_abi multilib_src_install
332 -
333 - newdoc README.Linux README
334 - dodoc CHANGES
335 - dobin scripts/mumble-overlay
336 -
337 - insinto /usr/share/services
338 - doins scripts/mumble.protocol
339 -
340 - domenu scripts/mumble.desktop
341 -
342 - doicon -s scalable icons/mumble.svg
343 -
344 - doman man/mumble-overlay.1
345 - doman man/mumble.1
346 -}
347 -
348 -pkg_preinst() {
349 - xdg_pkg_preinst
350 -}
351 -
352 -pkg_postinst() {
353 - xdg_pkg_postinst
354 - echo
355 - elog "Visit https://wiki.mumble.info/ for futher configuration instructions."
356 - elog "Run mumble-overlay to start the OpenGL overlay (after starting mumble)."
357 - echo
358 -}
359 -
360 -pkg_postrm() {
361 - xdg_pkg_postrm
362 -}