diff options
Diffstat (limited to 'media-libs/libmpeg2')
-rw-r--r-- | media-libs/libmpeg2/Manifest | 5 | ||||
-rw-r--r-- | media-libs/libmpeg2/files/altivec-fix-0.4.0b.diff | 25 | ||||
-rw-r--r-- | media-libs/libmpeg2/files/gcc34-inline-fix-0.4.0b.diff | 20 | ||||
-rw-r--r-- | media-libs/libmpeg2/files/libmpeg2-0.4.0b-use-readelf-for-test.patch | 26 | ||||
-rw-r--r-- | media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild | 72 |
5 files changed, 0 insertions, 148 deletions
diff --git a/media-libs/libmpeg2/Manifest b/media-libs/libmpeg2/Manifest index c841a6258948..316de1222c1e 100644 --- a/media-libs/libmpeg2/Manifest +++ b/media-libs/libmpeg2/Manifest @@ -1,11 +1,6 @@ -AUX altivec-fix-0.4.0b.diff 888 RMD160 517563511f8b768ec558a32f2cad776cefee91f0 SHA1 2ac2ae709c3e6aff698c0f15f29fbc66c0302440 SHA256 85ec253642083ef0f6a2705f270e3aeda7ba36bbcb2fbdd04a70dfa302869fff -AUX gcc34-inline-fix-0.4.0b.diff 513 RMD160 5351fe7b55f23cc48961cec7202c945d4fa1a656 SHA1 ba38ab716dc612289adb23e5473153743cfcd7cb SHA256 dae6bf3af6f7453309b563a9fe9512defd84cb57cf14f03b214321292ba51444 -AUX libmpeg2-0.4.0b-use-readelf-for-test.patch 869 RMD160 55939dd2417015c1bf8052fe506495d55514337b SHA1 6476adaecd05519941cc70c14daeab27732e4d51 SHA256 56d43bb88a4179dbc3859c77ca445b89bbdd1223ee8d78bcc7d7148dee7ae534 AUX libmpeg2-0.4.1-use-readelf-for-test.patch 869 RMD160 55939dd2417015c1bf8052fe506495d55514337b SHA1 6476adaecd05519941cc70c14daeab27732e4d51 SHA256 56d43bb88a4179dbc3859c77ca445b89bbdd1223ee8d78bcc7d7148dee7ae534 DIST libmpeg2-0.5.1.tar.gz 524776 RMD160 00b2d669655ed3f7a176f5eecc925045159a0301 SHA1 0f9163d8fd52db5f577ebe45636f674252641fd7 SHA256 dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4 -DIST mpeg2dec-0.4.0b.tar.gz 473846 RMD160 44df6c21e88d2c3029ef418ea46e2d6796c90004 SHA1 7ad99a810802f216893022fa14fa078ac49d67d7 SHA256 9416376952812e5b479745d67a2bf874fbcad10137517314ce7de37abb756df8 DIST mpeg2dec-0.4.1.tar.gz 494539 RMD160 5377ae45abdd37fabcea6d3d0a9d74e493b84483 SHA1 80be8b16dff4caa4253470d1a3b563fdc0177fcb SHA256 c74a76068f8ec36d4bb59a03bf1157be44118ca02252180e8b358b0b5e3edeee -EBUILD libmpeg2-0.4.0b.ebuild 1850 RMD160 d6372f467d3197de4f94ec3b4812379be2a61751 SHA1 a8d3ac003abd5a66cbe780acd6054cebf47070b8 SHA256 ad8a11f4e536ad1c0b71221a2135365fe99bec3d1b17346cfc74b8dff76f0cd4 EBUILD libmpeg2-0.4.1.ebuild 1338 RMD160 b486051b9683d1e9b9bd3d17abec9016a2138cc5 SHA1 29656bdc81f5e16a9cfa55459eecebf6e795fce4 SHA256 7779ffee6c3c11bf82e2e7109a28ccb07f19784aa4113469b0f154104a408118 EBUILD libmpeg2-0.5.1.ebuild 1320 RMD160 cb62eda14b9daec73411e6269244307cb0dd65bc SHA1 2e9127d8d96e70f794ddacac60c2ccbdb7cf5e47 SHA256 cbb27269523ead3124dbf436fddb2260584aa5e609515b12430d2b3230fa4637 MISC ChangeLog 8707 RMD160 a756cb1a2317fee16646fca8abac21ae735c4fe7 SHA1 34a204c792f7d78a88699e00916d06819df3e221 SHA256 cdb4d418e4a573e0899b252e31ab092114cd5e50a1b4dda5ca8a1f9b0b157431 diff --git a/media-libs/libmpeg2/files/altivec-fix-0.4.0b.diff b/media-libs/libmpeg2/files/altivec-fix-0.4.0b.diff deleted file mode 100644 index 0e034e335348..000000000000 --- a/media-libs/libmpeg2/files/altivec-fix-0.4.0b.diff +++ /dev/null @@ -1,25 +0,0 @@ ---- a/configure.in 2003-12-23 10:14:56.000000000 +0100 -+++ b/configure.in 2004-06-06 02:13:29.182121072 +0200 -@@ -71,9 +71,19 @@ - AC_CHECK_HEADER([altivec.h], - [TRY_CFLAGS="$ARCH_OPT_CFLAGS -maltivec"], - [TRY_CFLAGS="$ARCH_OPT_CFLAGS -faltivec"]) -- AC_TRY_CFLAGS([$OPT_CFLAGS $TRY_CFLAGS $CFLAGS], -- [ARCH_OPT_CFLAGS="$TRY_CFLAGS" -- AC_DEFINE([ARCH_PPC],,[ppc architecture])]);; -+ CFLAGS="$OPT_CFLAGS" -+ AC_TRY_COMPILE([ -+ #ifdef HAVE_ALTIVEC_H -+ #include <altivec.h> -+ #endif -+ ], [ -+ vector float v = (vector float) { 0.0, 0.0, 0.0, 0.0 }; -+ vec_andc((vector float)v, (vector float)v); -+ ], [ AC_TRY_CFLAGS([$OPT_CFLAGS $TRY_CFLAGS $CFLAGS], -+ [ARCH_OPT_CFLAGS="$TRY_CFLAGS" -+ AC_DEFINE([ARCH_PPC],,[ppc architecture])]) -+ ] ) -+ ;; - sparc-* | sparc64-*) - AC_DEFINE([ARCH_SPARC],,[sparc architecture]) - TRY_CFLAGS="$OPT_CFLAGS -mcpu=ultrasparc -mvis" diff --git a/media-libs/libmpeg2/files/gcc34-inline-fix-0.4.0b.diff b/media-libs/libmpeg2/files/gcc34-inline-fix-0.4.0b.diff deleted file mode 100644 index b6264981a2e6..000000000000 --- a/media-libs/libmpeg2/files/gcc34-inline-fix-0.4.0b.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- libmpeg2/cpu_accel.c.orig 2004-07-10 00:25:35.477608630 +0200 -+++ libmpeg2/cpu_accel.c 2004-07-10 00:25:56.794588961 +0200 -@@ -127,7 +127,7 @@ - } - - #ifdef ARCH_PPC --static inline uint32_t arch_accel (void) -+static uint32_t arch_accel (void) - { - static RETSIGTYPE (* oldsig) (int); - -@@ -157,7 +157,7 @@ static uint32_t arch_accel (void) - #endif /* ARCH_PPC */ - - #ifdef ARCH_SPARC --static inline uint32_t arch_accel (void) -+static uint32_t arch_accel (void) - { - static RETSIGTYPE (* oldsig) (int); - diff --git a/media-libs/libmpeg2/files/libmpeg2-0.4.0b-use-readelf-for-test.patch b/media-libs/libmpeg2/files/libmpeg2-0.4.0b-use-readelf-for-test.patch deleted file mode 100644 index 7d091cfbb04e..000000000000 --- a/media-libs/libmpeg2/files/libmpeg2-0.4.0b-use-readelf-for-test.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- test/globals.orig 2006-04-29 19:19:59.000000000 +0200 -+++ test/globals 2006-04-29 19:24:35.000000000 +0200 -@@ -14,8 +14,9 @@ - - error=0 - --bad_globals=`nm -g --defined-only $builddir/../libmpeg2/*.o |\ -- awk '{if ($3) print $3}' | grep -v '^_\?mpeg2_'` -+bad_globals=`readelf -s $builddir/../libmpeg2/*.o |\ -+ awk '$5=="GLOBAL" && $6!="HIDDEN" && $7!="UND" {print $8}' |\ -+ grep -v '^_\?mpeg2_'` - - if test x"$bad_globals" != x""; then - echo BAD GLOBAL SYMBOLS: -@@ -23,8 +24,9 @@ - error=1 - fi - --bad_globals=`nm -g --defined-only $builddir/../libmpeg2/convert/*.o |\ -- awk '{if ($3) print $3}' | grep -v '^_\?mpeg2convert_'` -+bad_globals=`readelf -s $builddir/../libmpeg2/convert/*.o |\ -+ awk '$5=="GLOBAL" && $6!="HIDDEN" && $7!="UND" {print $8}' |\ -+ grep -v '^_\?mpeg2convert_'` - - if test x"$bad_globals" != x""; then - echo BAD GLOBAL SYMBOLS: diff --git a/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild b/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild deleted file mode 100644 index 0d0ae5bd5900..000000000000 --- a/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2007 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.36 2007/10/26 00:49:21 beandog Exp $ - -WANT_AUTOMAKE="latest" -WANT_AUTOCONF="latest" -inherit eutils flag-o-matic autotools libtool - -MY_P="${P/libmpeg2/mpeg2dec}" -DESCRIPTION="library for decoding mpeg-2 and mpeg-1 video" -HOMEPAGE="http://libmpeg2.sourceforge.net/" -SRC_URI="http://libmpeg2.sourceforge.net/files/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd" -IUSE="sdl X" - -RDEPEND="sdl? ( media-libs/libsdl ) - X? ( - x11-libs/libXv - x11-libs/libICE - x11-libs/libSM - x11-libs/libXt - )" -DEPEND="${RDEPEND} - X? ( x11-proto/xextproto )" - -S="${WORKDIR}"/${MY_P/b/} - -src_unpack() { - unpack ${A} - cd "${S}" - - use alpha && 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" - # get rid of the -mcpu - sed -i \ - -e '/-mcpu/d' \ - configure.in \ - || die "sed configure failed" - - # Fix problem that the test for external symbols - # uses nm which also displays hidden symbols. Bug #130831 - epatch "${FILESDIR}/${P}-use-readelf-for-test.patch" - - eautoreconf - elibtoolize -} - -src_compile() { - # x86 asm + 64bit binary == no worky (fixes bug 69227) - use amd64 && myconf="--disable-accel-detect" - - econf \ - --enable-shared \ - --disable-dependency-tracking \ - $(use_enable sdl) \ - $(use_with X x) \ - ${myconf} \ - || die - # builds non-pic library by default? (bug #44934) - emake OPT_CFLAGS="${CFLAGS}" MPEG2DEC_CFLAGS="${CFLAGS}" LIBMPEG2_CFLAGS= || die "emake failed" -} - -src_install() { - make DESTDIR="${D}" install || die "make install failed" - dodoc AUTHORS ChangeLog NEWS README TODO -} |