summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2004-01-03 20:55:22 +0000
committerLuca Barbato <lu_zero@gentoo.org>2004-01-03 20:55:22 +0000
commit01162ffe116ce5df90cd809fba333ea2fd743f72 (patch)
treec6df70e396b15c62eb9404ca2f16ea54052934db /media-libs
parentver bump #35803 (diff)
downloadgentoo-2-01162ffe116ce5df90cd809fba333ea2fd743f72.tar.gz
gentoo-2-01162ffe116ce5df90cd809fba333ea2fd743f72.tar.bz2
gentoo-2-01162ffe116ce5df90cd809fba333ea2fd743f72.zip
New version
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libmpeg2/ChangeLog12
-rw-r--r--media-libs/libmpeg2/Manifest6
-rw-r--r--media-libs/libmpeg2/files/digest-libmpeg2-0.4.01
-rw-r--r--media-libs/libmpeg2/libmpeg2-0.4.0.ebuild54
4 files changed, 70 insertions, 3 deletions
diff --git a/media-libs/libmpeg2/ChangeLog b/media-libs/libmpeg2/ChangeLog
index 557ade8f9341..67ce0d1908e7 100644
--- a/media-libs/libmpeg2/ChangeLog
+++ b/media-libs/libmpeg2/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for media-libs/libmpeg2
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/ChangeLog,v 1.13 2003/07/14 15:32:39 todd Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/ChangeLog,v 1.14 2004/01/03 20:55:22 lu_zero Exp $
+
+*libmpeg2-0.4.0 (03 Jan 2004)
+
+ 03 Jan 2004; Luca Barbato <lu_zero@gentoo.org>
+ libmpeg2-0.3.2_pre20030625.ebuild, libmpeg2-0.4.0.ebuild:
+ New version
+
+ 09 Nov 2003; Luca Barbato <lu_zero@gentoo.org>
+ libmpeg2-0.3.2_pre20030625.ebuild:
+ ppc altivec related change
14 Jul 2003; Todd Sunderlin <todd@gentoo.org> libmpeg2-0.3.1.ebuild:
set stable on sparc
diff --git a/media-libs/libmpeg2/Manifest b/media-libs/libmpeg2/Manifest
index a09335cd9af7..1a08c2920999 100644
--- a/media-libs/libmpeg2/Manifest
+++ b/media-libs/libmpeg2/Manifest
@@ -1,7 +1,9 @@
-MD5 adc886f94a3fcea056c2f262cfcfe38e ChangeLog 1632
MD5 5f00d715d6fe3e7475ffc53942387c5a libmpeg2-0.2.1.ebuild 1292
+MD5 7944abfbaeab9f4145441997b6a2ee47 libmpeg2-0.3.2_pre20030625.ebuild 1317
+MD5 54099a9b83f2cdd386010724b6588088 ChangeLog 1904
+MD5 210fe3031e1c4857c4ec4b0dc2b52d83 libmpeg2-0.4.0.ebuild 1249
MD5 99fa3e35d5cd58cf42e95a36bf5f3969 libmpeg2-0.3.1.ebuild 1386
-MD5 b394c319132223d6f783a527b4c4825c libmpeg2-0.3.2_pre20030625.ebuild 1366
+MD5 c55e953292f2922558ea3f50f6437581 files/digest-libmpeg2-0.4.0 66
MD5 2a17e6b990abf2db666678d21accc928 files/digest-libmpeg2-0.2.1 66
MD5 ee59810a9eb538c8b6e66e5db9d21399 files/digest-libmpeg2-0.3.1 66
MD5 a127dad465c6dbf851ee95df74166bc0 files/digest-libmpeg2-0.3.2_pre20030625 73
diff --git a/media-libs/libmpeg2/files/digest-libmpeg2-0.4.0 b/media-libs/libmpeg2/files/digest-libmpeg2-0.4.0
new file mode 100644
index 000000000000..fe0ae4378795
--- /dev/null
+++ b/media-libs/libmpeg2/files/digest-libmpeg2-0.4.0
@@ -0,0 +1 @@
+MD5 49a70fef1b0f710ed7e64ed32ee82d4d mpeg2dec-0.4.0.tar.gz 473690
diff --git a/media-libs/libmpeg2/libmpeg2-0.4.0.ebuild b/media-libs/libmpeg2/libmpeg2-0.4.0.ebuild
new file mode 100644
index 000000000000..22921ae52d9f
--- /dev/null
+++ b/media-libs/libmpeg2/libmpeg2-0.4.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/libmpeg2-0.4.0.ebuild,v 1.1 2004/01/03 20:55:22 lu_zero Exp $
+
+IUSE="sdl X"
+
+inherit libtool flag-o-matic
+
+MY_P="${P/libmpeg2/mpeg2dec}"
+S="${WORKDIR}/${MY_P}"
+DESCRIPTION="library for decoding mpeg-2 and mpeg-1 video"
+SRC_URI="http://libmpeg2.sourceforge.net/files/${MY_P}.tar.gz"
+HOMEPAGE="http://libmpeg2.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+
+DEPEND="sdl? ( media-libs/libsdl )
+ X? ( virtual/x11 )"
+
+[ $ARCH = alpha ] && append-flags -fPIC
+
+src_unpack() {
+ unpack ${A}
+
+ # get rid of the -mcpu
+ cd ${S} ; cp configure configure.orig
+ sed -e 's:OPT_CFLAGS=\"$CFLAGS -mcpu=.*\":OPT_CFLAGS=\"$CFLAGS\":g' \
+ configure.orig > configure
+}
+
+src_compile() {
+ elibtoolize
+
+ local myconf=""
+
+ use sdl \
+ && myconf="${myconf} --enable-sdl" \
+ || myconf="${myconf} --disable-sdl"
+
+ use X && myconf="${myconf} --with-x" \
+ || myconf="${myconf} --without-x"
+
+ econf --enable-shared \
+ ${myconf} || die "./configure failed"
+ emake || make || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ dodoc AUTHORS COPYING ChangeLog NEWS README TODO
+}