diff options
author | Hanno Böck <hanno@gentoo.org> | 2005-11-28 20:39:24 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2005-11-28 20:39:24 +0000 |
commit | 0fc825d2dadb510fd6c270d37739ef4170c75dd0 (patch) | |
tree | e102e7d238de76bd9f81a35153cdd1f9f5ba0350 /media-plugins | |
parent | old (diff) | |
download | gentoo-2-0fc825d2dadb510fd6c270d37739ef4170c75dd0.tar.gz gentoo-2-0fc825d2dadb510fd6c270d37739ef4170c75dd0.tar.bz2 gentoo-2-0fc825d2dadb510fd6c270d37739ef4170c75dd0.zip |
live update and gcc41 fix
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/live/ChangeLog | 8 | ||||
-rw-r--r-- | media-plugins/live/Manifest | 5 | ||||
-rw-r--r-- | media-plugins/live/files/digest-live-2005.11.11 | 1 | ||||
-rw-r--r-- | media-plugins/live/files/live-gcc41.patch | 22 | ||||
-rw-r--r-- | media-plugins/live/live-2005.11.11.ebuild | 68 |
5 files changed, 102 insertions, 2 deletions
diff --git a/media-plugins/live/ChangeLog b/media-plugins/live/ChangeLog index ab1d365351ed..0867a6720c9f 100644 --- a/media-plugins/live/ChangeLog +++ b/media-plugins/live/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-plugins/live # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.55 2005/11/02 04:09:33 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.56 2005/11/28 20:39:24 hanno Exp $ + +*live-2005.11.11 (28 Nov 2005) + + 28 Nov 2005; Hanno Boeck <hanno@gentoo.org> +files/live-gcc41.patch, + +live-2005.11.11.ebuild: + Version bump and fix for gcc 4.1. 02 Nov 2005; Luca Barbato <lu_zero@gentoo.org> live-2005.08.26.ebuild: url fixed diff --git a/media-plugins/live/Manifest b/media-plugins/live/Manifest index 7765dcf6f6ff..3670a86d9b16 100644 --- a/media-plugins/live/Manifest +++ b/media-plugins/live/Manifest @@ -1,13 +1,16 @@ -MD5 cf01a7788b8765ecb79f5e84bcd75ca1 ChangeLog 6488 +MD5 97ae45113cf6b7edcae2b11324b00690 ChangeLog 6655 MD5 2351d6af96c8b0b3bd8bc5bd838b949c files/digest-live-2004.03.27 68 MD5 11468abfa77dd248fa59bc2adf5fae2c files/digest-live-2004.07.20 67 MD5 ad8ee57b807e858f0f5d7de2c4caf587 files/digest-live-2004.09.30 67 MD5 22cdc1fe4a68eec0ff487f9cb4097355 files/digest-live-2005.01.29 67 MD5 99998fd65d2be8825aa053122a909439 files/digest-live-2005.08.26 67 +MD5 6e5fab651d19c7ed3ce140d99ff47672 files/digest-live-2005.11.11 67 MD5 6bb1c32b2f11c1b8ebae9b31257982e8 files/gcc-3.3.patch 786 +MD5 9d2b18645c4c808930c5f6d1f44b835e files/live-gcc41.patch 881 MD5 b29fdbd99d269c22a3f206590c68b2e9 live-2004.03.27.ebuild 1911 MD5 89948cc5466a62b22c61fc5a27bdb9ef live-2004.07.20.ebuild 1917 MD5 7adfcab55e4fee6c3ab94c332d713bed live-2004.09.30.ebuild 1949 MD5 da80c01b6f5a4bfea9dc18909ea9bd2e live-2005.01.29.ebuild 2075 MD5 ec681df189ca718d6693d9f140c30e72 live-2005.08.26.ebuild 2176 +MD5 c9db5d9a0ede9870b92c29d4b0b1ec3f live-2005.11.11.ebuild 2069 MD5 9ef4af14dad87b03fde8e43f19e08d26 metadata.xml 225 diff --git a/media-plugins/live/files/digest-live-2005.11.11 b/media-plugins/live/files/digest-live-2005.11.11 new file mode 100644 index 000000000000..d2b6ca6c3dc5 --- /dev/null +++ b/media-plugins/live/files/digest-live-2005.11.11 @@ -0,0 +1 @@ +MD5 fb117582539e2231b632009c57a5f68c live.2005.11.11.tar.gz 414485 diff --git a/media-plugins/live/files/live-gcc41.patch b/media-plugins/live/files/live-gcc41.patch new file mode 100644 index 000000000000..70008c68da91 --- /dev/null +++ b/media-plugins/live/files/live-gcc41.patch @@ -0,0 +1,22 @@ +--- live/liveMedia/include/AVIFileSink.hh 2005-11-11 03:57:38.000000000 +0100 ++++ live-gcc41/liveMedia/include/AVIFileSink.hh 2005-11-28 21:28:14.105671000 +0100 +@@ -79,7 +79,7 @@ + + unsigned addWord(unsigned word); // outputs "word" in little-endian order + unsigned addHalfWord(unsigned short halfWord); +- unsigned AVIFileSink::addByte(unsigned char byte) { ++ unsigned addByte(unsigned char byte) { + putc(byte, fOutFid); + return 1; + } +--- live/liveMedia/include/QuickTimeFileSink.hh 2005-11-11 03:57:38.000000000 +0100 ++++ live-gcc41/liveMedia/include/QuickTimeFileSink.hh 2005-11-28 21:27:33.939160750 +0100 +@@ -87,7 +87,7 @@ + + unsigned addWord(unsigned word); + unsigned addHalfWord(unsigned short halfWord); +- unsigned QuickTimeFileSink::addByte(unsigned char byte) { ++ unsigned addByte(unsigned char byte) { + putc(byte, fOutFid); + return 1; + } diff --git a/media-plugins/live/live-2005.11.11.ebuild b/media-plugins/live/live-2005.11.11.ebuild new file mode 100644 index 000000000000..ce943dd1af21 --- /dev/null +++ b/media-plugins/live/live-2005.11.11.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2005.11.11.ebuild,v 1.1 2005/11/28 20:39:24 hanno Exp $ + +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" +IUSE="" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND="virtual/libc" +DEPEND="${RDEPEND} + sys-apps/findutils" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + cd "${S}" + + # -fPIC is needed on amd64 because some applications are using live + # to make shared libraries, which wont work without -fPIC on that + # arch. The build system used isn't advanced enough to easily + # specify that the test programs dont need to be PIC themselves, + # and makefiles are generated on the fly, so I'm adding it as a + # global flag. + # Travis Tilley <lv@gentoo.org> 09 Apr 2004 + use amd64 && append-flags -fPIC + use ppc && append-flags -fPIC + + epatch ${FILESDIR}/live-gcc41.patch + + # replace -O2 with MY_CFLAGS variable (do *not* use $CFLAGS here!) + sed -i -e "s: -O2 : \$(MY_CFLAGS) :g" config.linux +} + +src_compile() { + ./genMakefiles linux + emake -j1 MY_CFLAGS="${CFLAGS}" CPLUSPLUS_COMPILER="$(tc-getCXX)" \ + C_COMPILER="$(tc-getCC)" LINK="$(tc-getCXX) -o" || die +} + +src_install() { + # no installer, go manual ... + + # find and install libraries, mplayer needs to find + # each library in a subdirectory with same name as + # the lib + local lib dir + for lib in $(find -type f -name "*.a" -printf "%P\n"); do + dir="${lib%%/*}" + insinto "/usr/$(get_libdir)/${PN}/${dir}" + doins "${lib}" + insinto "/usr/$(get_libdir)/${PN}/${dir}/include" + doins "${dir}/include/"*h + done + + # find and install test programs + dobin $(find testProgs -type f -perm +111) + + # install docs + dodoc README +} |