summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libmpeg2')
-rw-r--r--media-libs/libmpeg2/ChangeLog7
-rw-r--r--media-libs/libmpeg2/Manifest2
-rw-r--r--media-libs/libmpeg2/files/digest-libmpeg2-0.4.0b1
-rw-r--r--media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild47
4 files changed, 56 insertions, 1 deletions
diff --git a/media-libs/libmpeg2/ChangeLog b/media-libs/libmpeg2/ChangeLog
index a3355d5a436f..15c0bd1ae9f9 100644
--- a/media-libs/libmpeg2/ChangeLog
+++ b/media-libs/libmpeg2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libmpeg2
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/ChangeLog,v 1.15 2004/03/16 08:47:00 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/ChangeLog,v 1.16 2004/03/16 09:18:47 mr_bones_ Exp $
+
+*libmpeg2-0.4.0b (16 Mar 2004)
+
+ 16 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> libmpeg2-0.4.0b.ebuild:
+ version bump to patched version (bug #40836)
16 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> libmpeg2-0.4.0.ebuild:
append-flags into src_unpack; use/depend on sed-4; use use_enable/use_with
diff --git a/media-libs/libmpeg2/Manifest b/media-libs/libmpeg2/Manifest
index 29c2798afed2..b9adfc320d9b 100644
--- a/media-libs/libmpeg2/Manifest
+++ b/media-libs/libmpeg2/Manifest
@@ -3,7 +3,9 @@ MD5 9a0a44a8d6cb01e37aa6c20c37b5abc4 libmpeg2-0.2.1.ebuild 1291
MD5 99fa3e35d5cd58cf42e95a36bf5f3969 libmpeg2-0.3.1.ebuild 1386
MD5 40c2ad3b4d1bb59a6f3f9bdc8b3a0655 libmpeg2-0.3.2_pre20030625.ebuild 1376
MD5 b837c2a52ec57239b5922cfff22a8698 libmpeg2-0.4.0.ebuild 1149
+MD5 b837c2a52ec57239b5922cfff22a8698 libmpeg2-0.4.0b.ebuild 1149
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
MD5 c55e953292f2922558ea3f50f6437581 files/digest-libmpeg2-0.4.0 66
+MD5 c7958c7996a268d8cf161e4b32e70ac0 files/digest-libmpeg2-0.4.0b 67
diff --git a/media-libs/libmpeg2/files/digest-libmpeg2-0.4.0b b/media-libs/libmpeg2/files/digest-libmpeg2-0.4.0b
new file mode 100644
index 000000000000..52ec041d042a
--- /dev/null
+++ b/media-libs/libmpeg2/files/digest-libmpeg2-0.4.0b
@@ -0,0 +1 @@
+MD5 52d10ea80595ec83d8557ba7ac6dc8e6 mpeg2dec-0.4.0b.tar.gz 473846
diff --git a/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild b/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild
new file mode 100644
index 000000000000..c90a232a06c9
--- /dev/null
+++ b/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild
@@ -0,0 +1,47 @@
+# 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.0b.ebuild,v 1.1 2004/03/16 09:18:47 mr_bones_ Exp $
+
+inherit libtool flag-o-matic
+
+MY_P="${P/libmpeg2/mpeg2dec}"
+S="${WORKDIR}/${MY_P/b/}"
+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"
+IUSE="sdl X"
+
+RDEPEND="sdl? ( media-libs/libsdl )
+ X? ( virtual/x11 )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ [ $ARCH = alpha ] && append-flags -fPIC
+ unpack ${A}
+
+ # get rid of the -mcpu
+ cd ${S}
+ sed -i \
+ -e 's:OPT_CFLAGS=\"$CFLAGS -mcpu=.*\":OPT_CFLAGS=\"$CFLAGS\":g' \
+ configure || die "sed configure failed"
+}
+
+src_compile() {
+ elibtoolize
+ econf \
+ --enable-shared \
+ `use_enable sdl` \
+ `use_with X x` \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
+}