Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/live/, media-plugins/live/files/
Date: Sun, 15 Jul 2018 12:17:23
Message-Id: 1531656949.964bbf4ec800cc42c2e0366902547290036a3850.asturm@gentoo
1 commit: 964bbf4ec800cc42c2e0366902547290036a3850
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 14 15:25:51 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 15 12:15:49 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=964bbf4e
7
8 media-plugins/live: Drop old
9
10 Bug: https://bugs.gentoo.org/648068
11 Package-Manager: Portage-2.3.41, Repoman-2.3.9
12
13 media-plugins/live/Manifest | 5 --
14 media-plugins/live/files/config.gentoo | 17 ----
15 media-plugins/live/files/config.gentoo-so-r1 | 17 ----
16 media-plugins/live/live-2017.01.26.ebuild | 128 ---------------------------
17 media-plugins/live/live-2017.05.24.ebuild | 128 ---------------------------
18 media-plugins/live/live-2017.06.04.ebuild | 128 ---------------------------
19 media-plugins/live/live-2017.07.18.ebuild | 128 ---------------------------
20 media-plugins/live/live-2017.09.12.ebuild | 128 ---------------------------
21 8 files changed, 679 deletions(-)
22
23 diff --git a/media-plugins/live/Manifest b/media-plugins/live/Manifest
24 index 58aec57ed77..61165678398 100644
25 --- a/media-plugins/live/Manifest
26 +++ b/media-plugins/live/Manifest
27 @@ -1,7 +1,2 @@
28 -DIST live.2017.01.26.tar.gz 629183 BLAKE2B 43cdbfff53990c128620cb3fcd1e55bc5571dd331ff5359b0c971b82cfdc65623aeb453410d8cc5cbe44517dce2b4dd6a846b295387c92d7c22895f9f611ef06 SHA512 2123d78c18cb2a0f522450aa426beceefe7f70b659ec9c9f04045cbde8e53a927b7909172a42da3967be73989b16f444f02e0b70dab671d4c75e567d8939ad23
29 -DIST live.2017.05.24.tar.gz 629181 BLAKE2B 2cf6218777991fe68b10f130f04691cc98a4e7c11dcfe7f79144bbae62716afba1f3b504fbeadadee7af8d64e2715fd62a7be8b38637a52c71b0cff511747304 SHA512 d00d87d4e011f1c100331e517f2939fe85e25d0920b9418d66c4f9254b2441c569ef7c3ece05123132f3dc44da595a62f57f0840ca33e40c48c2b193bc44b01b
30 -DIST live.2017.06.04.tar.gz 629288 BLAKE2B df2e99ab348b92de1b3ac60b53e9f80a41a8307160f78b5bc8f97385210a4b45f0b4bb9359a3b1574880b6d15a09506aa654100ca5360041c3ac31e9c9698687 SHA512 89eb3854c2ef7d0a1f443b4ca46c66040dfcc586ffd1e3e08c1b9e831eae6ade1c16e628c0ed0e7804c4e7430993f662e3fe8df2f09903024153d188276c3088
31 -DIST live.2017.07.18.tar.gz 629395 BLAKE2B 79a7a31b65d6a116ab36f6f9c590df0957ce84810cb4ac6ae101ae6185bbe80cbbea68a45a0119cb2acb75f7f7647b4f4006449e82b5f02b597f3048bf322d58 SHA512 49e164203a73a94629e66fcf48fde5f937b2c4724a0d4026b1970a8118039ce5cec393b777dea7439c09d3b0789f9f9d7f6f8a5328c4a3dd78a95e05b6525586
32 -DIST live.2017.09.12.tar.gz 629538 BLAKE2B 6f2b08d6b73a287663ec2c40faa7ff8b955aea7ca261d3eec69d85ea77f26ee951d14c3aedac48d84be0bdaafccc7a721d83974ce0fc8693aecc63984f377fbe SHA512 09b18b5f5dce28519b6c7cd8d52eb3448711939df051f84c8d6dce0b88d05c982711059f2ce13efccd326b2dbfeb93b88c4e03fe4a88bbd8fcefcb25e51d107d
33 DIST live.2017.10.28.tar.gz 629858 BLAKE2B a1d862ae1356b46fcd4e5ef7e27c47d3fb3abac35add6feb7955f60ddbd93e9242a84102393de67dda0d39c09632a0cc9a5f54d30c9f91d005696d3a566258bd SHA512 eea5bdb8d89e76c8b6aeb6ec04b77af3048cb41f228d230ba4da6045e9bc691a456023d44d8650fe690b08143567ed5af5b633f5b6522debff79344a813dc7d0
34 DIST live.2018.01.29.tar.gz 630144 BLAKE2B dd58865636a44ccabd0e3b02e1679393f17fb09d82455188d49d4fcb321b21e136a168c0f4c407c1dba3afcb5b541192cd2c5181d7a7710d39d4727526fc39cf SHA512 dfdfcac67acd28f651807de423c6aed00190cfc38ecd361b76d37d8cc27ee2fa91a42a5b8835045680fd7f65c847e41747b948c2c71e6530a3c7e89421c60227
35
36 diff --git a/media-plugins/live/files/config.gentoo b/media-plugins/live/files/config.gentoo
37 deleted file mode 100644
38 index b19d17552aa..00000000000
39 --- a/media-plugins/live/files/config.gentoo
40 +++ /dev/null
41 @@ -1,17 +0,0 @@
42 -COMPILE_OPTS = $(INCLUDES) -I. -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
43 -C = c
44 -C_COMPILER = $(CC)
45 -C_FLAGS = $(COMPILE_OPTS) $(CFLAGS)
46 -CPP = cpp
47 -CPLUSPLUS_COMPILER = $(CXX)
48 -CPLUSPLUS_FLAGS = $(COMPILE_OPTS) $(CXXFLAGS)
49 -OBJ = o
50 -LINK = $(CXX) -o
51 -LINK_OPTS = -L.
52 -CONSOLE_LINK_OPTS = $(LINK_OPTS)
53 -LIBRARY_LINK = $(LD) -o
54 -LIBRARY_LINK_OPTS = $(LINK_OPTS) -r -Bstatic
55 -LIB_SUFFIX = a
56 -LIBS_FOR_CONSOLE_APPLICATION =
57 -LIBS_FOR_GUI_APPLICATION =
58 -EXE =
59
60 diff --git a/media-plugins/live/files/config.gentoo-so-r1 b/media-plugins/live/files/config.gentoo-so-r1
61 deleted file mode 100644
62 index 76a60355734..00000000000
63 --- a/media-plugins/live/files/config.gentoo-so-r1
64 +++ /dev/null
65 @@ -1,17 +0,0 @@
66 -COMPILE_OPTS = $(INCLUDES) -I. -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
67 -C = c
68 -C_COMPILER = $(CC)
69 -C_FLAGS = $(COMPILE_OPTS) -fPIC $(CFLAGS)
70 -CPP = cpp
71 -CPLUSPLUS_COMPILER = $(CXX)
72 -CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -fPIC $(CXXFLAGS)
73 -OBJ = o
74 -LINK = $(CXX) -o
75 -LINK_OPTS = -L.
76 -CONSOLE_LINK_OPTS = $(LINK_OPTS)
77 -LIBRARY_LINK = $(CXX) -o
78 -LIBRARY_LINK_OPTS = $(LINK_OPTS) -shared -Wl,-soname,$@
79 -LIB_SUFFIX = so
80 -LIBS_FOR_CONSOLE_APPLICATION =
81 -LIBS_FOR_GUI_APPLICATION =
82 -EXE =
83
84 diff --git a/media-plugins/live/live-2017.01.26.ebuild b/media-plugins/live/live-2017.01.26.ebuild
85 deleted file mode 100644
86 index d73d48a4abb..00000000000
87 --- a/media-plugins/live/live-2017.01.26.ebuild
88 +++ /dev/null
89 @@ -1,128 +0,0 @@
90 -# Copyright 1999-2017 Gentoo Foundation
91 -# Distributed under the terms of the GNU General Public License v2
92 -
93 -EAPI=5
94 -inherit flag-o-matic eutils toolchain-funcs multilib multilib-minimal
95 -
96 -DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming"
97 -HOMEPAGE="http://www.live555.com/"
98 -SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz
99 - mirror://gentoo/${P/-/.}.tar.gz"
100 -
101 -LICENSE="LGPL-2.1"
102 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
103 -IUSE="examples static-libs"
104 -DOCS=( "live-shared/README" )
105 -
106 -# Alexis Ballier <aballier@g.o>
107 -# Be careful, bump this everytime you bump the package and the ABI has changed.
108 -# If you don't know, ask someone.
109 -LIVE_ABI_VERSION=7
110 -SLOT="0/${LIVE_ABI_VERSION}"
111 -
112 -src_unpack() {
113 - unpack ${A}
114 - mkdir -p "${S}"
115 - mv "${WORKDIR}/live" "${S}/" || die
116 -}
117 -
118 -src_prepare() {
119 - epatch "${FILESDIR}/${PN}-recursive3.patch"
120 -
121 - if use static-libs ; then
122 - cp -pPR live live-shared
123 - mv live live-static
124 - else
125 - mv live live-shared
126 - fi
127 -
128 - use static-libs && cp "${FILESDIR}/config.gentoo" live-static
129 - cp "${FILESDIR}/config.gentoo-so-r1" live-shared
130 -
131 - case ${CHOST} in
132 - *-solaris*)
133 - use static-libs && { sed -i \
134 - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \
135 - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \
136 - live-static/config.gentoo \
137 - || die ; }
138 - sed -i \
139 - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \
140 - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \
141 - live-shared/config.gentoo-so-r1 \
142 - || die
143 - ;;
144 - *-darwin*)
145 - use static-libs && { sed -i \
146 - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \
147 - -e '/^LINK /s/$/ /' \
148 - -e '/^LIBRARY_LINK /s/$/ /' \
149 - -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \
150 - live-static/config.gentoo \
151 - || die static ; }
152 - sed -i \
153 - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \
154 - -e '/^LINK /s/$/ /' \
155 - -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \
156 - -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \
157 - -e '/^LIB_SUFFIX /s/so/dylib/' \
158 - live-shared/config.gentoo-so-r1 \
159 - || die shared
160 - ;;
161 - esac
162 - multilib_copy_sources
163 -}
164 -
165 -src_configure() { :; }
166 -
167 -multilib_src_compile() {
168 - tc-export CC CXX LD
169 -
170 - if use static-libs ; then
171 - cd "${BUILD_DIR}/live-static"
172 -
173 - einfo "Beginning static library build"
174 - ./genMakefiles gentoo
175 - emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries"
176 - fi
177 -
178 - cd "${BUILD_DIR}/live-shared"
179 - einfo "Beginning shared library build"
180 - ./genMakefiles gentoo-so-r1
181 - local suffix=$(get_libname ${LIVE_ABI_VERSION})
182 - emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries"
183 -
184 - for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do
185 - pushd "${BUILD_DIR}/live-shared/${i}" > /dev/null
186 - ln -s lib${i}.${suffix#.} lib${i}$(get_libname) || die
187 - popd > /dev/null
188 - done
189 -
190 - if multilib_is_native_abi; then
191 - einfo "Beginning programs build"
192 - for i in $(use examples && echo "testProgs") proxyServer mediaServer ; do
193 - cd "${BUILD_DIR}/live-shared/${i}"
194 - emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs"
195 - done
196 - fi
197 -}
198 -
199 -multilib_src_install() {
200 - for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do
201 - use static-libs && dolib.a live-static/${library}/lib${library}.a
202 - dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION})
203 - dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname)
204 -
205 - insinto /usr/include/${library}
206 - doins live-shared/${library}/include/*h
207 - done
208 -
209 - if multilib_is_native_abi; then
210 - # Should we really install these?
211 - use examples && find live-shared/testProgs -type f -perm 755 -print0 | \
212 - xargs -0 dobin
213 -
214 - dobin live-shared/mediaServer/live555MediaServer
215 - dobin live-shared/proxyServer/live555ProxyServer
216 - fi
217 -}
218
219 diff --git a/media-plugins/live/live-2017.05.24.ebuild b/media-plugins/live/live-2017.05.24.ebuild
220 deleted file mode 100644
221 index 22ccb8b6eb6..00000000000
222 --- a/media-plugins/live/live-2017.05.24.ebuild
223 +++ /dev/null
224 @@ -1,128 +0,0 @@
225 -# Copyright 1999-2017 Gentoo Foundation
226 -# Distributed under the terms of the GNU General Public License v2
227 -
228 -EAPI=5
229 -inherit flag-o-matic eutils toolchain-funcs multilib multilib-minimal
230 -
231 -DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming"
232 -HOMEPAGE="http://www.live555.com/"
233 -SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz
234 - mirror://gentoo/${P/-/.}.tar.gz"
235 -
236 -LICENSE="LGPL-2.1"
237 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
238 -IUSE="examples static-libs"
239 -DOCS=( "live-shared/README" )
240 -
241 -# Alexis Ballier <aballier@g.o>
242 -# Be careful, bump this everytime you bump the package and the ABI has changed.
243 -# If you don't know, ask someone.
244 -LIVE_ABI_VERSION=7
245 -SLOT="0/${LIVE_ABI_VERSION}"
246 -
247 -src_unpack() {
248 - unpack ${A}
249 - mkdir -p "${S}"
250 - mv "${WORKDIR}/live" "${S}/" || die
251 -}
252 -
253 -src_prepare() {
254 - epatch "${FILESDIR}/${PN}-recursive3.patch"
255 -
256 - if use static-libs ; then
257 - cp -pPR live live-shared
258 - mv live live-static
259 - else
260 - mv live live-shared
261 - fi
262 -
263 - use static-libs && cp "${FILESDIR}/config.gentoo" live-static
264 - cp "${FILESDIR}/config.gentoo-so-r1" live-shared
265 -
266 - case ${CHOST} in
267 - *-solaris*)
268 - use static-libs && { sed -i \
269 - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \
270 - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \
271 - live-static/config.gentoo \
272 - || die ; }
273 - sed -i \
274 - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \
275 - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \
276 - live-shared/config.gentoo-so-r1 \
277 - || die
278 - ;;
279 - *-darwin*)
280 - use static-libs && { sed -i \
281 - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \
282 - -e '/^LINK /s/$/ /' \
283 - -e '/^LIBRARY_LINK /s/$/ /' \
284 - -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \
285 - live-static/config.gentoo \
286 - || die static ; }
287 - sed -i \
288 - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \
289 - -e '/^LINK /s/$/ /' \
290 - -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \
291 - -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \
292 - -e '/^LIB_SUFFIX /s/so/dylib/' \
293 - live-shared/config.gentoo-so-r1 \
294 - || die shared
295 - ;;
296 - esac
297 - multilib_copy_sources
298 -}
299 -
300 -src_configure() { :; }
301 -
302 -multilib_src_compile() {
303 - tc-export CC CXX LD
304 -
305 - if use static-libs ; then
306 - cd "${BUILD_DIR}/live-static"
307 -
308 - einfo "Beginning static library build"
309 - ./genMakefiles gentoo
310 - emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries"
311 - fi
312 -
313 - cd "${BUILD_DIR}/live-shared"
314 - einfo "Beginning shared library build"
315 - ./genMakefiles gentoo-so-r1
316 - local suffix=$(get_libname ${LIVE_ABI_VERSION})
317 - emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries"
318 -
319 - for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do
320 - pushd "${BUILD_DIR}/live-shared/${i}" > /dev/null
321 - ln -s lib${i}.${suffix#.} lib${i}$(get_libname) || die
322 - popd > /dev/null
323 - done
324 -
325 - if multilib_is_native_abi; then
326 - einfo "Beginning programs build"
327 - for i in $(use examples && echo "testProgs") proxyServer mediaServer ; do
328 - cd "${BUILD_DIR}/live-shared/${i}"
329 - emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs"
330 - done
331 - fi
332 -}
333 -
334 -multilib_src_install() {
335 - for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do
336 - use static-libs && dolib.a live-static/${library}/lib${library}.a
337 - dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION})
338 - dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname)
339 -
340 - insinto /usr/include/${library}
341 - doins live-shared/${library}/include/*h
342 - done
343 -
344 - if multilib_is_native_abi; then
345 - # Should we really install these?
346 - use examples && find live-shared/testProgs -type f -perm 755 -print0 | \
347 - xargs -0 dobin
348 -
349 - dobin live-shared/mediaServer/live555MediaServer
350 - dobin live-shared/proxyServer/live555ProxyServer
351 - fi
352 -}
353
354 diff --git a/media-plugins/live/live-2017.06.04.ebuild b/media-plugins/live/live-2017.06.04.ebuild
355 deleted file mode 100644
356 index c7a493903e0..00000000000
357 --- a/media-plugins/live/live-2017.06.04.ebuild
358 +++ /dev/null
359 @@ -1,128 +0,0 @@
360 -# Copyright 1999-2017 Gentoo Foundation
361 -# Distributed under the terms of the GNU General Public License v2
362 -
363 -EAPI=5
364 -inherit flag-o-matic eutils toolchain-funcs multilib multilib-minimal
365 -
366 -DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming"
367 -HOMEPAGE="http://www.live555.com/"
368 -SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz
369 - mirror://gentoo/${P/-/.}.tar.gz"
370 -
371 -LICENSE="LGPL-2.1"
372 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
373 -IUSE="examples static-libs"
374 -DOCS=( "live-shared/README" )
375 -
376 -# Alexis Ballier <aballier@g.o>
377 -# Be careful, bump this everytime you bump the package and the ABI has changed.
378 -# If you don't know, ask someone.
379 -LIVE_ABI_VERSION=7
380 -SLOT="0/${LIVE_ABI_VERSION}"
381 -
382 -src_unpack() {
383 - unpack ${A}
384 - mkdir -p "${S}"
385 - mv "${WORKDIR}/live" "${S}/" || die
386 -}
387 -
388 -src_prepare() {
389 - epatch "${FILESDIR}/${PN}-recursive3.patch"
390 -
391 - if use static-libs ; then
392 - cp -pPR live live-shared
393 - mv live live-static
394 - else
395 - mv live live-shared
396 - fi
397 -
398 - use static-libs && cp "${FILESDIR}/config.gentoo" live-static
399 - cp "${FILESDIR}/config.gentoo-so-r1" live-shared
400 -
401 - case ${CHOST} in
402 - *-solaris*)
403 - use static-libs && { sed -i \
404 - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \
405 - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \
406 - live-static/config.gentoo \
407 - || die ; }
408 - sed -i \
409 - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \
410 - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \
411 - live-shared/config.gentoo-so-r1 \
412 - || die
413 - ;;
414 - *-darwin*)
415 - use static-libs && { sed -i \
416 - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \
417 - -e '/^LINK /s/$/ /' \
418 - -e '/^LIBRARY_LINK /s/$/ /' \
419 - -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \
420 - live-static/config.gentoo \
421 - || die static ; }
422 - sed -i \
423 - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \
424 - -e '/^LINK /s/$/ /' \
425 - -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \
426 - -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \
427 - -e '/^LIB_SUFFIX /s/so/dylib/' \
428 - live-shared/config.gentoo-so-r1 \
429 - || die shared
430 - ;;
431 - esac
432 - multilib_copy_sources
433 -}
434 -
435 -src_configure() { :; }
436 -
437 -multilib_src_compile() {
438 - tc-export CC CXX LD
439 -
440 - if use static-libs ; then
441 - cd "${BUILD_DIR}/live-static"
442 -
443 - einfo "Beginning static library build"
444 - ./genMakefiles gentoo
445 - emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries"
446 - fi
447 -
448 - cd "${BUILD_DIR}/live-shared"
449 - einfo "Beginning shared library build"
450 - ./genMakefiles gentoo-so-r1
451 - local suffix=$(get_libname ${LIVE_ABI_VERSION})
452 - emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries"
453 -
454 - for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do
455 - pushd "${BUILD_DIR}/live-shared/${i}" > /dev/null
456 - ln -s lib${i}.${suffix#.} lib${i}$(get_libname) || die
457 - popd > /dev/null
458 - done
459 -
460 - if multilib_is_native_abi; then
461 - einfo "Beginning programs build"
462 - for i in $(use examples && echo "testProgs") proxyServer mediaServer ; do
463 - cd "${BUILD_DIR}/live-shared/${i}"
464 - emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs"
465 - done
466 - fi
467 -}
468 -
469 -multilib_src_install() {
470 - for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do
471 - use static-libs && dolib.a live-static/${library}/lib${library}.a
472 - dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION})
473 - dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname)
474 -
475 - insinto /usr/include/${library}
476 - doins live-shared/${library}/include/*h
477 - done
478 -
479 - if multilib_is_native_abi; then
480 - # Should we really install these?
481 - use examples && find live-shared/testProgs -type f -perm 755 -print0 | \
482 - xargs -0 dobin
483 -
484 - dobin live-shared/mediaServer/live555MediaServer
485 - dobin live-shared/proxyServer/live555ProxyServer
486 - fi
487 -}
488
489 diff --git a/media-plugins/live/live-2017.07.18.ebuild b/media-plugins/live/live-2017.07.18.ebuild
490 deleted file mode 100644
491 index c7a493903e0..00000000000
492 --- a/media-plugins/live/live-2017.07.18.ebuild
493 +++ /dev/null
494 @@ -1,128 +0,0 @@
495 -# Copyright 1999-2017 Gentoo Foundation
496 -# Distributed under the terms of the GNU General Public License v2
497 -
498 -EAPI=5
499 -inherit flag-o-matic eutils toolchain-funcs multilib multilib-minimal
500 -
501 -DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming"
502 -HOMEPAGE="http://www.live555.com/"
503 -SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz
504 - mirror://gentoo/${P/-/.}.tar.gz"
505 -
506 -LICENSE="LGPL-2.1"
507 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
508 -IUSE="examples static-libs"
509 -DOCS=( "live-shared/README" )
510 -
511 -# Alexis Ballier <aballier@g.o>
512 -# Be careful, bump this everytime you bump the package and the ABI has changed.
513 -# If you don't know, ask someone.
514 -LIVE_ABI_VERSION=7
515 -SLOT="0/${LIVE_ABI_VERSION}"
516 -
517 -src_unpack() {
518 - unpack ${A}
519 - mkdir -p "${S}"
520 - mv "${WORKDIR}/live" "${S}/" || die
521 -}
522 -
523 -src_prepare() {
524 - epatch "${FILESDIR}/${PN}-recursive3.patch"
525 -
526 - if use static-libs ; then
527 - cp -pPR live live-shared
528 - mv live live-static
529 - else
530 - mv live live-shared
531 - fi
532 -
533 - use static-libs && cp "${FILESDIR}/config.gentoo" live-static
534 - cp "${FILESDIR}/config.gentoo-so-r1" live-shared
535 -
536 - case ${CHOST} in
537 - *-solaris*)
538 - use static-libs && { sed -i \
539 - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \
540 - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \
541 - live-static/config.gentoo \
542 - || die ; }
543 - sed -i \
544 - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \
545 - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \
546 - live-shared/config.gentoo-so-r1 \
547 - || die
548 - ;;
549 - *-darwin*)
550 - use static-libs && { sed -i \
551 - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \
552 - -e '/^LINK /s/$/ /' \
553 - -e '/^LIBRARY_LINK /s/$/ /' \
554 - -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \
555 - live-static/config.gentoo \
556 - || die static ; }
557 - sed -i \
558 - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \
559 - -e '/^LINK /s/$/ /' \
560 - -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \
561 - -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \
562 - -e '/^LIB_SUFFIX /s/so/dylib/' \
563 - live-shared/config.gentoo-so-r1 \
564 - || die shared
565 - ;;
566 - esac
567 - multilib_copy_sources
568 -}
569 -
570 -src_configure() { :; }
571 -
572 -multilib_src_compile() {
573 - tc-export CC CXX LD
574 -
575 - if use static-libs ; then
576 - cd "${BUILD_DIR}/live-static"
577 -
578 - einfo "Beginning static library build"
579 - ./genMakefiles gentoo
580 - emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries"
581 - fi
582 -
583 - cd "${BUILD_DIR}/live-shared"
584 - einfo "Beginning shared library build"
585 - ./genMakefiles gentoo-so-r1
586 - local suffix=$(get_libname ${LIVE_ABI_VERSION})
587 - emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries"
588 -
589 - for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do
590 - pushd "${BUILD_DIR}/live-shared/${i}" > /dev/null
591 - ln -s lib${i}.${suffix#.} lib${i}$(get_libname) || die
592 - popd > /dev/null
593 - done
594 -
595 - if multilib_is_native_abi; then
596 - einfo "Beginning programs build"
597 - for i in $(use examples && echo "testProgs") proxyServer mediaServer ; do
598 - cd "${BUILD_DIR}/live-shared/${i}"
599 - emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs"
600 - done
601 - fi
602 -}
603 -
604 -multilib_src_install() {
605 - for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do
606 - use static-libs && dolib.a live-static/${library}/lib${library}.a
607 - dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION})
608 - dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname)
609 -
610 - insinto /usr/include/${library}
611 - doins live-shared/${library}/include/*h
612 - done
613 -
614 - if multilib_is_native_abi; then
615 - # Should we really install these?
616 - use examples && find live-shared/testProgs -type f -perm 755 -print0 | \
617 - xargs -0 dobin
618 -
619 - dobin live-shared/mediaServer/live555MediaServer
620 - dobin live-shared/proxyServer/live555ProxyServer
621 - fi
622 -}
623
624 diff --git a/media-plugins/live/live-2017.09.12.ebuild b/media-plugins/live/live-2017.09.12.ebuild
625 deleted file mode 100644
626 index c7a493903e0..00000000000
627 --- a/media-plugins/live/live-2017.09.12.ebuild
628 +++ /dev/null
629 @@ -1,128 +0,0 @@
630 -# Copyright 1999-2017 Gentoo Foundation
631 -# Distributed under the terms of the GNU General Public License v2
632 -
633 -EAPI=5
634 -inherit flag-o-matic eutils toolchain-funcs multilib multilib-minimal
635 -
636 -DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming"
637 -HOMEPAGE="http://www.live555.com/"
638 -SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz
639 - mirror://gentoo/${P/-/.}.tar.gz"
640 -
641 -LICENSE="LGPL-2.1"
642 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
643 -IUSE="examples static-libs"
644 -DOCS=( "live-shared/README" )
645 -
646 -# Alexis Ballier <aballier@g.o>
647 -# Be careful, bump this everytime you bump the package and the ABI has changed.
648 -# If you don't know, ask someone.
649 -LIVE_ABI_VERSION=7
650 -SLOT="0/${LIVE_ABI_VERSION}"
651 -
652 -src_unpack() {
653 - unpack ${A}
654 - mkdir -p "${S}"
655 - mv "${WORKDIR}/live" "${S}/" || die
656 -}
657 -
658 -src_prepare() {
659 - epatch "${FILESDIR}/${PN}-recursive3.patch"
660 -
661 - if use static-libs ; then
662 - cp -pPR live live-shared
663 - mv live live-static
664 - else
665 - mv live live-shared
666 - fi
667 -
668 - use static-libs && cp "${FILESDIR}/config.gentoo" live-static
669 - cp "${FILESDIR}/config.gentoo-so-r1" live-shared
670 -
671 - case ${CHOST} in
672 - *-solaris*)
673 - use static-libs && { sed -i \
674 - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \
675 - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \
676 - live-static/config.gentoo \
677 - || die ; }
678 - sed -i \
679 - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \
680 - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \
681 - live-shared/config.gentoo-so-r1 \
682 - || die
683 - ;;
684 - *-darwin*)
685 - use static-libs && { sed -i \
686 - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \
687 - -e '/^LINK /s/$/ /' \
688 - -e '/^LIBRARY_LINK /s/$/ /' \
689 - -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \
690 - live-static/config.gentoo \
691 - || die static ; }
692 - sed -i \
693 - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \
694 - -e '/^LINK /s/$/ /' \
695 - -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \
696 - -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \
697 - -e '/^LIB_SUFFIX /s/so/dylib/' \
698 - live-shared/config.gentoo-so-r1 \
699 - || die shared
700 - ;;
701 - esac
702 - multilib_copy_sources
703 -}
704 -
705 -src_configure() { :; }
706 -
707 -multilib_src_compile() {
708 - tc-export CC CXX LD
709 -
710 - if use static-libs ; then
711 - cd "${BUILD_DIR}/live-static"
712 -
713 - einfo "Beginning static library build"
714 - ./genMakefiles gentoo
715 - emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries"
716 - fi
717 -
718 - cd "${BUILD_DIR}/live-shared"
719 - einfo "Beginning shared library build"
720 - ./genMakefiles gentoo-so-r1
721 - local suffix=$(get_libname ${LIVE_ABI_VERSION})
722 - emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries"
723 -
724 - for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do
725 - pushd "${BUILD_DIR}/live-shared/${i}" > /dev/null
726 - ln -s lib${i}.${suffix#.} lib${i}$(get_libname) || die
727 - popd > /dev/null
728 - done
729 -
730 - if multilib_is_native_abi; then
731 - einfo "Beginning programs build"
732 - for i in $(use examples && echo "testProgs") proxyServer mediaServer ; do
733 - cd "${BUILD_DIR}/live-shared/${i}"
734 - emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs"
735 - done
736 - fi
737 -}
738 -
739 -multilib_src_install() {
740 - for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do
741 - use static-libs && dolib.a live-static/${library}/lib${library}.a
742 - dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION})
743 - dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname)
744 -
745 - insinto /usr/include/${library}
746 - doins live-shared/${library}/include/*h
747 - done
748 -
749 - if multilib_is_native_abi; then
750 - # Should we really install these?
751 - use examples && find live-shared/testProgs -type f -perm 755 -print0 | \
752 - xargs -0 dobin
753 -
754 - dobin live-shared/mediaServer/live555MediaServer
755 - dobin live-shared/proxyServer/live555ProxyServer
756 - fi
757 -}