version bump + ebuild cleanup
authorStefan Briesenick <sbriesen@gentoo.org>
Thu, 1 Sep 2005 20:34:05 +0000 (20:34 +0000)
committerStefan Briesenick <sbriesen@gentoo.org>
Thu, 1 Sep 2005 20:34:05 +0000 (20:34 +0000)
Package-Manager: portage-2.0.51.22-r2

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

index 4b78ab28cab0e801a4666601976063324e1e64f2..2e4e7796ba08c6e0dff641df0f1412a0c8b92d34 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.51 2005/08/24 18:11:31 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.52 2005/09/01 20:34:05 sbriesen Exp $
+
+*live-2005.08.26 (01 Sep 2005)
+
+  01 Sep 2005; Stefan Briesenick <sbriesen@gentoo.org>
+  +live-2005.08.26.ebuild:
+  version bump + ebuild cleanup
 
   24 Aug 2005; Aron Griffis <agriffis@gentoo.org> live-2005.01.29.ebuild:
   stable on ia64
index 49478d5f3eefec39477497536f05fc586d502e2e..06cd57e4765af77600c790991aa648062dab2b4a 100644 (file)
@@ -1,11 +1,13 @@
-MD5 89948cc5466a62b22c61fc5a27bdb9ef live-2004.07.20.ebuild 1917
 MD5 b29fdbd99d269c22a3f206590c68b2e9 live-2004.03.27.ebuild 1911
+MD5 69577c26290e2e7b174dc8291f3f2956 live-2005.01.29.ebuild 2077
+MD5 89948cc5466a62b22c61fc5a27bdb9ef live-2004.07.20.ebuild 1917
+MD5 47511694616164629a708e95505f6f7c ChangeLog 6205
 MD5 9ef4af14dad87b03fde8e43f19e08d26 metadata.xml 225
-MD5 df280f072724f86331a6ed6e616f7cb3 ChangeLog 6058
 MD5 7adfcab55e4fee6c3ab94c332d713bed live-2004.09.30.ebuild 1949
-MD5 69577c26290e2e7b174dc8291f3f2956 live-2005.01.29.ebuild 2077
+MD5 62f3b44de62b186237696ee6eb663bc3 live-2005.08.26.ebuild 2171
+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 11468abfa77dd248fa59bc2adf5fae2c files/digest-live-2004.07.20 67
+MD5 99998fd65d2be8825aa053122a909439 files/digest-live-2005.08.26 67
 MD5 6bb1c32b2f11c1b8ebae9b31257982e8 files/gcc-3.3.patch 786
-MD5 2351d6af96c8b0b3bd8bc5bd838b949c files/digest-live-2004.03.27 68
diff --git a/media-plugins/live/files/digest-live-2005.08.26 b/media-plugins/live/files/digest-live-2005.08.26
new file mode 100644 (file)
index 0000000..011e25a
--- /dev/null
@@ -0,0 +1 @@
+MD5 43b5c40ab875543bd747ce0808dfe622 live.2005.08.26.tar.gz 600693
diff --git a/media-plugins/live/live-2005.08.26.ebuild b/media-plugins/live/live-2005.08.26.ebuild
new file mode 100644 (file)
index 0000000..e4a1afb
--- /dev/null
@@ -0,0 +1,69 @@
+# 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.08.26.ebuild,v 1.1 2005/09/01 20:34:05 sbriesen 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.live.com/"
+SRC_URI="http://www.live.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
+
+       # gcc 3.3 fixups (replaces epatch, it's easier to maintain)
+       sed -i -e "s:<strstream[^>]*>:<sstream>:g" groupsock/{Groupsock,NetInterface}.cpp
+
+       # 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
+}