diff options
author | Marinus Schraal <foser@gentoo.org> | 2002-12-13 16:03:36 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2002-12-13 16:03:36 +0000 |
commit | a5f2e6df231fd48121f165c3cda70f9142fac16b (patch) | |
tree | 43f34cbc211c42ec81f87e66468b32f9ebd0354b /media-libs/libmpeg2 | |
parent | portage-2.0.45-r5 release to auto-restart on portage version changes. (diff) | |
download | historical-a5f2e6df231fd48121f165c3cda70f9142fac16b.tar.gz historical-a5f2e6df231fd48121f165c3cda70f9142fac16b.tar.bz2 historical-a5f2e6df231fd48121f165c3cda70f9142fac16b.zip |
New version
Diffstat (limited to 'media-libs/libmpeg2')
-rw-r--r-- | media-libs/libmpeg2/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/libmpeg2/files/digest-libmpeg2-0.3.0 | 1 | ||||
-rw-r--r-- | media-libs/libmpeg2/libmpeg2-0.3.0.ebuild | 58 |
3 files changed, 65 insertions, 1 deletions
diff --git a/media-libs/libmpeg2/ChangeLog b/media-libs/libmpeg2/ChangeLog index 1f156b6f1b72..7a26b1c8bd0f 100644 --- a/media-libs/libmpeg2/ChangeLog +++ b/media-libs/libmpeg2/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/libmpeg2 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/ChangeLog,v 1.4 2002/12/13 10:59:35 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/ChangeLog,v 1.5 2002/12/13 16:03:36 foser Exp $ + +*libmpeg2-0.3.0 (13 Dec 2002) + + 13 Dec 2002; foser <foser@gentoo.org> libmpeg2-0.3.0.ebuild : + New version 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords diff --git a/media-libs/libmpeg2/files/digest-libmpeg2-0.3.0 b/media-libs/libmpeg2/files/digest-libmpeg2-0.3.0 new file mode 100644 index 000000000000..10c6b1c4baaa --- /dev/null +++ b/media-libs/libmpeg2/files/digest-libmpeg2-0.3.0 @@ -0,0 +1 @@ +MD5 8c254ce0a582fd7d35c04f93e06ab994 mpeg2dec-0.3.0.tar.gz 321815 diff --git a/media-libs/libmpeg2/libmpeg2-0.3.0.ebuild b/media-libs/libmpeg2/libmpeg2-0.3.0.ebuild new file mode 100644 index 000000000000..7369cdac994f --- /dev/null +++ b/media-libs/libmpeg2/libmpeg2-0.3.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/libmpeg2-0.3.0.ebuild,v 1.1 2002/12/13 16:03:36 foser Exp $ + +IUSE="sdl X" + +inherit libtool + +# this build doesn't play nice with -maltivec (gcc 3.2 only option) on ppc +inherit flag-o-matic || die "I lost my inheritance" +filter-flags "-maltivec -mabi=altivec" + +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 sparc ~ppc" + +DEPEND="sdl? ( media-libs/libsdl ) + X? ( virtual/x11 )" + + +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 || die +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS COPYING ChangeLog NEWS README TODO +} + |