summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-12-22 12:48:42 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-12-22 12:48:42 +0000
commit4d993d824c21ad1a4a007af24a4810b9b75ea090 (patch)
tree8056ae3f3e7eea6f94202d075e33abf6da3347ca /media-plugins/live
parentStable for X86, wrt bug #394223 (diff)
downloadhistorical-4d993d824c21ad1a4a007af24a4810b9b75ea090.tar.gz
historical-4d993d824c21ad1a4a007af24a4810b9b75ea090.tar.bz2
historical-4d993d824c21ad1a4a007af24a4810b9b75ea090.zip
version bump
Package-Manager: portage-2.2.0_alpha81/cvs/Linux x86_64
Diffstat (limited to 'media-plugins/live')
-rw-r--r--media-plugins/live/ChangeLog7
-rw-r--r--media-plugins/live/Manifest10
-rw-r--r--media-plugins/live/live-2011.12.20.ebuild112
3 files changed, 124 insertions, 5 deletions
diff --git a/media-plugins/live/ChangeLog b/media-plugins/live/ChangeLog
index 0635f014a53a..32a9f0da71fc 100644
--- a/media-plugins/live/ChangeLog
+++ b/media-plugins/live/ChangeLog
@@ -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.137 2011/12/03 04:10:42 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.138 2011/12/22 12:48:42 aballier Exp $
+
+*live-2011.12.20 (22 Dec 2011)
+
+ 22 Dec 2011; Alexis Ballier <aballier@gentoo.org> +live-2011.12.20.ebuild:
+ version bump
*live-2011.12.02 (03 Dec 2011)
diff --git a/media-plugins/live/Manifest b/media-plugins/live/Manifest
index 9429552fefa3..15d0b521de0b 100644
--- a/media-plugins/live/Manifest
+++ b/media-plugins/live/Manifest
@@ -9,16 +9,18 @@ DIST live.2009.06.02.tar.gz 469471 RMD160 ddbe057ac4f47d66ee7c99ec3c4886fe97f065
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
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
-MISC ChangeLog 17290 RMD160 134c9aeb20d1f296d7c8192e531e7cd548230ef8 SHA1 77f64e4873fda87d9333ab8002a0bfe5baac10d7 SHA256 8f05e4b9990dd9fdd5acdda22ea2914d9aa6c8ed706319618c476e5e879ebc7c
+EBUILD live-2011.12.20.ebuild 3716 RMD160 f6c6c1e42b5d90072417dfe540db4ca0279b3262 SHA1 f653ac7849fa82b918eb77e9f042591184564c25 SHA256 15af64a13d6561a10a2b148e3df9278d5eb00f32b8c7b26841a9c66aaffc5201
+MISC ChangeLog 17415 RMD160 d2b19edad7e1c2a35a6434895ebcaa31aa9ea740 SHA1 e75cd827b6b21adb95be7dca1c64064bcffc7aaa SHA256 fdf4275b4b41decfa667941c5193830688d3dbbfb7cf1ffa4d82522c2afcc2ff
MISC metadata.xml 225 RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d SHA1 1b8ccc849053361ac907dc9b652796defd1ce906 SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk7ZoUkACgkQvFcC4BYPU0rlhgCgnO4BiEQfoG9WuMHkIKD3TpXi
-uKoAnjQm9yrZJKYauLm0YvVh4YmfpzOt
-=fDOp
+iEYEARECAAYFAk7zJzAACgkQvFcC4BYPU0ofQQCgvIKusrzmeQ9spLMK47SrOuUK
+gY8An39ZRMASpYY+5ns2NIQ/+7fdSvSH
+=A45N
-----END PGP SIGNATURE-----
diff --git a/media-plugins/live/live-2011.12.20.ebuild b/media-plugins/live/live-2011.12.20.ebuild
new file mode 100644
index 000000000000..2a6a3e3725ff
--- /dev/null
+++ b/media-plugins/live/live-2011.12.20.ebuild
@@ -0,0 +1,112 @@
+# 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."
+}