summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/live/live-2004.03.23.ebuild')
-rw-r--r--media-plugins/live/live-2004.03.23.ebuild57
1 files changed, 57 insertions, 0 deletions
diff --git a/media-plugins/live/live-2004.03.23.ebuild b/media-plugins/live/live-2004.03.23.ebuild
new file mode 100644
index 000000000000..df8e58cbb6cf
--- /dev/null
+++ b/media-plugins/live/live-2004.03.23.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2004.03.23.ebuild,v 1.1 2004/03/24 17:53:25 mholzer Exp $
+
+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/"
+MY_P=${P/-/.}
+SRC_URI="http://www.live.com/liveMedia/public/${MY_P}.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE=""
+DEPEND="virtual/glibc"
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i.orig -e "s:-O:${CFLAGS} -Wno-deprecated:" config.linux
+ epatch ${FILESDIR}/gcc-3.3.patch
+ #quick fix, something better will follow.
+ rm testProgs/qtParse
+}
+
+src_compile() {
+ ./genMakefiles linux
+ # emake doesn't work
+ make || 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
+ for lib in $(find ${S} -type f -name \*.a)
+ do
+ local dir
+ dir=$(basename $(dirname ${lib}))
+
+ insinto "/usr/lib/live/${dir}"
+ doins "${lib}"
+
+ insinto "/usr/lib/live/${dir}/include"
+ doins ${S}/${dir}/include/*h
+ done
+
+ # find and install test programs
+ exeinto /usr/bin
+ find ${S}/testProgs -type f -perm +111 -exec doexe {} \;
+
+ dodoc ${S}/README
+}