diff options
author | Alexis Ballier <aballier@gentoo.org> | 2012-09-21 11:52:00 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2012-09-21 11:52:00 +0000 |
commit | d955938d7da7d7dd8a2364b994928718afdfe9f5 (patch) | |
tree | 84edd9dc8737d39e8d043e3b9782e64072c80cdf /media-plugins/live | |
parent | update git url (diff) | |
download | historical-d955938d7da7d7dd8a2364b994928718afdfe9f5.tar.gz historical-d955938d7da7d7dd8a2364b994928718afdfe9f5.tar.bz2 historical-d955938d7da7d7dd8a2364b994928718afdfe9f5.zip |
remove old
Package-Manager: portage-2.2.0_alpha130/cvs/Linux x86_64
Diffstat (limited to 'media-plugins/live')
-rw-r--r-- | media-plugins/live/ChangeLog | 6 | ||||
-rw-r--r-- | media-plugins/live/Manifest | 14 | ||||
-rw-r--r-- | media-plugins/live/live-2012.04.04.ebuild | 116 | ||||
-rw-r--r-- | media-plugins/live/live-2012.04.21.ebuild | 126 | ||||
-rw-r--r-- | media-plugins/live/live-2012.06.26.ebuild | 126 |
5 files changed, 9 insertions, 379 deletions
diff --git a/media-plugins/live/ChangeLog b/media-plugins/live/ChangeLog index 3e03de54f66c..1f608b1c564b 100644 --- a/media-plugins/live/ChangeLog +++ b/media-plugins/live/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-plugins/live # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.158 2012/08/22 15:25:16 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.159 2012/09/21 11:52:00 aballier Exp $ + + 21 Sep 2012; Alexis Ballier <aballier@gentoo.org> -live-2012.04.04.ebuild, + -live-2012.04.21.ebuild, -live-2012.06.26.ebuild: + remove old *live-2012.08.20 (22 Aug 2012) diff --git a/media-plugins/live/Manifest b/media-plugins/live/Manifest index 47533e99ae76..5a3708ccb0be 100644 --- a/media-plugins/live/Manifest +++ b/media-plugins/live/Manifest @@ -6,21 +6,15 @@ AUX config.gentoo-so-r1 505 SHA256 be1d556e414d128ee3998b4ad640dcd2fb829430c1349 AUX live-recursive.patch 401 SHA256 353e9d709ae60a216069d39880ae1781e2037692c77ea5aca60dfb0ca1b2ae88 SHA512 ccf3b2b46b0a72e6ef8ad048310851139ffd94d2776ce2f8afe3b3df90faead87df4a48408a928b816a296007230624981103721197ba3a003f3fbe089421364 WHIRLPOOL d8dba8f5d7614a0cd25b4db61084a8344a32e52357980176bdce9c4993521a2e1ef1b37affc0ac1f2c4564080b25348a658977e8464cd225566cf86ae72aa9ef AUX live-recursive2.patch 436 SHA256 7276c4465574d0862c280fe44955621b0aba02e21a2dd97ec352ccf24aaac06e SHA512 de27c72dc2d9eea18717c404a8f11ebd4bdcaeaf70056dd7d02107e867859146e16625e7204a9c50195c2ca6efcb4f38a3dc0c3da2ff3623ce29087f6c13f20d WHIRLPOOL 6f20150eaea40cf9de595c6265b80d93111c6c1ede8f67b21ec4513fcf0f063dd0c3ac367f9d07f82cd479b3a86599813b8757639635d91f793f70f67289b0f0 DIST live.2012.01.07.tar.gz 534076 SHA256 8f3d167959b355c571caab2ee12cf70c89f09e93484f150080a59367b35c8131 -DIST live.2012.04.04.tar.gz 541301 SHA256 673ec5b14157a4ba4fed2dd49b2c3c0a63378439df1b9cc392eaf2bdad892412 -DIST live.2012.04.21.tar.gz 548778 SHA256 b5073bdfe615d6bf9f6fff48e9cabeb835a6286dfc0d8679853e516ed64aea81 SHA512 702dcba4420ca913a5cdda124d2c8598207f947b81e42a461c3ce6e201ddd5163a276e63b4ac4198418b53130beae6746739c2a56ecf6807aa771a014a6c7c4f WHIRLPOOL 8225514fa5974e57e507d1f77b290c40014af48f3a1d48fc10e007fe8054281014622681fe84065d18fe704d7b8d458d1f33e016858c523e93aabe49fde14a8b -DIST live.2012.06.26.tar.gz 550760 SHA256 51b0fd167c5f7807f7b597a8f039c96a2574bbcc9be2c81130504eedbf3fba2b SHA512 357638dcb9d49a4522084898089170965f6c36d0d3b2318ac77892b1e0b489132c7978b9853a307b78f72f69141ac3bf441027ca33edd0b577a5f95bb8ed91fa WHIRLPOOL b13bccbf199784cd8e859bf97d453d3ebc30128fe4b425bd2e84252dba1cac63e024fdf09c00fb375f004be26f3e09f670afc534eadf4b46b56b1eb8bb0b7889 DIST live.2012.08.20.tar.gz 557886 SHA256 9351ea3d1f5538c5995d8cca57710e67ad50c1f9c581ee6abe5b6f4d1674056b SHA512 9e1bbf5e662c160d05c21abdb89240d570a84ff603d9fc18b9232b7d533000d4798383d463fb4d81731bb4074fcde429c380751a2d5e551a49859ba999604395 WHIRLPOOL 1d9ec30fa34499fcf831a3de79d0f2397087d1f2ca88daefd6a35c0510c32fa6b1f6342fb3997db0524aeac212b1d5a0068026ee2e7a0b1349c134edd242a273 EBUILD live-2012.01.07.ebuild 3706 SHA256 6a939b524fcf3c10dcd285445b661911e1c8f0c222c893049cf743c1fe51af33 SHA512 79959288346f1366fa7c0fb0a7e3c51884be2a72619ebef515d6ba0f23c02a3d59ed532712e14d03e8032266c043638984e0ee701fee8e01ffbe57123b7e477d WHIRLPOOL a0fe776366e168e80ce78d67d3da85b594ac4f696a43fe9131be2a3376bb552355991b16786116bf1dbbb3da9945d24509625fa4c0b57f5d5c0c7bc5e5b05e9a -EBUILD live-2012.04.04.ebuild 3873 SHA256 a4744169bad50a70319e62aca1f3ac22f8872b0d431dd77f05c0cea304966232 SHA512 fe6a30141c0cefef4a3934dd0cf71f8638ae47825bb7e659892c0f78fba1b16190c8291c191bbae66a856058e64e94b8df8e7cef4499f77f9cb80400fbbd6f9c WHIRLPOOL 6aa1d448e2f74216b28b90f827f17565ad51202556903daf7b6824041d2a0fb37b361f9e1a32f18681574a5ba6eb1e386b96230fbb3361e5e1444ae6083a7378 -EBUILD live-2012.04.21.ebuild 4205 SHA256 94eda55543b5602c51e9ff2930477752f05153135ffd7a94e150d5eca9c03785 SHA512 a0889f8c9aa6597e75ff4260d9a084c89b49d894308a608049dbbfe57006b471578908e01b37ca7f3c379e3599312d3a156218da9d71645832254a0a8a9c3e9f WHIRLPOOL a4a837083ad35adc9e141827a8007d33744262fe4947a5940cf6e7c347a17a725a0e9d53dd700ed0152d3833d3e8e3abcf7976c5b6660b81172f549948814b80 -EBUILD live-2012.06.26.ebuild 4204 SHA256 fa79e1ed712734c7af008c56ec63a746246e6c4f7e7fbce3e532a9042084fe59 SHA512 e4e8227d601fef15d838c78bf950a37de8e006823b4968503c29ab22e0e54ba9a99b0b37ae44f09af3c3df3b813ac0fe79983e522414386bb2dc768aac1bf93a WHIRLPOOL 49b70d5d25490abfa2b73174ecae8191b200d0f2f5a95e694d30504b8356b2661196dc80751c72ecc8ad49349375f59a00a1fd991d26fb4399aee04c41ab7c94 EBUILD live-2012.08.20.ebuild 4204 SHA256 d8d72d5c7b55c38666a19fdbb7a27497c0a9df8fd9662b6ce7beabafbc33a84f SHA512 2de020c3a456b13cb00e1d02005bf0eb0ec4ddcdf79f345b2fc5ebcd27c2427bf35d2482b64e6cf582774e886d2c0270d34c877a901f6dc370df3deb5d664da4 WHIRLPOOL 6006aafcb188217b4ce9eaf5dd77768d12d5052346ff3dcf46310824f837a00bc379268f81c33bf9e1affbb67334a822fd2b24fd75090ee20ca5a96550d0f33e -MISC ChangeLog 20143 SHA256 92cb1cd6753ff20180f2049505725072b418d9aa4a5e33d399a25507604ddc0d SHA512 9eed30f4c8528e5c5f3860b499b12aa575b85fbc67501e7c40bff90ea05adc68bc595c4f25e6375b6df920333507838b40858eb7711527e86da56f7bd3c382fe WHIRLPOOL 12896f00da9b16204d4dce643a64b541f87015b055aa24aa576aa2299b0b2845db20b5d69ae6fe66f4a9ced54e27c75dfb6a11dc6ada5c2fcd468b6851df3bcb +MISC ChangeLog 20286 SHA256 0bde3c97781be9a03149faf5299e2ae4d06db13bc35b1b514ae0abe76a99d0d7 SHA512 4b2fe345e07b733116d34db9c717bf3d12f7ecd3559c6fcb9ac593ad92280cf537f36792e616db23a8b55057c30f064f820230f7ed46c019b14784516ad81638 WHIRLPOOL f0c00cf3405f94d4a026d6ee00280e817b556b70a2b2becad154d7d7705df08aa6bd8bc3c33c1bc7d318cb22d5da89d21728c513f6b756c4b666fb94af5cbf9b MISC metadata.xml 225 SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5 SHA512 79bf53ca11044e2cbddf8ba8c661abd2a6f7602748ef4dc1d1a3447d4f0e5a15a4d69f6e1f60e0f854465097019607a6fe7157906bc41ddfe41fb747de3ca7d6 WHIRLPOOL d257430e16390fc27365e2f58796f0f0b7c2c818f1bae76bb2a13b7971e5d33baa9d8aa33a12605653d05e0c7bd52b020aa96b737c56ac1038c32897c481a12c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlA0+eEACgkQvFcC4BYPU0pdFACgqEaa7Y3+m+eChq4/3Uqi3J2N -Ju4AniW70rbO5OOt2HqiWCfK0c/AYsRM -=+oI+ +iEYEAREIAAYFAlBcVOYACgkQvFcC4BYPU0oVRACfcSndnz1RSK+AUmlB3QLv3Ivc +ueUAoKvoeH/r9dKal8xYuTa7ZPZz1rPQ +=JQD7 -----END PGP SIGNATURE----- diff --git a/media-plugins/live/live-2012.04.04.ebuild b/media-plugins/live/live-2012.04.04.ebuild deleted file mode 100644 index cbdc38f474bf..000000000000 --- a/media-plugins/live/live-2012.04.04.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2012.04.04.ebuild,v 1.1 2012/04/05 12:32:44 aballier Exp $ - -EAPI=3 -inherit flag-o-matic eutils toolchain-funcs multilib - -DESCRIPTION="Source-code libraries for standards-based RTP/RTCP/RTSP multimedia streaming, suitable for embedded and/or low-cost streaming applications" -HOMEPAGE="http://www.live555.com/" -SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" -IUSE="" - -S="${WORKDIR}" - -# Alexis Ballier <aballier@gentoo.org> -# Be careful, bump this everytime you bump the package and the ABI has changed. -# If you don't know, ask someone. -LIVE_ABI_VERSION=5 - -src_prepare() { - cd "${WORKDIR}" - epatch "${FILESDIR}/${PN}-recursive.patch" - - cp -pPR live live-shared - mv live live-static - - cp "${FILESDIR}/config.gentoo" live-static - cp "${FILESDIR}/config.gentoo-so-r1" live-shared - - case ${CHOST} in - *-solaris*) - sed -i \ - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS/' \ - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ - live-static/config.gentoo \ - live-shared/config.gentoo-so-r1 \ - || die - ;; - *-darwin*) - sed -i \ - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ - -e '/^LINK /s/$/ /' \ - -e '/^LIBRARY_LINK /s/$/ /' \ - -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \ - live-static/config.gentoo \ - || die static - sed -i \ - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ - -e '/^LINK /s/$/ /' \ - -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \ - -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \ - live-shared/config.gentoo-so-r1 \ - || die shared - ;; - esac -} - -src_configure() { :; } - -src_compile() { - tc-export CC CXX LD - - # Still build the old synchronous interface as mplayer still needs it. - # Please drop me at some point! - append-flags '-DRTSPCLIENT_SYNCHRONOUS_INTERFACE' - - cd "${WORKDIR}/live-static" - - einfo "Beginning static library build" - ./genMakefiles gentoo - emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries" - - einfo "Beginning programs build" - cd "${WORKDIR}/live-static/testProgs" - emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs" - cd "${WORKDIR}/live-static/mediaServer" - emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build the mediaserver" - - cd "${WORKDIR}/live-shared" - einfo "Beginning shared library build" - ./genMakefiles gentoo-so-r1 - local suffix=$(get_libname ${LIVE_ABI_VERSION}) - emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries" -} - -src_install() { - for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do - dolib.a live-static/${library}/lib${library}.a - dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION}) - dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname) - - insinto /usr/include/${library} - doins live-shared/${library}/include/*h - done - - # Should we really install these? - find live-static/testProgs -type f -perm +111 -print0 | \ - xargs -0 dobin - - #install included live555MediaServer aplication - dobin live-static/mediaServer/live555MediaServer - - # install docs - dodoc live-static/README -} - -pkg_postinst() { - ewarn "If you are upgrading from a version prior to live-2008.02.08" - ewarn "Please make sure to rebuild applications built against ${PN}" - ewarn "like vlc or mplayer. ${PN} may have had ABI changes and ${PN}" - ewarn "support might be broken." -} diff --git a/media-plugins/live/live-2012.04.21.ebuild b/media-plugins/live/live-2012.04.21.ebuild deleted file mode 100644 index c3b5fa297853..000000000000 --- a/media-plugins/live/live-2012.04.21.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2012.04.21.ebuild,v 1.4 2012/06/15 15:11:46 mr_bones_ Exp $ - -EAPI=3 -inherit flag-o-matic eutils toolchain-funcs multilib - -DESCRIPTION="Source-code libraries for standards-based RTP/RTCP/RTSP multimedia streaming, suitable for embedded and/or low-cost streaming applications" -HOMEPAGE="http://www.live555.com/" -SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" -IUSE="examples static-libs" - -S="${WORKDIR}" - -# Alexis Ballier <aballier@gentoo.org> -# Be careful, bump this everytime you bump the package and the ABI has changed. -# If you don't know, ask someone. -LIVE_ABI_VERSION=6 - -src_prepare() { - cd "${WORKDIR}" - epatch "${FILESDIR}/${PN}-recursive2.patch" - - if use static-libs ; then - cp -pPR live live-shared - mv live live-static - else - mv live live-shared - fi - - use static-libs && cp "${FILESDIR}/config.gentoo" live-static - cp "${FILESDIR}/config.gentoo-so-r1" live-shared - - case ${CHOST} in - *-solaris*) - use static-libs && { sed -i \ - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ - live-static/config.gentoo \ - || die ; } - sed -i \ - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ - live-shared/config.gentoo-so-r1 \ - || die - ;; - *-darwin*) - use static-libs && { sed -i \ - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ - -e '/^LINK /s/$/ /' \ - -e '/^LIBRARY_LINK /s/$/ /' \ - -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \ - live-static/config.gentoo \ - || die static ; } - sed -i \ - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ - -e '/^LINK /s/$/ /' \ - -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \ - -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \ - -e '/^LIB_SUFFIX /s/so/dylib/' \ - live-shared/config.gentoo-so-r1 \ - || die shared - ;; - esac -} - -src_configure() { :; } - -src_compile() { - tc-export CC CXX LD - - # Still build the old synchronous interface as mplayer still needs it. - # Please drop me at some point! - append-flags '-DRTSPCLIENT_SYNCHRONOUS_INTERFACE' - - if use static-libs ; then - cd "${WORKDIR}/live-static" - - einfo "Beginning static library build" - ./genMakefiles gentoo - emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries" - fi - - cd "${WORKDIR}/live-shared" - einfo "Beginning shared library build" - ./genMakefiles gentoo-so-r1 - local suffix=$(get_libname ${LIVE_ABI_VERSION}) - emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries" - - for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do - pushd "${WORKDIR}/live-shared/${i}" > /dev/null - ln -s lib${i}.${suffix#.} lib${i}$(get_libname) || die - popd > /dev/null - done - - einfo "Beginning programs build" - for i in $(use examples && echo "testProgs") proxyServer mediaServer ; do - cd "${WORKDIR}/live-shared/${i}" - emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs" - done -} - -src_install() { - for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do - use static-libs && dolib.a live-static/${library}/lib${library}.a - dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION}) - dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname) - - insinto /usr/include/${library} - doins live-shared/${library}/include/*h - done - - # Should we really install these? - use examples && find live-shared/testProgs -type f -perm +111 -print0 | \ - xargs -0 dobin - - dobin live-shared/mediaServer/live555MediaServer - dobin live-shared/proxyServer/live555ProxyServer - - # install docs - dodoc live-shared/README -} diff --git a/media-plugins/live/live-2012.06.26.ebuild b/media-plugins/live/live-2012.06.26.ebuild deleted file mode 100644 index c99ec62c2602..000000000000 --- a/media-plugins/live/live-2012.06.26.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2012.06.26.ebuild,v 1.1 2012/07/01 19:08:34 aballier Exp $ - -EAPI=3 -inherit flag-o-matic eutils toolchain-funcs multilib - -DESCRIPTION="Source-code libraries for standards-based RTP/RTCP/RTSP multimedia streaming, suitable for embedded and/or low-cost streaming applications" -HOMEPAGE="http://www.live555.com/" -SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" -IUSE="examples static-libs" - -S="${WORKDIR}" - -# Alexis Ballier <aballier@gentoo.org> -# Be careful, bump this everytime you bump the package and the ABI has changed. -# If you don't know, ask someone. -LIVE_ABI_VERSION=6 - -src_prepare() { - cd "${WORKDIR}" - epatch "${FILESDIR}/${PN}-recursive2.patch" - - if use static-libs ; then - cp -pPR live live-shared - mv live live-static - else - mv live live-shared - fi - - use static-libs && cp "${FILESDIR}/config.gentoo" live-static - cp "${FILESDIR}/config.gentoo-so-r1" live-shared - - case ${CHOST} in - *-solaris*) - use static-libs && { sed -i \ - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ - live-static/config.gentoo \ - || die ; } - sed -i \ - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ - live-shared/config.gentoo-so-r1 \ - || die - ;; - *-darwin*) - use static-libs && { sed -i \ - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ - -e '/^LINK /s/$/ /' \ - -e '/^LIBRARY_LINK /s/$/ /' \ - -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \ - live-static/config.gentoo \ - || die static ; } - sed -i \ - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ - -e '/^LINK /s/$/ /' \ - -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \ - -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \ - -e '/^LIB_SUFFIX /s/so/dylib/' \ - live-shared/config.gentoo-so-r1 \ - || die shared - ;; - esac -} - -src_configure() { :; } - -src_compile() { - tc-export CC CXX LD - - # Still build the old synchronous interface as mplayer still needs it. - # Please drop me at some point! - append-flags '-DRTSPCLIENT_SYNCHRONOUS_INTERFACE' - - if use static-libs ; then - cd "${WORKDIR}/live-static" - - einfo "Beginning static library build" - ./genMakefiles gentoo - emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries" - fi - - cd "${WORKDIR}/live-shared" - einfo "Beginning shared library build" - ./genMakefiles gentoo-so-r1 - local suffix=$(get_libname ${LIVE_ABI_VERSION}) - emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries" - - for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do - pushd "${WORKDIR}/live-shared/${i}" > /dev/null - ln -s lib${i}.${suffix#.} lib${i}$(get_libname) || die - popd > /dev/null - done - - einfo "Beginning programs build" - for i in $(use examples && echo "testProgs") proxyServer mediaServer ; do - cd "${WORKDIR}/live-shared/${i}" - emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs" - done -} - -src_install() { - for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do - use static-libs && dolib.a live-static/${library}/lib${library}.a - dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION}) - dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname) - - insinto /usr/include/${library} - doins live-shared/${library}/include/*h - done - - # Should we really install these? - use examples && find live-shared/testProgs -type f -perm +111 -print0 | \ - xargs -0 dobin - - dobin live-shared/mediaServer/live555MediaServer - dobin live-shared/proxyServer/live555ProxyServer - - # install docs - dodoc live-shared/README -} |