diff options
author | Olivier Crête <tester@gentoo.org> | 2004-01-04 23:34:19 +0000 |
---|---|---|
committer | Olivier Crête <tester@gentoo.org> | 2004-01-04 23:34:19 +0000 |
commit | e222c08306e213e0d11294cba1df5e329575c1ba (patch) | |
tree | 202cc49a45367d2471937d496211f01f72298ef0 /media-video/mpeg4ip | |
parent | Version bump mpeg4ip now 1.0\! (diff) | |
download | gentoo-2-e222c08306e213e0d11294cba1df5e329575c1ba.tar.gz gentoo-2-e222c08306e213e0d11294cba1df5e329575c1ba.tar.bz2 gentoo-2-e222c08306e213e0d11294cba1df5e329575c1ba.zip |
Version bump mpeg4ip now 1.0\!
Diffstat (limited to 'media-video/mpeg4ip')
-rw-r--r-- | media-video/mpeg4ip/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/mpeg4ip/Manifest | 4 | ||||
-rw-r--r-- | media-video/mpeg4ip/files/digest-mpeg4ip-1.0 | 1 | ||||
-rw-r--r-- | media-video/mpeg4ip/mpeg4ip-1.0.ebuild | 89 |
4 files changed, 98 insertions, 3 deletions
diff --git a/media-video/mpeg4ip/ChangeLog b/media-video/mpeg4ip/ChangeLog index 63f50b1637df..3ec3f326457f 100644 --- a/media-video/mpeg4ip/ChangeLog +++ b/media-video/mpeg4ip/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/mpeg4ip # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg4ip/ChangeLog,v 1.3 2003/12/08 23:32:20 tester Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg4ip/ChangeLog,v 1.4 2004/01/04 23:34:13 tester Exp $ + +*mpeg4ip-1.0 (05 Jan 2004) + + 05 Jan 2004; Olivier Crete <tester@gentoo.org> mpeg4ip-1.0.ebuild: + Version bump.. now 1.0! 09 Dec 2003; Olivier Crete <tester@gentoo.org> mpeg4ip-1.0_rc1.ebuild, mpeg4ip-1.0_rc3.ebuild, files/sliver.patch: 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" + +} |