summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-plugins/live/Manifest4
-rw-r--r--media-plugins/live/files/digest-live-2003.06.261
-rw-r--r--media-plugins/live/files/gcc-3.3.patch24
-rw-r--r--media-plugins/live/live-2003.06.26.ebuild55
4 files changed, 82 insertions, 2 deletions
diff --git a/media-plugins/live/Manifest b/media-plugins/live/Manifest
index 82faa7b60ad5..7380675095d5 100644
--- a/media-plugins/live/Manifest
+++ b/media-plugins/live/Manifest
@@ -1,7 +1,7 @@
-MD5 c3f721a1611a0bce412f31bc2521f304 ChangeLog 877
+MD5 047e41cac0f847f6fd0f3890382054fd ChangeLog 876
MD5 41b33c4cd99ad7ba2d52ca3daf75206f live-2003.01.28.ebuild 1311
MD5 031e577ae2c7c01db683c58bc2273684 live-2003.04.11.ebuild 1309
-MD5 721fd851e1951a76e8e6604f1001b7b4 live-2003.06.26.ebuild 1343
+MD5 c7dc39730d08834f62d179706b210235 live-2003.06.26.ebuild 1342
MD5 84116ebcdca88cb9fb23742faf8d1c6a files/digest-live-2003.01.28 67
MD5 6bb1c32b2f11c1b8ebae9b31257982e8 files/gcc-3.3.patch 786
MD5 20e1d38b019b76c27378a543163502f4 files/digest-live-2003.04.11 67
diff --git a/media-plugins/live/files/digest-live-2003.06.26 b/media-plugins/live/files/digest-live-2003.06.26
new file mode 100644
index 000000000000..4ec96b41fa33
--- /dev/null
+++ b/media-plugins/live/files/digest-live-2003.06.26
@@ -0,0 +1 @@
+MD5 5bad2d5e3b9e6311ef765b19eb77d2e0 live.2003.06.26.tar.gz 273093
diff --git a/media-plugins/live/files/gcc-3.3.patch b/media-plugins/live/files/gcc-3.3.patch
new file mode 100644
index 000000000000..446987e24068
--- /dev/null
+++ b/media-plugins/live/files/gcc-3.3.patch
@@ -0,0 +1,24 @@
+diff -ruN live/groupsock/Groupsock.cpp live.new/groupsock/Groupsock.cpp
+--- live/groupsock/Groupsock.cpp 2003-06-26 10:03:43.000000000 +0200
++++ live.new/groupsock/Groupsock.cpp 2003-06-27 01:30:54.000000000 +0200
+@@ -26,7 +26,7 @@
+ #if defined(__WIN32__) || defined(_WIN32)
+ #include <strstrea.h>
+ #else
+-#include <strstream.h>
++#include <sstream>
+ #endif
+ #include <stdio.h>
+
+diff -ruN live/groupsock/NetInterface.cpp live.new/groupsock/NetInterface.cpp
+--- live/groupsock/NetInterface.cpp 2003-06-26 10:03:43.000000000 +0200
++++ live.new/groupsock/NetInterface.cpp 2003-06-27 01:30:54.000000000 +0200
+@@ -24,7 +24,7 @@
+ #if defined(__WIN32__) || defined(_WIN32)
+ #include <strstrea.h>
+ #else
+-#include <strstream.h>
++#include <sstream>
+ #endif
+
+ ////////// NetInterface //////////
diff --git a/media-plugins/live/live-2003.06.26.ebuild b/media-plugins/live/live-2003.06.26.ebuild
new file mode 100644
index 000000000000..2b60c7f6fda7
--- /dev/null
+++ b/media-plugins/live/live-2003.06.26.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2003.06.26.ebuild,v 1.1 2003/06/26 23:54:30 lu_zero 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"
+IUSE=""
+DEPEND=">=sys-apps/sed-4"
+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
+}
+
+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
+}