diff options
author | Alexis Ballier <aballier@gentoo.org> | 2012-03-20 10:05:44 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2012-03-20 10:05:44 +0000 |
commit | 3e55e52a9c6303f101ca7a15c48da42572407fd4 (patch) | |
tree | b32ea0cde395f450e302c3d9cb19aa299fad6e32 /media-plugins/live | |
parent | Missing mkdir -p for $(DESTDIR)$(UDEVDIR) wrt #408973 by Richard Grenville (diff) | |
download | historical-3e55e52a9c6303f101ca7a15c48da42572407fd4.tar.gz historical-3e55e52a9c6303f101ca7a15c48da42572407fd4.tar.bz2 historical-3e55e52a9c6303f101ca7a15c48da42572407fd4.zip |
version bump
Package-Manager: portage-2.2.0_alpha93/cvs/Linux x86_64
Diffstat (limited to 'media-plugins/live')
-rw-r--r-- | media-plugins/live/ChangeLog | 7 | ||||
-rw-r--r-- | media-plugins/live/Manifest | 10 | ||||
-rw-r--r-- | media-plugins/live/live-2012.02.29.ebuild | 112 |
3 files changed, 124 insertions, 5 deletions
diff --git a/media-plugins/live/ChangeLog b/media-plugins/live/ChangeLog index 2e18fdb9c364..fd67e8e97f79 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.142 2012/03/20 10:00:20 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.143 2012/03/20 10:05:44 aballier Exp $ + +*live-2012.02.29 (20 Mar 2012) + + 20 Mar 2012; Alexis Ballier <aballier@gentoo.org> +live-2012.02.29.ebuild: + version bump 20 Mar 2012; Alexis Ballier <aballier@gentoo.org> -live-2011.12.23.ebuild: remove old diff --git a/media-plugins/live/Manifest b/media-plugins/live/Manifest index 57e213b2aeeb..6f0c1e5449fc 100644 --- a/media-plugins/live/Manifest +++ b/media-plugins/live/Manifest @@ -7,14 +7,16 @@ AUX config.gentoo-so-r1 505 RMD160 6bd37a2fa790eb116c477a6c77f61e88a3535348 SHA1 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.2012.01.07.tar.gz 534076 RMD160 1bfbbbe4b0ee7f627aa2551657bf9f0937603147 SHA1 a89bc86d179d17c57ed98c0bb8fdaf5f101fdb70 SHA256 8f3d167959b355c571caab2ee12cf70c89f09e93484f150080a59367b35c8131 +DIST live.2012.02.29.tar.gz 538874 RMD160 949dc8b1ac8314e2d21cd99d5266898c50acb796 SHA1 a2eb6ecf88e64475ac0d936c50939859311539a4 SHA256 cedf54750639a98acade344cf7888b67b04544f2964e6300b897454fd9d8fe01 EBUILD live-2009.06.02.ebuild 2688 RMD160 907541e56cae9099300647e741448aa51895c1ba SHA1 81899e914a1cbf97cdc0a205e8741184f0fae397 SHA256 2eb82ec8978f19a3b1ec68c66494a15c924dbad9700ce718e4407a006950b0ff EBUILD live-2012.01.07.ebuild 3716 RMD160 672a14862e4ca28e9f7abbda6fb625c0a1485ba4 SHA1 2ec17640d8a3d385e85c0c76defc701280add976 SHA256 6004ec27a82b0143b9d0e4e4db8907e2ceea4a6329c23bddd7a08f02519b5dbe -MISC ChangeLog 17924 RMD160 b31bb9454dbeec57a7e21fb6dc7e399fdf540b54 SHA1 39509014b5e9823733a68db10dca6af106bd429f SHA256 138975e0b89cb79ea156b4903d9b0428576b63eec9e797d473140e17fd5d7416 +EBUILD live-2012.02.29.ebuild 3716 RMD160 1584256c4e8f8d88ab6ed4c267275b9c044aaae3 SHA1 7afa62169844baa634246e0de8f685e846315cd0 SHA256 5f87f7ca4523ac727984ffbadf6e7f4717865a200152e90ce1c2adb99ccec331 +MISC ChangeLog 18049 RMD160 e347ca581d2deaf11ead33d55f4c36051891c81a SHA1 dd4490e3faa4453ac48ed043ae183cdab540f5f8 SHA256 99dae5f9e3bd2c60fefd91efe759e4e070554bd6650c2dffc0e70e0e762db903 MISC metadata.xml 225 RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d SHA1 1b8ccc849053361ac907dc9b652796defd1ce906 SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk9oVToACgkQvFcC4BYPU0ooawCdGzcqXFt00w5oou5aDr9MvyVq -eiEAoMXH4feH+wIYZJSpITh/jRZgLB0t -=WmpS +iEYEARECAAYFAk9oVn4ACgkQvFcC4BYPU0rPsACZAdDdBRCceJHAD8PqWemloia9 +jaYAn1hfTwDpH2JJo4LAoYj2WRScI3zI +=AR+J -----END PGP SIGNATURE----- diff --git a/media-plugins/live/live-2012.02.29.ebuild b/media-plugins/live/live-2012.02.29.ebuild new file mode 100644 index 000000000000..95dd35196c0c --- /dev/null +++ b/media-plugins/live/live-2012.02.29.ebuild @@ -0,0 +1,112 @@ +# 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.02.29.ebuild,v 1.1 2012/03/20 10:05: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=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." +} |