diff options
author | Alexis Ballier <aballier@gentoo.org> | 2011-12-31 11:33:16 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2011-12-31 11:33:16 +0000 |
commit | a5f0d00f6fe1e9c921cc30abed829bb2ab07e3a2 (patch) | |
tree | 2dfdc84a195858e8ca2ce36df164e106593b65dd /media-plugins/live | |
parent | version bump (diff) | |
download | historical-a5f0d00f6fe1e9c921cc30abed829bb2ab07e3a2.tar.gz historical-a5f0d00f6fe1e9c921cc30abed829bb2ab07e3a2.tar.bz2 historical-a5f0d00f6fe1e9c921cc30abed829bb2ab07e3a2.zip |
remove old
Package-Manager: portage-2.2.0_alpha84/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 | 16 | ||||
-rw-r--r-- | media-plugins/live/live-2011.06.16.ebuild | 112 | ||||
-rw-r--r-- | media-plugins/live/live-2011.11.02.ebuild | 112 | ||||
-rw-r--r-- | media-plugins/live/live-2011.12.02.ebuild | 112 | ||||
-rw-r--r-- | media-plugins/live/live-2011.12.20.ebuild | 112 |
6 files changed, 9 insertions, 461 deletions
diff --git a/media-plugins/live/ChangeLog b/media-plugins/live/ChangeLog index 9fd4cd2378c3..2033ec43982a 100644 --- a/media-plugins/live/ChangeLog +++ b/media-plugins/live/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-plugins/live # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.139 2011/12/31 11:31:40 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.140 2011/12/31 11:33:16 aballier Exp $ + + 31 Dec 2011; Alexis Ballier <aballier@gentoo.org> -live-2011.06.16.ebuild, + -live-2011.11.02.ebuild, -live-2011.12.02.ebuild, -live-2011.12.20.ebuild: + remove old *live-2011.12.23 (31 Dec 2011) diff --git a/media-plugins/live/Manifest b/media-plugins/live/Manifest index ec4888b70eef..6657d9f61edf 100644 --- a/media-plugins/live/Manifest +++ b/media-plugins/live/Manifest @@ -6,23 +6,15 @@ AUX config.gentoo-so 504 RMD160 60475939b963301f3a26416d87e53f8b08668d3e SHA1 9b AUX config.gentoo-so-r1 505 RMD160 6bd37a2fa790eb116c477a6c77f61e88a3535348 SHA1 99961d3665c05375750c076e5f6bffc4044fdc42 SHA256 be1d556e414d128ee3998b4ad640dcd2fb829430c134997134e7054edac55eaf AUX live-recursive.patch 401 RMD160 512ee0cf4ca9139af5451be8bf7aa4321997cb03 SHA1 df84e25e5f879d93be4a71ec57c090f0d2c80f4f SHA256 353e9d709ae60a216069d39880ae1781e2037692c77ea5aca60dfb0ca1b2ae88 DIST live.2009.06.02.tar.gz 469471 RMD160 ddbe057ac4f47d66ee7c99ec3c4886fe97f06565 SHA1 a03ac47dc1b2a5e4745e30fc304af61675036782 SHA256 66c54241bfcc7ea42fe40e1c93739be79a3c065390c4163c0f2647ac45c24758 -DIST live.2011.06.16.tar.gz 477340 RMD160 57741f9e3339a3586a5f88002ce48ba8e5cad145 SHA1 bf6610c46bd8ea6730f81290d6eb7b64756729aa SHA256 08b776a28c0a385d83556d5ce3910bf8a32acf67d20022feade0a24d9033bac4 -DIST live.2011.11.02.tar.gz 520131 RMD160 f28eaf2e2e28047e8f42cbc5d73744e619ac17de SHA1 617249f2362f89235fad98f5439402e870124233 SHA256 4047c77e1f2d817ee6a9cfbd327d6afd1430c7a5bc0eabb7be842c26dd4bee23 -DIST live.2011.12.02.tar.gz 529241 RMD160 4bd26f2e8dd9c33e17e97f01782246c631a0a685 SHA1 49fc17aea94cc4c3e118684925e77ea81fe2ac7f SHA256 816526ad9098b853265c2bdaf1a0a368caeca1fc4d66eb3e68cf9eb46baa631e -DIST live.2011.12.20.tar.gz 525676 RMD160 a7bb128617756d7ad6aefb286019b40e3c3fb825 SHA1 ab7440833f5bd29792e4a8c303c981bf0df7efd5 SHA256 6b3294d64b8da5980af593d76db4486299b40a42316f2e656599d78503dde5b4 DIST live.2011.12.23.tar.gz 530737 RMD160 08f3da23927d046cee6beb2c8b4e16713aed679c SHA1 665b7542da1f719b929d51842f39474ef340d9f6 SHA256 8717e706a82f6b73cbcc66a190f20469154dfddffcdfb0ee0fec1b67ff70a5a5 EBUILD live-2009.06.02.ebuild 2688 RMD160 907541e56cae9099300647e741448aa51895c1ba SHA1 81899e914a1cbf97cdc0a205e8741184f0fae397 SHA256 2eb82ec8978f19a3b1ec68c66494a15c924dbad9700ce718e4407a006950b0ff -EBUILD live-2011.06.16.ebuild 3716 RMD160 495a120a00ea8d9a7714a8175e1aceb5b98dfef1 SHA1 46935d88b9330a5dd5fd13c8558a72851b216699 SHA256 56871cca7b7863dfe6dcd35ac8d88e80e4fdd2ab6b0f8625e3836f5d17ad1fbd -EBUILD live-2011.11.02.ebuild 3716 RMD160 6ac834bde0be736f44498d22b76194a3b7f9215a SHA1 7c84ca1516e8f5ceefdcc36d55ef41798e11c319 SHA256 1904d64ab3e92e2883991cd1c2548da75b59e3c05def124ab1411a29d3c3acf3 -EBUILD live-2011.12.02.ebuild 3716 RMD160 06323233d5e32fc24bcd8af4726e88995cbc130a SHA1 b5a6c0c1cfb532af2aad1d93350d0982d2eae3de SHA256 6c93df78d70cbc2c36741ffe05388ed475438287d8684fede00fd90925bc10e7 -EBUILD live-2011.12.20.ebuild 3716 RMD160 f6c6c1e42b5d90072417dfe540db4ca0279b3262 SHA1 f653ac7849fa82b918eb77e9f042591184564c25 SHA256 15af64a13d6561a10a2b148e3df9278d5eb00f32b8c7b26841a9c66aaffc5201 EBUILD live-2011.12.23.ebuild 3716 RMD160 8aef1e7fa90948f17e8b850eaa1a993534c01837 SHA1 7758e9771ac90b3877ce26d1ad65de478b0ad218 SHA256 0971fa535f822ea5a9522f06672001c65169ebc3028c068d2d4a1a15492ff534 -MISC ChangeLog 17540 RMD160 3b02770df40fef1191bfd0a5996a18721947daa6 SHA1 5eec657e39da0d9036ccee044b4cae56219014b5 SHA256 e28557c14cc48f9629bab55eb3001e9b938bed666ae4cf2286c810765f874499 +MISC ChangeLog 17708 RMD160 4c2f71b4c649adb8515552b64614223b15fc30de SHA1 fbae5cf2805d82aafcac19eb98cd869fce0a56c9 SHA256 bd2105b8d25579a5cbb896f59af1dab5d94ab45bea524bae6a49061c4ab30faa MISC metadata.xml 225 RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d SHA1 1b8ccc849053361ac907dc9b652796defd1ce906 SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk7+8qIACgkQvFcC4BYPU0poWwCgpXH3JdSXXEAspdE9sBcgRQ9x -gdYAoLkNytp+OhGUkxWfeKjP55SvG8KI -=n6Zo +iEYEARECAAYFAk7+8wIACgkQvFcC4BYPU0po6wCeLYHdC4pS51/GgwPzGROOboFC +PfcAoKieeyzmnbmDvfwZmOCrhoxBO0ev +=00rm -----END PGP SIGNATURE----- diff --git a/media-plugins/live/live-2011.06.16.ebuild b/media-plugins/live/live-2011.06.16.ebuild deleted file mode 100644 index 6e7170cd02d9..000000000000 --- a/media-plugins/live/live-2011.06.16.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2011.06.16.ebuild,v 1.1 2011/06/22 14:28:26 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=4 - -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 - - 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-2011.11.02.ebuild b/media-plugins/live/live-2011.11.02.ebuild deleted file mode 100644 index 2f823f54ae48..000000000000 --- a/media-plugins/live/live-2011.11.02.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2011.11.02.ebuild,v 1.1 2011/11/02 15:06:28 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=4 - -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 - - 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-2011.12.02.ebuild b/media-plugins/live/live-2011.12.02.ebuild deleted file mode 100644 index 80b5b738e4ad..000000000000 --- a/media-plugins/live/live-2011.12.02.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2011.12.02.ebuild,v 1.1 2011/12/03 04:10:42 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=4 - -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 - - 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-2011.12.20.ebuild b/media-plugins/live/live-2011.12.20.ebuild deleted file mode 100644 index 2a6a3e3725ff..000000000000 --- a/media-plugins/live/live-2011.12.20.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2011.12.20.ebuild,v 1.1 2011/12/22 12:48:42 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=4 - -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 - - 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." -} |