live update and gcc41 fix
authorHanno Boeck <hanno@gentoo.org>
Mon, 28 Nov 2005 20:39:24 +0000 (20:39 +0000)
committerHanno Boeck <hanno@gentoo.org>
Mon, 28 Nov 2005 20:39:24 +0000 (20:39 +0000)
Package-Manager: portage-2.0.53_rc7

media-plugins/live/ChangeLog
media-plugins/live/Manifest
media-plugins/live/files/digest-live-2005.11.11 [new file with mode: 0644]
media-plugins/live/files/live-gcc41.patch [new file with mode: 0644]
media-plugins/live/live-2005.11.11.ebuild [new file with mode: 0644]

index ab1d365351ed1a0588577b7461246e5b4e31e22c..0867a6720c9fb73fbabdc2636753189015ef8e64 100644 (file)
@@ -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
index 7765dcf6f6ffee68ab29c29313aed7dd7e70e2b6..f0f75d8713f10f073a2e38dd33c176298d9a1e8b 100644 (file)
@@ -1,13 +1,26 @@
-MD5 cf01a7788b8765ecb79f5e84bcd75ca1 ChangeLog 6488
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 a0712a407dbf8ee84e408c9f244197f3 ChangeLog 6653
 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 e8b76a58f210751950ec59a9b16d9a41 live-2005.11.11.ebuild 2067
 MD5 9ef4af14dad87b03fde8e43f19e08d26 metadata.xml 225
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDi2sNr2QksT29OyARAu/9AJ46ZLNDXCSpEeQYk218dFHG6UAEiACeJk5U
+6CFW8NRf+DO7uUkaL9xr+ic=
+=Bmog
+-----END PGP SIGNATURE-----
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 (file)
index 0000000..d2b6ca6
--- /dev/null
@@ -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 (file)
index 0000000..70008c6
--- /dev/null
@@ -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 (file)
index 0000000..ce943dd
--- /dev/null
@@ -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
+}