1 |
commit: 34289def96eaf7efcf888d8aaf18f2a2a2d89c83 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 14 22:09:03 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 14 22:09:03 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34289def |
7 |
|
8 |
media-plugins/live: security cleanup |
9 |
|
10 |
Bug: https://bugs.gentoo.org/717722 |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
media-plugins/live/Manifest | 3 - |
15 |
media-plugins/live/live-2017.10.28.ebuild | 128 ------------------------------ |
16 |
media-plugins/live/live-2018.01.29.ebuild | 128 ------------------------------ |
17 |
media-plugins/live/live-2018.07.07.ebuild | 128 ------------------------------ |
18 |
4 files changed, 387 deletions(-) |
19 |
|
20 |
diff --git a/media-plugins/live/Manifest b/media-plugins/live/Manifest |
21 |
index cf3b6489263..2f2582b4457 100644 |
22 |
--- a/media-plugins/live/Manifest |
23 |
+++ b/media-plugins/live/Manifest |
24 |
@@ -1,4 +1 @@ |
25 |
-DIST live.2017.10.28.tar.gz 629858 BLAKE2B a1d862ae1356b46fcd4e5ef7e27c47d3fb3abac35add6feb7955f60ddbd93e9242a84102393de67dda0d39c09632a0cc9a5f54d30c9f91d005696d3a566258bd SHA512 eea5bdb8d89e76c8b6aeb6ec04b77af3048cb41f228d230ba4da6045e9bc691a456023d44d8650fe690b08143567ed5af5b633f5b6522debff79344a813dc7d0 |
26 |
-DIST live.2018.01.29.tar.gz 630144 BLAKE2B dd58865636a44ccabd0e3b02e1679393f17fb09d82455188d49d4fcb321b21e136a168c0f4c407c1dba3afcb5b541192cd2c5181d7a7710d39d4727526fc39cf SHA512 dfdfcac67acd28f651807de423c6aed00190cfc38ecd361b76d37d8cc27ee2fa91a42a5b8835045680fd7f65c847e41747b948c2c71e6530a3c7e89421c60227 |
27 |
-DIST live.2018.07.07.tar.gz 630625 BLAKE2B 8545d4d8ed60328ccc782b6c2a8c4a0dc9ce3c1245fbc78fed4d3eb6f42de39c3c341456dc00cdc416fdcb2e518f5fe387273f5b4d2c3e2d32bfa22a21df2a90 SHA512 e7d4ddf51e9666c6ebe9a46976035b68fea94be54825535ffb04006cd242b9d3ad08250305206442bed3500d1e8d628ccf44302c485f63a9e244b3f8b1e27fe4 |
28 |
DIST live.2020.03.06.tar.gz 7231080 BLAKE2B 95a1d3cc394eba473296973a1e44160dd1ca8e2efbc322a2e0bfbdb183244cda28b219ea14a51c8d146807d829b566a9c3782b291d5abfbd306a92e030e108e4 SHA512 7da439fbdeab0da6687dee56d9a27bf7b8f8a9c84b420d72f2e2a7ff7a73d18756d1fdb920f29b36917d93efcecc9230877637322d5041eeba114882b4bf7a06 |
29 |
|
30 |
diff --git a/media-plugins/live/live-2017.10.28.ebuild b/media-plugins/live/live-2017.10.28.ebuild |
31 |
deleted file mode 100644 |
32 |
index 80f3e6db5e2..00000000000 |
33 |
--- a/media-plugins/live/live-2017.10.28.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,128 +0,0 @@ |
36 |
-# Copyright 1999-2020 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=5 |
40 |
-inherit flag-o-matic eutils toolchain-funcs multilib multilib-minimal |
41 |
- |
42 |
-DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming" |
43 |
-HOMEPAGE="http://www.live555.com/" |
44 |
-SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz |
45 |
- mirror://gentoo/${P/-/.}.tar.gz" |
46 |
- |
47 |
-LICENSE="LGPL-2.1" |
48 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
49 |
-IUSE="examples static-libs" |
50 |
-DOCS=( "live-shared/README" ) |
51 |
- |
52 |
-# Alexis Ballier <aballier@g.o> |
53 |
-# Be careful, bump this everytime you bump the package and the ABI has changed. |
54 |
-# If you don't know, ask someone. |
55 |
-LIVE_ABI_VERSION=7 |
56 |
-SLOT="0/${LIVE_ABI_VERSION}" |
57 |
- |
58 |
-src_unpack() { |
59 |
- unpack ${A} |
60 |
- mkdir -p "${S}" |
61 |
- mv "${WORKDIR}/live" "${S}/" || die |
62 |
-} |
63 |
- |
64 |
-src_prepare() { |
65 |
- epatch "${FILESDIR}/${PN}-recursive3.patch" |
66 |
- |
67 |
- if use static-libs ; then |
68 |
- cp -pPR live live-shared |
69 |
- mv live live-static |
70 |
- else |
71 |
- mv live live-shared |
72 |
- fi |
73 |
- |
74 |
- use static-libs && cp "${FILESDIR}/config.gentoo-r1" live-static/config.gentoo |
75 |
- cp "${FILESDIR}/config.gentoo-so-r2" live-shared/config.gentoo-so-r1 |
76 |
- |
77 |
- case ${CHOST} in |
78 |
- *-solaris*) |
79 |
- use static-libs && { sed -i \ |
80 |
- -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ |
81 |
- -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ |
82 |
- live-static/config.gentoo \ |
83 |
- || die ; } |
84 |
- sed -i \ |
85 |
- -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ |
86 |
- -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ |
87 |
- live-shared/config.gentoo-so-r1 \ |
88 |
- || die |
89 |
- ;; |
90 |
- *-darwin*) |
91 |
- use static-libs && { sed -i \ |
92 |
- -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ |
93 |
- -e '/^LINK /s/$/ /' \ |
94 |
- -e '/^LIBRARY_LINK /s/$/ /' \ |
95 |
- -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \ |
96 |
- live-static/config.gentoo \ |
97 |
- || die static ; } |
98 |
- sed -i \ |
99 |
- -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ |
100 |
- -e '/^LINK /s/$/ /' \ |
101 |
- -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \ |
102 |
- -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \ |
103 |
- -e '/^LIB_SUFFIX /s/so/dylib/' \ |
104 |
- live-shared/config.gentoo-so-r1 \ |
105 |
- || die shared |
106 |
- ;; |
107 |
- esac |
108 |
- multilib_copy_sources |
109 |
-} |
110 |
- |
111 |
-src_configure() { :; } |
112 |
- |
113 |
-multilib_src_compile() { |
114 |
- tc-export CC CXX LD |
115 |
- |
116 |
- if use static-libs ; then |
117 |
- cd "${BUILD_DIR}/live-static" |
118 |
- |
119 |
- einfo "Beginning static library build" |
120 |
- ./genMakefiles gentoo |
121 |
- emake -j1 LINK_OPTS="-L. $(raw-ldflags)" |
122 |
- fi |
123 |
- |
124 |
- cd "${BUILD_DIR}/live-shared" |
125 |
- einfo "Beginning shared library build" |
126 |
- ./genMakefiles gentoo-so-r1 |
127 |
- local suffix=$(get_libname ${LIVE_ABI_VERSION}) |
128 |
- emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" |
129 |
- |
130 |
- for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do |
131 |
- pushd "${BUILD_DIR}/live-shared/${i}" > /dev/null |
132 |
- ln -s lib${i}.${suffix#.} lib${i}$(get_libname) || die |
133 |
- popd > /dev/null |
134 |
- done |
135 |
- |
136 |
- if multilib_is_native_abi; then |
137 |
- einfo "Beginning programs build" |
138 |
- for i in $(use examples && echo "testProgs") proxyServer mediaServer ; do |
139 |
- cd "${BUILD_DIR}/live-shared/${i}" |
140 |
- emake LINK_OPTS="-L. ${LDFLAGS}" |
141 |
- done |
142 |
- fi |
143 |
-} |
144 |
- |
145 |
-multilib_src_install() { |
146 |
- for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do |
147 |
- use static-libs && dolib.a live-static/${library}/lib${library}.a |
148 |
- dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION}) |
149 |
- dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname) |
150 |
- |
151 |
- insinto /usr/include/${library} |
152 |
- doins live-shared/${library}/include/*h |
153 |
- done |
154 |
- |
155 |
- if multilib_is_native_abi; then |
156 |
- # Should we really install these? |
157 |
- use examples && find live-shared/testProgs -type f -perm 755 -print0 | \ |
158 |
- xargs -0 dobin |
159 |
- |
160 |
- dobin live-shared/mediaServer/live555MediaServer |
161 |
- dobin live-shared/proxyServer/live555ProxyServer |
162 |
- fi |
163 |
-} |
164 |
|
165 |
diff --git a/media-plugins/live/live-2018.01.29.ebuild b/media-plugins/live/live-2018.01.29.ebuild |
166 |
deleted file mode 100644 |
167 |
index d833ddf75eb..00000000000 |
168 |
--- a/media-plugins/live/live-2018.01.29.ebuild |
169 |
+++ /dev/null |
170 |
@@ -1,128 +0,0 @@ |
171 |
-# Copyright 1999-2018 Gentoo Foundation |
172 |
-# Distributed under the terms of the GNU General Public License v2 |
173 |
- |
174 |
-EAPI=5 |
175 |
-inherit flag-o-matic eutils toolchain-funcs multilib multilib-minimal |
176 |
- |
177 |
-DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming" |
178 |
-HOMEPAGE="http://www.live555.com/" |
179 |
-SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz |
180 |
- mirror://gentoo/${P/-/.}.tar.gz" |
181 |
- |
182 |
-LICENSE="LGPL-2.1" |
183 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
184 |
-IUSE="examples static-libs" |
185 |
-DOCS=( "live-shared/README" ) |
186 |
- |
187 |
-# Alexis Ballier <aballier@g.o> |
188 |
-# Be careful, bump this everytime you bump the package and the ABI has changed. |
189 |
-# If you don't know, ask someone. |
190 |
-LIVE_ABI_VERSION=7 |
191 |
-SLOT="0/${LIVE_ABI_VERSION}" |
192 |
- |
193 |
-src_unpack() { |
194 |
- unpack ${A} |
195 |
- mkdir -p "${S}" |
196 |
- mv "${WORKDIR}/live" "${S}/" || die |
197 |
-} |
198 |
- |
199 |
-src_prepare() { |
200 |
- epatch "${FILESDIR}/${PN}-recursive3.patch" |
201 |
- |
202 |
- if use static-libs ; then |
203 |
- cp -pPR live live-shared |
204 |
- mv live live-static |
205 |
- else |
206 |
- mv live live-shared |
207 |
- fi |
208 |
- |
209 |
- use static-libs && cp "${FILESDIR}/config.gentoo-r1" live-static/config.gentoo |
210 |
- cp "${FILESDIR}/config.gentoo-so-r2" live-shared/config.gentoo-so-r1 |
211 |
- |
212 |
- case ${CHOST} in |
213 |
- *-solaris*) |
214 |
- use static-libs && { sed -i \ |
215 |
- -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ |
216 |
- -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ |
217 |
- live-static/config.gentoo \ |
218 |
- || die ; } |
219 |
- sed -i \ |
220 |
- -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ |
221 |
- -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ |
222 |
- live-shared/config.gentoo-so-r1 \ |
223 |
- || die |
224 |
- ;; |
225 |
- *-darwin*) |
226 |
- use static-libs && { sed -i \ |
227 |
- -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ |
228 |
- -e '/^LINK /s/$/ /' \ |
229 |
- -e '/^LIBRARY_LINK /s/$/ /' \ |
230 |
- -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \ |
231 |
- live-static/config.gentoo \ |
232 |
- || die static ; } |
233 |
- sed -i \ |
234 |
- -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ |
235 |
- -e '/^LINK /s/$/ /' \ |
236 |
- -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \ |
237 |
- -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \ |
238 |
- -e '/^LIB_SUFFIX /s/so/dylib/' \ |
239 |
- live-shared/config.gentoo-so-r1 \ |
240 |
- || die shared |
241 |
- ;; |
242 |
- esac |
243 |
- multilib_copy_sources |
244 |
-} |
245 |
- |
246 |
-src_configure() { :; } |
247 |
- |
248 |
-multilib_src_compile() { |
249 |
- tc-export CC CXX LD |
250 |
- |
251 |
- if use static-libs ; then |
252 |
- cd "${BUILD_DIR}/live-static" |
253 |
- |
254 |
- einfo "Beginning static library build" |
255 |
- ./genMakefiles gentoo |
256 |
- emake -j1 LINK_OPTS="-L. $(raw-ldflags)" |
257 |
- fi |
258 |
- |
259 |
- cd "${BUILD_DIR}/live-shared" |
260 |
- einfo "Beginning shared library build" |
261 |
- ./genMakefiles gentoo-so-r1 |
262 |
- local suffix=$(get_libname ${LIVE_ABI_VERSION}) |
263 |
- emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" |
264 |
- |
265 |
- for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do |
266 |
- pushd "${BUILD_DIR}/live-shared/${i}" > /dev/null |
267 |
- ln -s lib${i}.${suffix#.} lib${i}$(get_libname) || die |
268 |
- popd > /dev/null |
269 |
- done |
270 |
- |
271 |
- if multilib_is_native_abi; then |
272 |
- einfo "Beginning programs build" |
273 |
- for i in $(use examples && echo "testProgs") proxyServer mediaServer ; do |
274 |
- cd "${BUILD_DIR}/live-shared/${i}" |
275 |
- emake LINK_OPTS="-L. ${LDFLAGS}" |
276 |
- done |
277 |
- fi |
278 |
-} |
279 |
- |
280 |
-multilib_src_install() { |
281 |
- for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do |
282 |
- use static-libs && dolib.a live-static/${library}/lib${library}.a |
283 |
- dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION}) |
284 |
- dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname) |
285 |
- |
286 |
- insinto /usr/include/${library} |
287 |
- doins live-shared/${library}/include/*h |
288 |
- done |
289 |
- |
290 |
- if multilib_is_native_abi; then |
291 |
- # Should we really install these? |
292 |
- use examples && find live-shared/testProgs -type f -perm 755 -print0 | \ |
293 |
- xargs -0 dobin |
294 |
- |
295 |
- dobin live-shared/mediaServer/live555MediaServer |
296 |
- dobin live-shared/proxyServer/live555ProxyServer |
297 |
- fi |
298 |
-} |
299 |
|
300 |
diff --git a/media-plugins/live/live-2018.07.07.ebuild b/media-plugins/live/live-2018.07.07.ebuild |
301 |
deleted file mode 100644 |
302 |
index d833ddf75eb..00000000000 |
303 |
--- a/media-plugins/live/live-2018.07.07.ebuild |
304 |
+++ /dev/null |
305 |
@@ -1,128 +0,0 @@ |
306 |
-# Copyright 1999-2018 Gentoo Foundation |
307 |
-# Distributed under the terms of the GNU General Public License v2 |
308 |
- |
309 |
-EAPI=5 |
310 |
-inherit flag-o-matic eutils toolchain-funcs multilib multilib-minimal |
311 |
- |
312 |
-DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming" |
313 |
-HOMEPAGE="http://www.live555.com/" |
314 |
-SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz |
315 |
- mirror://gentoo/${P/-/.}.tar.gz" |
316 |
- |
317 |
-LICENSE="LGPL-2.1" |
318 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
319 |
-IUSE="examples static-libs" |
320 |
-DOCS=( "live-shared/README" ) |
321 |
- |
322 |
-# Alexis Ballier <aballier@g.o> |
323 |
-# Be careful, bump this everytime you bump the package and the ABI has changed. |
324 |
-# If you don't know, ask someone. |
325 |
-LIVE_ABI_VERSION=7 |
326 |
-SLOT="0/${LIVE_ABI_VERSION}" |
327 |
- |
328 |
-src_unpack() { |
329 |
- unpack ${A} |
330 |
- mkdir -p "${S}" |
331 |
- mv "${WORKDIR}/live" "${S}/" || die |
332 |
-} |
333 |
- |
334 |
-src_prepare() { |
335 |
- epatch "${FILESDIR}/${PN}-recursive3.patch" |
336 |
- |
337 |
- if use static-libs ; then |
338 |
- cp -pPR live live-shared |
339 |
- mv live live-static |
340 |
- else |
341 |
- mv live live-shared |
342 |
- fi |
343 |
- |
344 |
- use static-libs && cp "${FILESDIR}/config.gentoo-r1" live-static/config.gentoo |
345 |
- cp "${FILESDIR}/config.gentoo-so-r2" live-shared/config.gentoo-so-r1 |
346 |
- |
347 |
- case ${CHOST} in |
348 |
- *-solaris*) |
349 |
- use static-libs && { sed -i \ |
350 |
- -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ |
351 |
- -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ |
352 |
- live-static/config.gentoo \ |
353 |
- || die ; } |
354 |
- sed -i \ |
355 |
- -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ |
356 |
- -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ |
357 |
- live-shared/config.gentoo-so-r1 \ |
358 |
- || die |
359 |
- ;; |
360 |
- *-darwin*) |
361 |
- use static-libs && { sed -i \ |
362 |
- -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ |
363 |
- -e '/^LINK /s/$/ /' \ |
364 |
- -e '/^LIBRARY_LINK /s/$/ /' \ |
365 |
- -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \ |
366 |
- live-static/config.gentoo \ |
367 |
- || die static ; } |
368 |
- sed -i \ |
369 |
- -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ |
370 |
- -e '/^LINK /s/$/ /' \ |
371 |
- -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \ |
372 |
- -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \ |
373 |
- -e '/^LIB_SUFFIX /s/so/dylib/' \ |
374 |
- live-shared/config.gentoo-so-r1 \ |
375 |
- || die shared |
376 |
- ;; |
377 |
- esac |
378 |
- multilib_copy_sources |
379 |
-} |
380 |
- |
381 |
-src_configure() { :; } |
382 |
- |
383 |
-multilib_src_compile() { |
384 |
- tc-export CC CXX LD |
385 |
- |
386 |
- if use static-libs ; then |
387 |
- cd "${BUILD_DIR}/live-static" |
388 |
- |
389 |
- einfo "Beginning static library build" |
390 |
- ./genMakefiles gentoo |
391 |
- emake -j1 LINK_OPTS="-L. $(raw-ldflags)" |
392 |
- fi |
393 |
- |
394 |
- cd "${BUILD_DIR}/live-shared" |
395 |
- einfo "Beginning shared library build" |
396 |
- ./genMakefiles gentoo-so-r1 |
397 |
- local suffix=$(get_libname ${LIVE_ABI_VERSION}) |
398 |
- emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" |
399 |
- |
400 |
- for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do |
401 |
- pushd "${BUILD_DIR}/live-shared/${i}" > /dev/null |
402 |
- ln -s lib${i}.${suffix#.} lib${i}$(get_libname) || die |
403 |
- popd > /dev/null |
404 |
- done |
405 |
- |
406 |
- if multilib_is_native_abi; then |
407 |
- einfo "Beginning programs build" |
408 |
- for i in $(use examples && echo "testProgs") proxyServer mediaServer ; do |
409 |
- cd "${BUILD_DIR}/live-shared/${i}" |
410 |
- emake LINK_OPTS="-L. ${LDFLAGS}" |
411 |
- done |
412 |
- fi |
413 |
-} |
414 |
- |
415 |
-multilib_src_install() { |
416 |
- for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do |
417 |
- use static-libs && dolib.a live-static/${library}/lib${library}.a |
418 |
- dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION}) |
419 |
- dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname) |
420 |
- |
421 |
- insinto /usr/include/${library} |
422 |
- doins live-shared/${library}/include/*h |
423 |
- done |
424 |
- |
425 |
- if multilib_is_native_abi; then |
426 |
- # Should we really install these? |
427 |
- use examples && find live-shared/testProgs -type f -perm 755 -print0 | \ |
428 |
- xargs -0 dobin |
429 |
- |
430 |
- dobin live-shared/mediaServer/live555MediaServer |
431 |
- dobin live-shared/proxyServer/live555ProxyServer |
432 |
- fi |
433 |
-} |