summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Crête <tester@gentoo.org>2004-01-04 23:34:19 +0000
committerOlivier Crête <tester@gentoo.org>2004-01-04 23:34:19 +0000
commit165e67b977d162877539ace8086740ade9392f24 (patch)
tree1cdf776fe4dea4cdf4a56c00415994d0a5168eae /media-video/mpeg4ip
parentVersion bump mpeg4ip now 1.0\! (diff)
downloadhistorical-165e67b977d162877539ace8086740ade9392f24.tar.gz
historical-165e67b977d162877539ace8086740ade9392f24.tar.bz2
historical-165e67b977d162877539ace8086740ade9392f24.zip
Version bump mpeg4ip now 1.0\!
Diffstat (limited to 'media-video/mpeg4ip')
-rw-r--r--media-video/mpeg4ip/Manifest4
-rw-r--r--media-video/mpeg4ip/files/digest-mpeg4ip-1.01
-rw-r--r--media-video/mpeg4ip/mpeg4ip-1.0.ebuild89
3 files changed, 92 insertions, 2 deletions
diff --git a/media-video/mpeg4ip/Manifest b/media-video/mpeg4ip/Manifest
index 0e41c3fcfac7..2068baded97a 100644
--- a/media-video/mpeg4ip/Manifest
+++ b/media-video/mpeg4ip/Manifest
@@ -1,6 +1,6 @@
MD5 93c2a04ea0a7b4f491f0a0cc74c3f1da mpeg4ip-1.0_rc1.ebuild 2088
-MD5 761420cdfe4f11b6b01ab6cf6ab74183 mpeg4ip-1.0.ebuild 2148
-MD5 63acddead8378c85a8f540054fd8d38e ChangeLog 856
+MD5 284963af2c53bb00e5d5f51373c1f03b mpeg4ip-1.0.ebuild 2086
+MD5 afc724da5635b1ac6288134a5d5f085d ChangeLog 980
MD5 e6dab8254f95f76b21e834c1c13ec3ce mpeg4ip-1.0_rc3.ebuild 2147
MD5 1b1b7046bccf0f835f8e3c5b68063d8e metadata.xml 255
MD5 9fd30cb88ca225eed3247808dcbea404 files/digest-mpeg4ip-1.0_rc3 67
diff --git a/media-video/mpeg4ip/files/digest-mpeg4ip-1.0 b/media-video/mpeg4ip/files/digest-mpeg4ip-1.0
new file mode 100644
index 000000000000..09b261795f62
--- /dev/null
+++ b/media-video/mpeg4ip/files/digest-mpeg4ip-1.0
@@ -0,0 +1 @@
+MD5 6ac635a1dd02d874054d6092f350157c mpeg4ip-1.0.tar.gz 5442521
diff --git a/media-video/mpeg4ip/mpeg4ip-1.0.ebuild b/media-video/mpeg4ip/mpeg4ip-1.0.ebuild
new file mode 100644
index 000000000000..106b45f5f7fe
--- /dev/null
+++ b/media-video/mpeg4ip/mpeg4ip-1.0.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg4ip/mpeg4ip-1.0.ebuild,v 1.1 2004/01/04 23:34:13 tester Exp $
+
+DESCRIPTION="MPEG 4 implementation library"
+
+HOMEPAGE="http://www.mpeg4ip.net/"
+
+PV2=`echo $PV | sed s/_rc/RC/`
+
+SRC_URI="mirror://sourceforge/${PN}/${PN}-${PV2}.tar.gz"
+
+LICENSE="MPL-1.1 LGPL-2 GPL-2 LGPL-2.1 BSD UCL MPEG4"
+
+SLOT="0"
+
+KEYWORDS="~x86 ~ppc -amd64"
+# not 64 bit safe yet
+
+IUSE="ipv6 mmx gtk"
+
+DEPEND="sys-devel/libtool
+ sys-devel/autoconf
+ sys-devel/automake
+ media-libs/faac
+ >=media-sound/lame-3.92
+ gtk? ( >=x11-libs/gtk+-2 )
+ mmx? ( >=dev-lang/nasm-0.98.19 )
+ media-video/ffmpeg"
+
+S="${WORKDIR}/${PN}-${PV2}"
+
+src_unpack() {
+ unpack ${A}
+
+ # It searches for ffmpeg in the wrong place
+ cp ${S}/configure ${S}/configure.orig
+ sed 's:-I\${enable_ffmpeg}/libavcodec:-I/usr/include/ffmpeg:' \
+ ${S}/configure.orig | \
+ sed 's:\${enable_ffmpeg}/libavcodec/libavcodec.a:/usr/lib/libavcodec.so:' \
+ > ${S}/configure
+
+ # Violently rename the private SDL so it doesnt bother the normal version
+ for i in lib/SDL/src/Makefile.in \
+ lib/SDL/src/main/Makefile.in \
+ player/src/Makefile.in \
+ server/mp4live/Makefile.in \
+ util/iptv/Makefile.in \
+ util/yuv/Makefile.in \
+ configure; do
+ cd ${S}/`dirname ${i}`
+ file="`basename ${i}`"
+ cp ${file} ${file}.orig || die
+ sed -e 's:libSDL:libSDLmpeg4ip:g' ${file}.orig > ${file} || die
+ done
+}
+
+src_compile() {
+
+ # Configure the private SDL
+ cd ${S}/lib/SDL
+ econf || die "SDL configure failed"
+ cd ${S}
+
+ local myconf
+ myconf=" `use_enable ipv6`
+ `use_enable mmx`
+ ` use_enable ppc`"
+
+ econf ${myconf} || die "configure failed"
+ emake || die "make failed"
+
+}
+
+src_install () {
+
+ # Install only the lib from the private SDL
+ cd ${S}/lib/SDL
+ make install-lib DESTDIR=${D}
+
+ # It has its own SDL, we have install the libs, ignore the rest
+ cd ${S}/lib
+ mv Makefile Makefile.orig
+ sed -e 's/SDL / /' Makefile.orig > Makefile
+
+ cd ${S}
+ einstall || die "make install failed"
+
+}