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
commit9908f0ee73cae28a0ec78bced01244c503faffdd (patch)
treea0b0f4bb094070488bff72f801ae1e0fab011fd5 /media-libs/libmpeg2
parentver bump #35803 (diff)
downloadhistorical-9908f0ee73cae28a0ec78bced01244c503faffdd.tar.gz
historical-9908f0ee73cae28a0ec78bced01244c503faffdd.tar.bz2
historical-9908f0ee73cae28a0ec78bced01244c503faffdd.zip
New version
Diffstat (limited to 'media-libs/libmpeg2')
-rw-r--r--media-libs/libmpeg2/ChangeLog12
-rw-r--r--media-libs/libmpeg2/Manifest7
-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, 4 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..3fe77c6f5dbe 100644
--- a/media-libs/libmpeg2/Manifest
+++ b/media-libs/libmpeg2/Manifest
@@ -1,7 +1,8 @@
-MD5 adc886f94a3fcea056c2f262cfcfe38e ChangeLog 1632
MD5 5f00d715d6fe3e7475ffc53942387c5a libmpeg2-0.2.1.ebuild 1292
-MD5 99fa3e35d5cd58cf42e95a36bf5f3969 libmpeg2-0.3.1.ebuild 1386
MD5 b394c319132223d6f783a527b4c4825c libmpeg2-0.3.2_pre20030625.ebuild 1366
+MD5 06ad12590d173ec6a97e33212d29c10a ChangeLog 1907
+MD5 3524a9e2cac0919d06b5e55f8648a56c libmpeg2-0.4.0.ebuild 1250
+MD5 99fa3e35d5cd58cf42e95a36bf5f3969 libmpeg2-0.3.1.ebuild 1386
+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
+}