# ChangeLog for media-libs/libmpeg2
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/ChangeLog,v 1.42 2005/07/10 20:56:15 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/ChangeLog,v 1.43 2005/10/31 16:34:05 flameeyes Exp $
+
+ 31 Oct 2005; Diego Pettenò <flameeyes@gentoo.org> +metadata.xml,
+ -libmpeg2-0.2.1.ebuild, -libmpeg2-0.3.1.ebuild,
+ -libmpeg2-0.3.2_pre20030625.ebuild, -libmpeg2-0.4.0.ebuild,
+ libmpeg2-0.4.0b.ebuild:
+ Put under video herd. Cleanup of old ebuilds. Use autotools eclass (thus no
+ more requiring -fPIC as there was a libtoolize problem).
10 Jul 2005; Sven Wegener <swegener@gentoo.org> libmpeg2-0.3.1.ebuild,
libmpeg2-0.3.2_pre20030625.ebuild:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 0114eded307571422e5d9f6d1976c46d ChangeLog 5030
+MD5 3ce85fd8eacae74818fcf7ac44fca613 ChangeLog 5375
MD5 6ed53be491fa83ebc59d0d7b285c5e4f files/altivec-fix-0.4.0b.diff 890
-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
MD5 b76ada2d9c18a21260a268f4e3018e6a files/gcc34-inline-fix-0.4.0b.diff 513
-MD5 271a49bb968e899b1db5950ba1e60eaf libmpeg2-0.2.1.ebuild 1285
-MD5 65d7e8bb3f78a9769e14f2caaac74f0b libmpeg2-0.3.1.ebuild 1376
-MD5 14ebec3d335a0587e5c442a71ea6279f libmpeg2-0.3.2_pre20030625.ebuild 1361
-MD5 2db00ec450967b0efe33aec112826867 libmpeg2-0.4.0.ebuild 1140
-MD5 88fcb0799ab88f2736fcd94724bf7ff7 libmpeg2-0.4.0b.ebuild 1614
+MD5 9a613424de200d770d912ef360e4f38f libmpeg2-0.4.0b.ebuild 1460
+MD5 7300a7b361fa9f48e37722c6952bd432 metadata.xml 158
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFC0YuLI1lqEGTUzyQRAo8RAJ9slVQ99RbirVy1vqDJ98ACdCsXJACghU4a
-Ix+3rLiRKK+QjoAW0Vu/TD8=
-=zPyR
+iD8DBQFDZkeJj5H05b2HAEkRArWMAKCD77pNt4rwntu8mmYWKufRM1Q3/QCfWTl/
+HZGQ3qUozwrSpjp9Dx8hq3w=
+=pYOL
-----END PGP SIGNATURE-----
+++ /dev/null
-MD5 f63e94ed74b0b5f2d6e32baba2963b4a mpeg2dec-0.2.1.tar.gz 270412
+++ /dev/null
-MD5 e9f899d232eee5e7282c9c96ffde8016 mpeg2dec-0.3.1.tar.gz 325459
+++ /dev/null
-MD5 bc2d9e18bb90a558d1653f03bffa00b8 mpeg2dec-cvs-20030625.tar.gz 338973
+++ /dev/null
-MD5 49a70fef1b0f710ed7e64ed32ee82d4d mpeg2dec-0.4.0.tar.gz 473690
+++ /dev/null
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/libmpeg2-0.2.1.ebuild,v 1.14 2005/03/21 06:58:07 mr_bones_ Exp $
-
-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 sparc ~ppc"
-IUSE="sdl X"
-
-DEPEND="sdl? ( media-libs/libsdl )
- X? ( virtual/x11 )"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
- # this build doesn't play nice with -maltivec (gcc 3.2 only option) on ppc
- filter-flags "-maltivec -mabi=altivec"
- # get rid of the -mcpu
- sed -i \
- -e 's:OPT_CFLAGS=\"$CFLAGS -mcpu=.*\":OPT_CFLAGS=\"$CFLAGS\":g' \
- configure \
- || die "sed failed"
- elibtoolize
-}
-
-src_compile() {
- local myconf
-
- use sdl || myconf="${myconf} --disable-sdl"
-
- use X && myconf="${myconf} --with-x" \
- || myconf="${myconf} --without-x"
-
- econf --enable-shared \
- ${myconf} || die "./configure failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- dodoc AUTHORS ChangeLog NEWS README TODO
-}
+++ /dev/null
-# Copyright 1999-2005 Gentoo Foundation
-# 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.11 2005/07/10 20:56:15 swegener 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 sparc ppc ~alpha amd64"
-
-DEPEND="sdl? ( media-libs/libsdl )
- X? ( virtual/x11 )"
-
-# this build doesn't play nice with -maltivec (gcc 3.2 only option) on ppc
-filter-flags "-maltivec -mabi=altivec -fPIC"
-[ $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 -j1 || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- dodoc AUTHORS COPYING ChangeLog NEWS README TODO
-}
+++ /dev/null
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/libmpeg2-0.3.2_pre20030625.ebuild,v 1.8 2005/07/10 20:56:15 swegener Exp $
-
-IUSE="sdl X"
-
-inherit libtool flag-o-matic
-
-S="${WORKDIR}/mpeg2dec-0.3.2-cvs"
-DESCRIPTION="library for decoding mpeg-2 and mpeg-1 video"
-SRC_URI="mirror://gentoo/mpeg2dec-cvs-20030625.tar.gz"
-HOMEPAGE="http://libmpeg2.sourceforge.net/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 sparc ~ppc ~alpha amd64"
-
-DEPEND="sdl? ( media-libs/libsdl )
- X? ( virtual/x11 )"
-
-# this build doesn't play nice with -maltivec (gcc 3.2 only option) on ppc
-filter-flags "-maltivec -mabi=altivec -fPIC"
-[ $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 -j1 || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- dodoc AUTHORS COPYING ChangeLog NEWS README TODO
-}
+++ /dev/null
-# Copyright 1999-2005 Gentoo Foundation
-# 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.4 2005/03/21 06:58:07 mr_bones_ Exp $
-
-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"
-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"
-}
# Copyright 1999-2005 Gentoo Foundation
# 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.24 2005/07/02 13:37:38 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild,v 1.25 2005/10/31 16:34:05 flameeyes Exp $
-inherit eutils flag-o-matic
+inherit eutils flag-o-matic autotools
MY_P="${P/libmpeg2/mpeg2dec}"
DESCRIPTION="library for decoding mpeg-2 and mpeg-1 video"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
IUSE="sdl X"
-DEPEND="virtual/libc
- sdl? ( media-libs/libsdl )
+DEPEND="sdl? ( media-libs/libsdl )
X? ( virtual/x11 )"
S="${WORKDIR}/${MY_P/b/}"
use alpha && append-flags -fPIC
- # Resolves bug 73224.
- # <slarti@gentoo.org> Dec 2004
- use amd64 && append-flags -fPIC
-
# Fix a compilation-error with gcc 3.4. Bug #51964.
epatch "${FILESDIR}/gcc34-inline-fix-${PV}.diff"
epatch "${FILESDIR}/altivec-fix-${PV}.diff"
-e '/-mcpu/d' \
configure.in \
|| die "sed configure failed"
- aclocal && automake && libtoolize --copy --force && autoconf \
- || die "autotools failed"
+
+ eautoreconf
+ elibtoolize
}
src_compile() {
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>video</herd>
+</pkgmetadata>