version bump
authorAlexis Ballier <aballier@gentoo.org>
Mon, 9 Jan 2012 16:41:26 +0000 (16:41 +0000)
committerAlexis Ballier <aballier@gentoo.org>
Mon, 9 Jan 2012 16:41:26 +0000 (16:41 +0000)
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64

media-plugins/live/ChangeLog
media-plugins/live/Manifest
media-plugins/live/live-2012.01.07.ebuild [new file with mode: 0644]

index 2033ec43982ae1a0cffc16c34761e7fc688fa43c..7b99c2f01b53c821f4252cbdd785a4d6c1484b90 100644 (file)
@@ -1,6 +1,11 @@
 # 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.140 2011/12/31 11:33:16 aballier Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.141 2012/01/09 16:41:26 aballier Exp $
+
+*live-2012.01.07 (09 Jan 2012)
+
+  09 Jan 2012; Alexis Ballier <aballier@gentoo.org> +live-2012.01.07.ebuild:
+  version bump
 
   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:
index 6657d9f61edfaedf09de2b325cea5b1e296499fe..8a0093f76c515105b01de57746c5676d4d52e41b 100644 (file)
@@ -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.2011.12.23.tar.gz 530737 RMD160 08f3da23927d046cee6beb2c8b4e16713aed679c SHA1 665b7542da1f719b929d51842f39474ef340d9f6 SHA256 8717e706a82f6b73cbcc66a190f20469154dfddffcdfb0ee0fec1b67ff70a5a5
+DIST live.2012.01.07.tar.gz 534076 RMD160 1bfbbbe4b0ee7f627aa2551657bf9f0937603147 SHA1 a89bc86d179d17c57ed98c0bb8fdaf5f101fdb70 SHA256 8f3d167959b355c571caab2ee12cf70c89f09e93484f150080a59367b35c8131
 EBUILD live-2009.06.02.ebuild 2688 RMD160 907541e56cae9099300647e741448aa51895c1ba SHA1 81899e914a1cbf97cdc0a205e8741184f0fae397 SHA256 2eb82ec8978f19a3b1ec68c66494a15c924dbad9700ce718e4407a006950b0ff
 EBUILD live-2011.12.23.ebuild 3716 RMD160 8aef1e7fa90948f17e8b850eaa1a993534c01837 SHA1 7758e9771ac90b3877ce26d1ad65de478b0ad218 SHA256 0971fa535f822ea5a9522f06672001c65169ebc3028c068d2d4a1a15492ff534
-MISC ChangeLog 17708 RMD160 4c2f71b4c649adb8515552b64614223b15fc30de SHA1 fbae5cf2805d82aafcac19eb98cd869fce0a56c9 SHA256 bd2105b8d25579a5cbb896f59af1dab5d94ab45bea524bae6a49061c4ab30faa
+EBUILD live-2012.01.07.ebuild 3716 RMD160 672a14862e4ca28e9f7abbda6fb625c0a1485ba4 SHA1 2ec17640d8a3d385e85c0c76defc701280add976 SHA256 6004ec27a82b0143b9d0e4e4db8907e2ceea4a6329c23bddd7a08f02519b5dbe
+MISC ChangeLog 17833 RMD160 1bf375299c8855c596583f607aa86157096d3ca8 SHA1 377c88bd38122a846f7164386cb4ae8826cf4c27 SHA256 c1e825926a9bbc66a9fcb59580c4d2c68656c706a22efaa278a0a40565f2c7aa
 MISC metadata.xml 225 RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d SHA1 1b8ccc849053361ac907dc9b652796defd1ce906 SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-iEYEARECAAYFAk7+8wIACgkQvFcC4BYPU0po6wCeLYHdC4pS51/GgwPzGROOboFC
-PfcAoKieeyzmnbmDvfwZmOCrhoxBO0ev
-=00rm
+iEYEARECAAYFAk8LGLsACgkQvFcC4BYPU0p3swCeMAK6a7fOF48JNToLV/u+Vw3h
+L9YAoLkZyfVqfVvoItD7Evq1NDi615zX
+=jyuL
 -----END PGP SIGNATURE-----
diff --git a/media-plugins/live/live-2012.01.07.ebuild b/media-plugins/live/live-2012.01.07.ebuild
new file mode 100644 (file)
index 0000000..1e0bd65
--- /dev/null
@@ -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.01.07.ebuild,v 1.1 2012/01/09 16:41: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."
+}