diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-02-21 14:29:17 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-02-21 14:29:17 +0000 |
commit | 58f060486cd8bacef463aa07ea7f81e91dcec967 (patch) | |
tree | 589b13369a316bd9aad6fd8aca2a8a724c4bfe5c /media-plugins/live | |
parent | sci-mathematics/gsl-shell: Use tc-getPKG_CONFIG from toolchain-funcs.eclass i... (diff) | |
download | historical-58f060486cd8bacef463aa07ea7f81e91dcec967.tar.gz historical-58f060486cd8bacef463aa07ea7f81e91dcec967.tar.bz2 historical-58f060486cd8bacef463aa07ea7f81e91dcec967.zip |
version bump
Package-Manager: portage-2.2.0_alpha163/cvs/Linux x86_64
Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'media-plugins/live')
-rw-r--r-- | media-plugins/live/ChangeLog | 9 | ||||
-rw-r--r-- | media-plugins/live/Manifest | 10 | ||||
-rw-r--r-- | media-plugins/live/live-2013.02.11.ebuild | 127 |
3 files changed, 140 insertions, 6 deletions
diff --git a/media-plugins/live/ChangeLog b/media-plugins/live/ChangeLog index 35133ae46e2b..01b1eac4dd0a 100644 --- a/media-plugins/live/ChangeLog +++ b/media-plugins/live/ChangeLog @@ -1,6 +1,11 @@ # 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.162 2012/11/01 16:30:25 aballier Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.163 2013/02/21 14:29:09 aballier Exp $ + +*live-2013.02.11 (21 Feb 2013) + + 21 Feb 2013; Alexis Ballier <aballier@gentoo.org> +live-2013.02.11.ebuild: + version bump 01 Nov 2012; Alexis Ballier <aballier@gentoo.org> live-2012.09.13.ebuild: add mirror://gentoo as SRC_URI fallback since upstream removes old version diff --git a/media-plugins/live/Manifest b/media-plugins/live/Manifest index c8121b16df3e..e043557198a3 100644 --- a/media-plugins/live/Manifest +++ b/media-plugins/live/Manifest @@ -7,14 +7,16 @@ AUX live-recursive.patch 401 SHA256 353e9d709ae60a216069d39880ae1781e2037692c77e AUX live-recursive2.patch 436 SHA256 7276c4465574d0862c280fe44955621b0aba02e21a2dd97ec352ccf24aaac06e SHA512 de27c72dc2d9eea18717c404a8f11ebd4bdcaeaf70056dd7d02107e867859146e16625e7204a9c50195c2ca6efcb4f38a3dc0c3da2ff3623ce29087f6c13f20d WHIRLPOOL 6f20150eaea40cf9de595c6265b80d93111c6c1ede8f67b21ec4513fcf0f063dd0c3ac367f9d07f82cd479b3a86599813b8757639635d91f793f70f67289b0f0 DIST live.2012.01.07.tar.gz 534076 SHA256 8f3d167959b355c571caab2ee12cf70c89f09e93484f150080a59367b35c8131 DIST live.2012.09.13.tar.gz 560899 SHA256 d5667373aed8766c0a983a71b37c208976e93f181974d3a1a4ab6d9845df9be7 SHA512 344c29038e9882b3ad8678ceec7755aca5013e3b0821ca6b9d846cc1c926c1dc125b71dce91986b760793123ebff9f291aaf0dbfb3570721968f641a2b530c5d WHIRLPOOL 1b76f557e2a8441b36ceba7d274eccf4b9337224c63c1b4d4d8b3e3ba4277d9bbf4e7ebc0665e914bc476cae5178ae09ad8bc0dc1024a676ded94b293c2a0b13 +DIST live.2013.02.11.tar.gz 570837 SHA256 2cd619e61b9293a094a2cbb8dd7a7505f8e74e6197b80989093425ac78a86d83 SHA512 c0f2efbf2af06d5e5f2bc58955ca37942022a439e3c48bec06a49b636e08d4d31855e884586448c698b0c90d35ef24f282570d0026c4454c9e58855ff36713be WHIRLPOOL 121fb4815c44db793a3c225faa5c16e68a8f975e45e8c4d492886aa82a57dd1571ad14076375767524cb848336b702cccc9ab17af79787ac489b6eb789fd9bd9 EBUILD live-2012.01.07.ebuild 3706 SHA256 6a939b524fcf3c10dcd285445b661911e1c8f0c222c893049cf743c1fe51af33 SHA512 79959288346f1366fa7c0fb0a7e3c51884be2a72619ebef515d6ba0f23c02a3d59ed532712e14d03e8032266c043638984e0ee701fee8e01ffbe57123b7e477d WHIRLPOOL a0fe776366e168e80ce78d67d3da85b594ac4f696a43fe9131be2a3376bb552355991b16786116bf1dbbb3da9945d24509625fa4c0b57f5d5c0c7bc5e5b05e9a EBUILD live-2012.09.13.ebuild 4237 SHA256 e7ff6e35941ee52139e3d5bea8ed5be835f5a685b2648d45a589840be89c1350 SHA512 c593286ac548cf23583bb1c571f6e0008a60d00a4eac918d80553a4ef0c799def01b3d85b5169fa83f0b5263f138873b7e7c045ca0f8ce90d10584d210112de7 WHIRLPOOL 105fc2a3c5cf5fb2ea11977203337523edc00e39beb20c01e75be6910b71a3381b9fbc9446d671f4788b120c7377daa52ab3bfbcd4a40af196304a890435714d -MISC ChangeLog 20695 SHA256 8ea6f5941acab5cf670e7f97598eacc14d3be1706ff474d212f23f695476acc7 SHA512 77c42ced56f090e9450c2d6b902a2d5fb8b4426b7f43d5e76acb8b725574c06ad32680e4ddfa9f474080c72d64f35855843c81f47b9b3c53b6a0a179249ff8f4 WHIRLPOOL 8c8c5a24c552a8c585db596d376b40b48021223b599d01a0234cdd584f89bd3682541f15440725614e39b6e6df85f3100465f4fa18d460f0d757870bddff683f +EBUILD live-2013.02.11.ebuild 4237 SHA256 7631000d3eb74329fe465ab1c20607e9eb9b97a5da938a50475b9bfdedcc7ec6 SHA512 5295d746553e6d011138ca9e0bceb61c061ecba0fb5237a9f6542d4c28598e08f2a5a6234c2e1b774efa3f4ba282f6eba09f052ca581a2cd927f005cabb83d49 WHIRLPOOL 6806332715b2fdcb3bf802038e653e68bbcbba66c2c02bb60747fe500d45c8167ae6f4c14bb12c6d210eee6cfff1d3a9e03fef11c64635fdea5a395233dad173 +MISC ChangeLog 20820 SHA256 3c1a4f42d9a70b1f6c4235990a4ce27bd05b22d0d92012e7d318b42d7899c414 SHA512 2c084ff4189d87b709ee3a4a6a6390a5264ba2ada39c78d0ca66ea37a84b57ae095c1d2d19fd25a994f06ae0f7c881806b5fe3c515257b114dcd30f2bf6804d1 WHIRLPOOL 1c5ba25c1c74b480a27e3960e863be11571b2a6ef205d590419941b85cd7e90d3b4fd846b3bf887b4814b6762c0d0804420b70914b448eb05173f36272ac9546 MISC metadata.xml 225 SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5 SHA512 79bf53ca11044e2cbddf8ba8c661abd2a6f7602748ef4dc1d1a3447d4f0e5a15a4d69f6e1f60e0f854465097019607a6fe7157906bc41ddfe41fb747de3ca7d6 WHIRLPOOL d257430e16390fc27365e2f58796f0f0b7c2c818f1bae76bb2a13b7971e5d33baa9d8aa33a12605653d05e0c7bd52b020aa96b737c56ac1038c32897c481a12c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlCSo6MACgkQvFcC4BYPU0rPcQCglMF3LAuM0zndMZb7TU9Mj963 -PusAnjpalT17MGX91rsDJwXyjP2c8VL6 -=+mMe +iEYEAREIAAYFAlEmLzcACgkQvFcC4BYPU0rpHwCgzkYMlVIvUyQJ8xWsZN5WW19z +YyMAn2zNUTvXIvygeCiFapb08O03UmWj +=yd3X -----END PGP SIGNATURE----- diff --git a/media-plugins/live/live-2013.02.11.ebuild b/media-plugins/live/live-2013.02.11.ebuild new file mode 100644 index 000000000000..ea16f31e89a4 --- /dev/null +++ b/media-plugins/live/live-2013.02.11.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2013.02.11.ebuild,v 1.1 2013/02/21 14:29:09 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 + mirror://gentoo/${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 +} |