diff options
author | Marinus Schraal <foser@gentoo.org> | 2003-01-14 16:10:20 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2003-01-14 16:10:20 +0000 |
commit | 9bc33e6d6be1ba607fb6d48aef473fcd12dc2227 (patch) | |
tree | b5120292b05228d74123504792e1e1ca80a7411f /media-libs | |
parent | version bump (diff) | |
download | gentoo-2-9bc33e6d6be1ba607fb6d48aef473fcd12dc2227.tar.gz gentoo-2-9bc33e6d6be1ba607fb6d48aef473fcd12dc2227.tar.bz2 gentoo-2-9bc33e6d6be1ba607fb6d48aef473fcd12dc2227.zip |
New version
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libmpeg2/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/libmpeg2/files/digest-libmpeg2-0.3.1 | 1 | ||||
-rw-r--r-- | media-libs/libmpeg2/libmpeg2-0.3.1.ebuild | 56 |
3 files changed, 63 insertions, 1 deletions
diff --git a/media-libs/libmpeg2/ChangeLog b/media-libs/libmpeg2/ChangeLog index 89d03d50f82f..fd14eb50eab1 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.6 2003/01/11 18:26:44 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/ChangeLog,v 1.7 2003/01/14 16:10:20 foser Exp $ + +*libmpeg2-0.3.1 (14 Jan 2003) + + 14 Jan 2003; foser <foser@gentoo.org> libmpeg2-0.3.1.ebuild : + New version *libmpeg2-0.3.0 (13 Dec 2002) diff --git a/media-libs/libmpeg2/files/digest-libmpeg2-0.3.1 b/media-libs/libmpeg2/files/digest-libmpeg2-0.3.1 new file mode 100644 index 000000000000..16e7d1c2ce1e --- /dev/null +++ b/media-libs/libmpeg2/files/digest-libmpeg2-0.3.1 @@ -0,0 +1 @@ +MD5 e9f899d232eee5e7282c9c96ffde8016 mpeg2dec-0.3.1.tar.gz 325459 diff --git a/media-libs/libmpeg2/libmpeg2-0.3.1.ebuild b/media-libs/libmpeg2/libmpeg2-0.3.1.ebuild new file mode 100644 index 000000000000..4af46fc86320 --- /dev/null +++ b/media-libs/libmpeg2/libmpeg2-0.3.1.ebuild @@ -0,0 +1,56 @@ +# 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.1.ebuild,v 1.1 2003/01/14 16:10:20 foser Exp $ + +IUSE="sdl X" + +inherit libtool flag-o-matic + +# this build doesn't play nice with -maltivec (gcc 3.2 only option) on ppc +filter-flags "-maltivec -mabi=altivec -fPIC" + +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 || make || die +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS COPYING ChangeLog NEWS README TODO +} |