1 |
commit: d789cdbbb4bd2de40b6d30f1816d5bc261e221b0 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 30 08:13:31 2016 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 30 08:29:51 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d789cdbb |
7 |
|
8 |
media-plugins/live: remove old |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
media-plugins/live/Manifest | 4 - |
13 |
media-plugins/live/live-2016.02.09.ebuild | 129 ------------------------------ |
14 |
media-plugins/live/live-2016.02.22.ebuild | 129 ------------------------------ |
15 |
media-plugins/live/live-2016.03.16.ebuild | 129 ------------------------------ |
16 |
media-plugins/live/live-2016.04.01.ebuild | 129 ------------------------------ |
17 |
5 files changed, 520 deletions(-) |
18 |
|
19 |
diff --git a/media-plugins/live/Manifest b/media-plugins/live/Manifest |
20 |
index a10b009..31b4803 100644 |
21 |
--- a/media-plugins/live/Manifest |
22 |
+++ b/media-plugins/live/Manifest |
23 |
@@ -1,6 +1,2 @@ |
24 |
DIST live.2013.02.11.tar.gz 570837 SHA256 2cd619e61b9293a094a2cbb8dd7a7505f8e74e6197b80989093425ac78a86d83 SHA512 c0f2efbf2af06d5e5f2bc58955ca37942022a439e3c48bec06a49b636e08d4d31855e884586448c698b0c90d35ef24f282570d0026c4454c9e58855ff36713be WHIRLPOOL 121fb4815c44db793a3c225faa5c16e68a8f975e45e8c4d492886aa82a57dd1571ad14076375767524cb848336b702cccc9ab17af79787ac489b6eb789fd9bd9 |
25 |
-DIST live.2016.02.09.tar.gz 633063 SHA256 53eddc94c9d77688461085fbc50a7776b6ae292059bd9ba0950a78563e72e20b SHA512 818a4baa726939597642dab7e2a2a40418e86696cdab5724757425ad57d0a74543795075406509fc5b817f8ebfa5568868efd9a7f2845b9fe3f2caeb561a42ef WHIRLPOOL 63330b9e9a81a47d65ff15dc3f58046f8fe228d56db2f39782ff76c0b9bd907b8124e6555a649e0aad519493df89bb7fcceb7c81b50da3a0322013d87ab869a3 |
26 |
-DIST live.2016.02.22.tar.gz 632490 SHA256 e4571b466547e3ad153e4bd9bbb81b24d838815e9d97176157ecfb18c5414cd5 SHA512 813a38d3d2068658e377d8b4ad4431d34bce1126ec590ef5a65c4add44605ca0316397edb407d78be63ebd0e40fac149aec8f992e0ef721d95ba9c6fe2638ddd WHIRLPOOL 89efd1bd1a257c727909c0253e2e005642e0acde7fac6941b431a310e202fb0dd43fe064a7e3c352101c53344ed57f62240f8c30bd3ee162ef7f00f3cd483d23 |
27 |
-DIST live.2016.03.16.tar.gz 631576 SHA256 6f98a96d4cf6e986c7711f0a2431c02cb807a8107d6715eb491a6ed9d0446cf6 SHA512 087bd44204693dd7049cb87bd984afae9a481db97b88d339b41c0e1be2aea911012cb9cfed305c62dff42f1c68291673d179375be6e83539f68cbba32ddb3bba WHIRLPOOL 4ebf2f79547672510ad90303593246d06f8d01cf098331830cef69472aab1cd15e392e6bfb36f4e3c0a098016d748a4aa019085d7169762caf6f46e057ee16e0 |
28 |
-DIST live.2016.04.01.tar.gz 631515 SHA256 c19d0091f06cf8a52f37fd019a26d7bc09d42e31c2a5b46945efa7afed93f73f SHA512 49bb0f3d0748c31e259465576b415f47d8d06a29a3f2d767f6521d38822fd45107f5f6ae74a1c6625407aa8344ff817df6906345fd33ae31e4f79b72b3d1f7d4 WHIRLPOOL 4da90ad099a905728477e4176538635f61a18ad36c89e21f6d7cf9ec0e34b9850b075af137f996aa9becd5d174d9874b78a86b1a24d07a2a74a1ed7df45859b9 |
29 |
DIST live.2016.05.20.tar.gz 619386 SHA256 cb653acaaa536a69b125f7c04c08264e97c014f9240de139c861666b6ee6d3a3 SHA512 ee3a3132dbed4923d700b914194e03481f88890fbf54aba15fa4e6e01b38dafeded6ebfaef2eaabbf52b519445ffcdd2d391f38b9ff608e76c1964cd0c00cd32 WHIRLPOOL baad40343d90033b340478c7873a5540c8b38738c62cd14eeeb93d0ff6292f5d1ef7919a8c5f7aaede5fde943530ea294de4423f6d90b04a976e604f13e3521b |
30 |
|
31 |
diff --git a/media-plugins/live/live-2016.02.09.ebuild b/media-plugins/live/live-2016.02.09.ebuild |
32 |
deleted file mode 100644 |
33 |
index a787b31..0000000 |
34 |
--- a/media-plugins/live/live-2016.02.09.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,129 +0,0 @@ |
37 |
-# Copyright 1999-2015 Gentoo Foundation |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
-# $Id$ |
40 |
- |
41 |
-EAPI=5 |
42 |
-inherit flag-o-matic eutils toolchain-funcs multilib multilib-minimal |
43 |
- |
44 |
-DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming" |
45 |
-HOMEPAGE="http://www.live555.com/" |
46 |
-SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz |
47 |
- mirror://gentoo/${P/-/.}.tar.gz" |
48 |
- |
49 |
-LICENSE="LGPL-2.1" |
50 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
51 |
-IUSE="examples static-libs" |
52 |
-DOCS=( "live-shared/README" ) |
53 |
- |
54 |
-# Alexis Ballier <aballier@g.o> |
55 |
-# Be careful, bump this everytime you bump the package and the ABI has changed. |
56 |
-# If you don't know, ask someone. |
57 |
-LIVE_ABI_VERSION=7 |
58 |
-SLOT="0/${LIVE_ABI_VERSION}" |
59 |
- |
60 |
-src_unpack() { |
61 |
- unpack ${A} |
62 |
- mkdir -p "${S}" |
63 |
- mv "${WORKDIR}/live" "${S}/" || die |
64 |
-} |
65 |
- |
66 |
-src_prepare() { |
67 |
- epatch "${FILESDIR}/${PN}-recursive2.patch" |
68 |
- |
69 |
- if use static-libs ; then |
70 |
- cp -pPR live live-shared |
71 |
- mv live live-static |
72 |
- else |
73 |
- mv live live-shared |
74 |
- fi |
75 |
- |
76 |
- use static-libs && cp "${FILESDIR}/config.gentoo" live-static |
77 |
- cp "${FILESDIR}/config.gentoo-so-r1" live-shared |
78 |
- |
79 |
- case ${CHOST} in |
80 |
- *-solaris*) |
81 |
- use static-libs && { sed -i \ |
82 |
- -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ |
83 |
- -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ |
84 |
- live-static/config.gentoo \ |
85 |
- || die ; } |
86 |
- sed -i \ |
87 |
- -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ |
88 |
- -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ |
89 |
- live-shared/config.gentoo-so-r1 \ |
90 |
- || die |
91 |
- ;; |
92 |
- *-darwin*) |
93 |
- use static-libs && { sed -i \ |
94 |
- -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ |
95 |
- -e '/^LINK /s/$/ /' \ |
96 |
- -e '/^LIBRARY_LINK /s/$/ /' \ |
97 |
- -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \ |
98 |
- live-static/config.gentoo \ |
99 |
- || die static ; } |
100 |
- sed -i \ |
101 |
- -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ |
102 |
- -e '/^LINK /s/$/ /' \ |
103 |
- -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \ |
104 |
- -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \ |
105 |
- -e '/^LIB_SUFFIX /s/so/dylib/' \ |
106 |
- live-shared/config.gentoo-so-r1 \ |
107 |
- || die shared |
108 |
- ;; |
109 |
- esac |
110 |
- multilib_copy_sources |
111 |
-} |
112 |
- |
113 |
-src_configure() { :; } |
114 |
- |
115 |
-multilib_src_compile() { |
116 |
- tc-export CC CXX LD |
117 |
- |
118 |
- if use static-libs ; then |
119 |
- cd "${BUILD_DIR}/live-static" |
120 |
- |
121 |
- einfo "Beginning static library build" |
122 |
- ./genMakefiles gentoo |
123 |
- emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries" |
124 |
- fi |
125 |
- |
126 |
- cd "${BUILD_DIR}/live-shared" |
127 |
- einfo "Beginning shared library build" |
128 |
- ./genMakefiles gentoo-so-r1 |
129 |
- local suffix=$(get_libname ${LIVE_ABI_VERSION}) |
130 |
- emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries" |
131 |
- |
132 |
- for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do |
133 |
- pushd "${BUILD_DIR}/live-shared/${i}" > /dev/null |
134 |
- ln -s lib${i}.${suffix#.} lib${i}$(get_libname) || die |
135 |
- popd > /dev/null |
136 |
- done |
137 |
- |
138 |
- if multilib_is_native_abi; then |
139 |
- einfo "Beginning programs build" |
140 |
- for i in $(use examples && echo "testProgs") proxyServer mediaServer ; do |
141 |
- cd "${BUILD_DIR}/live-shared/${i}" |
142 |
- emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs" |
143 |
- done |
144 |
- fi |
145 |
-} |
146 |
- |
147 |
-multilib_src_install() { |
148 |
- for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do |
149 |
- use static-libs && dolib.a live-static/${library}/lib${library}.a |
150 |
- dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION}) |
151 |
- dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname) |
152 |
- |
153 |
- insinto /usr/include/${library} |
154 |
- doins live-shared/${library}/include/*h |
155 |
- done |
156 |
- |
157 |
- if multilib_is_native_abi; then |
158 |
- # Should we really install these? |
159 |
- use examples && find live-shared/testProgs -type f -perm 755 -print0 | \ |
160 |
- xargs -0 dobin |
161 |
- |
162 |
- dobin live-shared/mediaServer/live555MediaServer |
163 |
- dobin live-shared/proxyServer/live555ProxyServer |
164 |
- fi |
165 |
-} |
166 |
|
167 |
diff --git a/media-plugins/live/live-2016.02.22.ebuild b/media-plugins/live/live-2016.02.22.ebuild |
168 |
deleted file mode 100644 |
169 |
index a787b31..0000000 |
170 |
--- a/media-plugins/live/live-2016.02.22.ebuild |
171 |
+++ /dev/null |
172 |
@@ -1,129 +0,0 @@ |
173 |
-# Copyright 1999-2015 Gentoo Foundation |
174 |
-# Distributed under the terms of the GNU General Public License v2 |
175 |
-# $Id$ |
176 |
- |
177 |
-EAPI=5 |
178 |
-inherit flag-o-matic eutils toolchain-funcs multilib multilib-minimal |
179 |
- |
180 |
-DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming" |
181 |
-HOMEPAGE="http://www.live555.com/" |
182 |
-SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz |
183 |
- mirror://gentoo/${P/-/.}.tar.gz" |
184 |
- |
185 |
-LICENSE="LGPL-2.1" |
186 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
187 |
-IUSE="examples static-libs" |
188 |
-DOCS=( "live-shared/README" ) |
189 |
- |
190 |
-# Alexis Ballier <aballier@g.o> |
191 |
-# Be careful, bump this everytime you bump the package and the ABI has changed. |
192 |
-# If you don't know, ask someone. |
193 |
-LIVE_ABI_VERSION=7 |
194 |
-SLOT="0/${LIVE_ABI_VERSION}" |
195 |
- |
196 |
-src_unpack() { |
197 |
- unpack ${A} |
198 |
- mkdir -p "${S}" |
199 |
- mv "${WORKDIR}/live" "${S}/" || die |
200 |
-} |
201 |
- |
202 |
-src_prepare() { |
203 |
- epatch "${FILESDIR}/${PN}-recursive2.patch" |
204 |
- |
205 |
- if use static-libs ; then |
206 |
- cp -pPR live live-shared |
207 |
- mv live live-static |
208 |
- else |
209 |
- mv live live-shared |
210 |
- fi |
211 |
- |
212 |
- use static-libs && cp "${FILESDIR}/config.gentoo" live-static |
213 |
- cp "${FILESDIR}/config.gentoo-so-r1" live-shared |
214 |
- |
215 |
- case ${CHOST} in |
216 |
- *-solaris*) |
217 |
- use static-libs && { sed -i \ |
218 |
- -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ |
219 |
- -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ |
220 |
- live-static/config.gentoo \ |
221 |
- || die ; } |
222 |
- sed -i \ |
223 |
- -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ |
224 |
- -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ |
225 |
- live-shared/config.gentoo-so-r1 \ |
226 |
- || die |
227 |
- ;; |
228 |
- *-darwin*) |
229 |
- use static-libs && { sed -i \ |
230 |
- -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ |
231 |
- -e '/^LINK /s/$/ /' \ |
232 |
- -e '/^LIBRARY_LINK /s/$/ /' \ |
233 |
- -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \ |
234 |
- live-static/config.gentoo \ |
235 |
- || die static ; } |
236 |
- sed -i \ |
237 |
- -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ |
238 |
- -e '/^LINK /s/$/ /' \ |
239 |
- -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \ |
240 |
- -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \ |
241 |
- -e '/^LIB_SUFFIX /s/so/dylib/' \ |
242 |
- live-shared/config.gentoo-so-r1 \ |
243 |
- || die shared |
244 |
- ;; |
245 |
- esac |
246 |
- multilib_copy_sources |
247 |
-} |
248 |
- |
249 |
-src_configure() { :; } |
250 |
- |
251 |
-multilib_src_compile() { |
252 |
- tc-export CC CXX LD |
253 |
- |
254 |
- if use static-libs ; then |
255 |
- cd "${BUILD_DIR}/live-static" |
256 |
- |
257 |
- einfo "Beginning static library build" |
258 |
- ./genMakefiles gentoo |
259 |
- emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries" |
260 |
- fi |
261 |
- |
262 |
- cd "${BUILD_DIR}/live-shared" |
263 |
- einfo "Beginning shared library build" |
264 |
- ./genMakefiles gentoo-so-r1 |
265 |
- local suffix=$(get_libname ${LIVE_ABI_VERSION}) |
266 |
- emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries" |
267 |
- |
268 |
- for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do |
269 |
- pushd "${BUILD_DIR}/live-shared/${i}" > /dev/null |
270 |
- ln -s lib${i}.${suffix#.} lib${i}$(get_libname) || die |
271 |
- popd > /dev/null |
272 |
- done |
273 |
- |
274 |
- if multilib_is_native_abi; then |
275 |
- einfo "Beginning programs build" |
276 |
- for i in $(use examples && echo "testProgs") proxyServer mediaServer ; do |
277 |
- cd "${BUILD_DIR}/live-shared/${i}" |
278 |
- emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs" |
279 |
- done |
280 |
- fi |
281 |
-} |
282 |
- |
283 |
-multilib_src_install() { |
284 |
- for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do |
285 |
- use static-libs && dolib.a live-static/${library}/lib${library}.a |
286 |
- dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION}) |
287 |
- dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname) |
288 |
- |
289 |
- insinto /usr/include/${library} |
290 |
- doins live-shared/${library}/include/*h |
291 |
- done |
292 |
- |
293 |
- if multilib_is_native_abi; then |
294 |
- # Should we really install these? |
295 |
- use examples && find live-shared/testProgs -type f -perm 755 -print0 | \ |
296 |
- xargs -0 dobin |
297 |
- |
298 |
- dobin live-shared/mediaServer/live555MediaServer |
299 |
- dobin live-shared/proxyServer/live555ProxyServer |
300 |
- fi |
301 |
-} |
302 |
|
303 |
diff --git a/media-plugins/live/live-2016.03.16.ebuild b/media-plugins/live/live-2016.03.16.ebuild |
304 |
deleted file mode 100644 |
305 |
index a787b31..0000000 |
306 |
--- a/media-plugins/live/live-2016.03.16.ebuild |
307 |
+++ /dev/null |
308 |
@@ -1,129 +0,0 @@ |
309 |
-# Copyright 1999-2015 Gentoo Foundation |
310 |
-# Distributed under the terms of the GNU General Public License v2 |
311 |
-# $Id$ |
312 |
- |
313 |
-EAPI=5 |
314 |
-inherit flag-o-matic eutils toolchain-funcs multilib multilib-minimal |
315 |
- |
316 |
-DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming" |
317 |
-HOMEPAGE="http://www.live555.com/" |
318 |
-SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz |
319 |
- mirror://gentoo/${P/-/.}.tar.gz" |
320 |
- |
321 |
-LICENSE="LGPL-2.1" |
322 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
323 |
-IUSE="examples static-libs" |
324 |
-DOCS=( "live-shared/README" ) |
325 |
- |
326 |
-# Alexis Ballier <aballier@g.o> |
327 |
-# Be careful, bump this everytime you bump the package and the ABI has changed. |
328 |
-# If you don't know, ask someone. |
329 |
-LIVE_ABI_VERSION=7 |
330 |
-SLOT="0/${LIVE_ABI_VERSION}" |
331 |
- |
332 |
-src_unpack() { |
333 |
- unpack ${A} |
334 |
- mkdir -p "${S}" |
335 |
- mv "${WORKDIR}/live" "${S}/" || die |
336 |
-} |
337 |
- |
338 |
-src_prepare() { |
339 |
- epatch "${FILESDIR}/${PN}-recursive2.patch" |
340 |
- |
341 |
- if use static-libs ; then |
342 |
- cp -pPR live live-shared |
343 |
- mv live live-static |
344 |
- else |
345 |
- mv live live-shared |
346 |
- fi |
347 |
- |
348 |
- use static-libs && cp "${FILESDIR}/config.gentoo" live-static |
349 |
- cp "${FILESDIR}/config.gentoo-so-r1" live-shared |
350 |
- |
351 |
- case ${CHOST} in |
352 |
- *-solaris*) |
353 |
- use static-libs && { sed -i \ |
354 |
- -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ |
355 |
- -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ |
356 |
- live-static/config.gentoo \ |
357 |
- || die ; } |
358 |
- sed -i \ |
359 |
- -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ |
360 |
- -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ |
361 |
- live-shared/config.gentoo-so-r1 \ |
362 |
- || die |
363 |
- ;; |
364 |
- *-darwin*) |
365 |
- use static-libs && { sed -i \ |
366 |
- -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ |
367 |
- -e '/^LINK /s/$/ /' \ |
368 |
- -e '/^LIBRARY_LINK /s/$/ /' \ |
369 |
- -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \ |
370 |
- live-static/config.gentoo \ |
371 |
- || die static ; } |
372 |
- sed -i \ |
373 |
- -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ |
374 |
- -e '/^LINK /s/$/ /' \ |
375 |
- -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \ |
376 |
- -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \ |
377 |
- -e '/^LIB_SUFFIX /s/so/dylib/' \ |
378 |
- live-shared/config.gentoo-so-r1 \ |
379 |
- || die shared |
380 |
- ;; |
381 |
- esac |
382 |
- multilib_copy_sources |
383 |
-} |
384 |
- |
385 |
-src_configure() { :; } |
386 |
- |
387 |
-multilib_src_compile() { |
388 |
- tc-export CC CXX LD |
389 |
- |
390 |
- if use static-libs ; then |
391 |
- cd "${BUILD_DIR}/live-static" |
392 |
- |
393 |
- einfo "Beginning static library build" |
394 |
- ./genMakefiles gentoo |
395 |
- emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries" |
396 |
- fi |
397 |
- |
398 |
- cd "${BUILD_DIR}/live-shared" |
399 |
- einfo "Beginning shared library build" |
400 |
- ./genMakefiles gentoo-so-r1 |
401 |
- local suffix=$(get_libname ${LIVE_ABI_VERSION}) |
402 |
- emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries" |
403 |
- |
404 |
- for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do |
405 |
- pushd "${BUILD_DIR}/live-shared/${i}" > /dev/null |
406 |
- ln -s lib${i}.${suffix#.} lib${i}$(get_libname) || die |
407 |
- popd > /dev/null |
408 |
- done |
409 |
- |
410 |
- if multilib_is_native_abi; then |
411 |
- einfo "Beginning programs build" |
412 |
- for i in $(use examples && echo "testProgs") proxyServer mediaServer ; do |
413 |
- cd "${BUILD_DIR}/live-shared/${i}" |
414 |
- emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs" |
415 |
- done |
416 |
- fi |
417 |
-} |
418 |
- |
419 |
-multilib_src_install() { |
420 |
- for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do |
421 |
- use static-libs && dolib.a live-static/${library}/lib${library}.a |
422 |
- dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION}) |
423 |
- dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname) |
424 |
- |
425 |
- insinto /usr/include/${library} |
426 |
- doins live-shared/${library}/include/*h |
427 |
- done |
428 |
- |
429 |
- if multilib_is_native_abi; then |
430 |
- # Should we really install these? |
431 |
- use examples && find live-shared/testProgs -type f -perm 755 -print0 | \ |
432 |
- xargs -0 dobin |
433 |
- |
434 |
- dobin live-shared/mediaServer/live555MediaServer |
435 |
- dobin live-shared/proxyServer/live555ProxyServer |
436 |
- fi |
437 |
-} |
438 |
|
439 |
diff --git a/media-plugins/live/live-2016.04.01.ebuild b/media-plugins/live/live-2016.04.01.ebuild |
440 |
deleted file mode 100644 |
441 |
index a787b31..0000000 |
442 |
--- a/media-plugins/live/live-2016.04.01.ebuild |
443 |
+++ /dev/null |
444 |
@@ -1,129 +0,0 @@ |
445 |
-# Copyright 1999-2015 Gentoo Foundation |
446 |
-# Distributed under the terms of the GNU General Public License v2 |
447 |
-# $Id$ |
448 |
- |
449 |
-EAPI=5 |
450 |
-inherit flag-o-matic eutils toolchain-funcs multilib multilib-minimal |
451 |
- |
452 |
-DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming" |
453 |
-HOMEPAGE="http://www.live555.com/" |
454 |
-SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz |
455 |
- mirror://gentoo/${P/-/.}.tar.gz" |
456 |
- |
457 |
-LICENSE="LGPL-2.1" |
458 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
459 |
-IUSE="examples static-libs" |
460 |
-DOCS=( "live-shared/README" ) |
461 |
- |
462 |
-# Alexis Ballier <aballier@g.o> |
463 |
-# Be careful, bump this everytime you bump the package and the ABI has changed. |
464 |
-# If you don't know, ask someone. |
465 |
-LIVE_ABI_VERSION=7 |
466 |
-SLOT="0/${LIVE_ABI_VERSION}" |
467 |
- |
468 |
-src_unpack() { |
469 |
- unpack ${A} |
470 |
- mkdir -p "${S}" |
471 |
- mv "${WORKDIR}/live" "${S}/" || die |
472 |
-} |
473 |
- |
474 |
-src_prepare() { |
475 |
- epatch "${FILESDIR}/${PN}-recursive2.patch" |
476 |
- |
477 |
- if use static-libs ; then |
478 |
- cp -pPR live live-shared |
479 |
- mv live live-static |
480 |
- else |
481 |
- mv live live-shared |
482 |
- fi |
483 |
- |
484 |
- use static-libs && cp "${FILESDIR}/config.gentoo" live-static |
485 |
- cp "${FILESDIR}/config.gentoo-so-r1" live-shared |
486 |
- |
487 |
- case ${CHOST} in |
488 |
- *-solaris*) |
489 |
- use static-libs && { sed -i \ |
490 |
- -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ |
491 |
- -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ |
492 |
- live-static/config.gentoo \ |
493 |
- || die ; } |
494 |
- sed -i \ |
495 |
- -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ |
496 |
- -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ |
497 |
- live-shared/config.gentoo-so-r1 \ |
498 |
- || die |
499 |
- ;; |
500 |
- *-darwin*) |
501 |
- use static-libs && { sed -i \ |
502 |
- -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ |
503 |
- -e '/^LINK /s/$/ /' \ |
504 |
- -e '/^LIBRARY_LINK /s/$/ /' \ |
505 |
- -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \ |
506 |
- live-static/config.gentoo \ |
507 |
- || die static ; } |
508 |
- sed -i \ |
509 |
- -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ |
510 |
- -e '/^LINK /s/$/ /' \ |
511 |
- -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \ |
512 |
- -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \ |
513 |
- -e '/^LIB_SUFFIX /s/so/dylib/' \ |
514 |
- live-shared/config.gentoo-so-r1 \ |
515 |
- || die shared |
516 |
- ;; |
517 |
- esac |
518 |
- multilib_copy_sources |
519 |
-} |
520 |
- |
521 |
-src_configure() { :; } |
522 |
- |
523 |
-multilib_src_compile() { |
524 |
- tc-export CC CXX LD |
525 |
- |
526 |
- if use static-libs ; then |
527 |
- cd "${BUILD_DIR}/live-static" |
528 |
- |
529 |
- einfo "Beginning static library build" |
530 |
- ./genMakefiles gentoo |
531 |
- emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries" |
532 |
- fi |
533 |
- |
534 |
- cd "${BUILD_DIR}/live-shared" |
535 |
- einfo "Beginning shared library build" |
536 |
- ./genMakefiles gentoo-so-r1 |
537 |
- local suffix=$(get_libname ${LIVE_ABI_VERSION}) |
538 |
- emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries" |
539 |
- |
540 |
- for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do |
541 |
- pushd "${BUILD_DIR}/live-shared/${i}" > /dev/null |
542 |
- ln -s lib${i}.${suffix#.} lib${i}$(get_libname) || die |
543 |
- popd > /dev/null |
544 |
- done |
545 |
- |
546 |
- if multilib_is_native_abi; then |
547 |
- einfo "Beginning programs build" |
548 |
- for i in $(use examples && echo "testProgs") proxyServer mediaServer ; do |
549 |
- cd "${BUILD_DIR}/live-shared/${i}" |
550 |
- emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs" |
551 |
- done |
552 |
- fi |
553 |
-} |
554 |
- |
555 |
-multilib_src_install() { |
556 |
- for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do |
557 |
- use static-libs && dolib.a live-static/${library}/lib${library}.a |
558 |
- dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION}) |
559 |
- dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname) |
560 |
- |
561 |
- insinto /usr/include/${library} |
562 |
- doins live-shared/${library}/include/*h |
563 |
- done |
564 |
- |
565 |
- if multilib_is_native_abi; then |
566 |
- # Should we really install these? |
567 |
- use examples && find live-shared/testProgs -type f -perm 755 -print0 | \ |
568 |
- xargs -0 dobin |
569 |
- |
570 |
- dobin live-shared/mediaServer/live555MediaServer |
571 |
- dobin live-shared/proxyServer/live555ProxyServer |
572 |
- fi |
573 |
-} |