Version bumped.
authorMatthias Schwarzott <zzam@gentoo.org>
Tue, 14 Nov 2006 21:54:42 +0000 (21:54 +0000)
committerMatthias Schwarzott <zzam@gentoo.org>
Tue, 14 Nov 2006 21:54:42 +0000 (21:54 +0000)
Package-Manager: portage-2.1.2_rc1-r6

media-libs/libmpeg2/ChangeLog
media-libs/libmpeg2/Manifest
media-libs/libmpeg2/files/digest-libmpeg2-0.4.1 [new file with mode: 0644]
media-libs/libmpeg2/files/libmpeg2-0.4.1-use-readelf-for-test.patch [new file with mode: 0644]
media-libs/libmpeg2/libmpeg2-0.4.1.ebuild [new file with mode: 0644]

index f89c512d56ce605b1a385e3ca2767adae774eac1..f36b0c980b897977d9e89862ae7fe9e5da8cc505 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for media-libs/libmpeg2
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/ChangeLog,v 1.50 2006/11/06 07:22:15 the_paya Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/ChangeLog,v 1.51 2006/11/14 21:54:42 zzam Exp $
+
+*libmpeg2-0.4.1 (14 Nov 2006)
+
+  14 Nov 2006; Matthias Schwarzott <zzam@gentoo.org>
+  +files/libmpeg2-0.4.1-use-readelf-for-test.patch, +libmpeg2-0.4.1.ebuild:
+  Version bumped.
 
   06 Nov 2006; Javier Villavicencio <the_paya@gentoo.org>
   libmpeg2-0.4.0b.ebuild:
index d6a38fa99eb759090970cfbd73936c75be7571a3..2572ced6f209e7fc77896ff5f26c7888a45c1329 100644 (file)
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX altivec-fix-0.4.0b.diff 890 RMD160 31026ac12ea5896c2db23ad101f878542d539beb SHA1 0a4e099366c1ff60a902d6950deeb4f4aa1d1925 SHA256 98d7f45c7618eb0c19559f783a091b49dc689e7b2a05b75d386432b3feef9a10
 MD5 6ed53be491fa83ebc59d0d7b285c5e4f files/altivec-fix-0.4.0b.diff 890
 RMD160 31026ac12ea5896c2db23ad101f878542d539beb files/altivec-fix-0.4.0b.diff 890
@@ -10,15 +13,24 @@ AUX libmpeg2-0.4.0b-use-readelf-for-test.patch 869 RMD160 55939dd2417015c1bf8052
 MD5 3dc94b993fe05f0b8f600a7d11f5bf61 files/libmpeg2-0.4.0b-use-readelf-for-test.patch 869
 RMD160 55939dd2417015c1bf8052fe506495d55514337b files/libmpeg2-0.4.0b-use-readelf-for-test.patch 869
 SHA256 56d43bb88a4179dbc3859c77ca445b89bbdd1223ee8d78bcc7d7148dee7ae534 files/libmpeg2-0.4.0b-use-readelf-for-test.patch 869
+AUX libmpeg2-0.4.1-use-readelf-for-test.patch 869 RMD160 55939dd2417015c1bf8052fe506495d55514337b SHA1 6476adaecd05519941cc70c14daeab27732e4d51 SHA256 56d43bb88a4179dbc3859c77ca445b89bbdd1223ee8d78bcc7d7148dee7ae534
+MD5 3dc94b993fe05f0b8f600a7d11f5bf61 files/libmpeg2-0.4.1-use-readelf-for-test.patch 869
+RMD160 55939dd2417015c1bf8052fe506495d55514337b files/libmpeg2-0.4.1-use-readelf-for-test.patch 869
+SHA256 56d43bb88a4179dbc3859c77ca445b89bbdd1223ee8d78bcc7d7148dee7ae534 files/libmpeg2-0.4.1-use-readelf-for-test.patch 869
 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 1771 RMD160 f208909bc0cf00f1a8e81b0f75ed865b949d4d04 SHA1 9b55220057a873b3b8255b03b9f0379713a0e7b8 SHA256 d0fbf3b71fd851908f332c4d4365d58697eef350411a405ba7306e519417ca47
 MD5 783582c1e037ea4f5ff6b3c137139e24 libmpeg2-0.4.0b.ebuild 1771
 RMD160 f208909bc0cf00f1a8e81b0f75ed865b949d4d04 libmpeg2-0.4.0b.ebuild 1771
 SHA256 d0fbf3b71fd851908f332c4d4365d58697eef350411a405ba7306e519417ca47 libmpeg2-0.4.0b.ebuild 1771
-MISC ChangeLog 6340 RMD160 04c9b0a20128e2e4fb6c41871b3ee6f06cc5137d SHA1 4e43757b20191de13f76a6e873d92e53b7ae1e58 SHA256 44822bcdaccab47a57d9ba24817448b8b36e37b79c7049dfba4130cc8c549450
-MD5 5fcbafa31cd9ef3144f6bae904aa1c63 ChangeLog 6340
-RMD160 04c9b0a20128e2e4fb6c41871b3ee6f06cc5137d ChangeLog 6340
-SHA256 44822bcdaccab47a57d9ba24817448b8b36e37b79c7049dfba4130cc8c549450 ChangeLog 6340
+EBUILD libmpeg2-0.4.1.ebuild 1616 RMD160 99ba571c348d1db8397701b3d97e292dc9f090c1 SHA1 80178b4cd963b95f7ba1dd63ab41c8684c777efa SHA256 e83237bdd782c013c6b8fcc543878b58fdbb3ea25a63be266bde2c81626951bb
+MD5 3e8f6b1e2ce5491c7385a4c9631858a3 libmpeg2-0.4.1.ebuild 1616
+RMD160 99ba571c348d1db8397701b3d97e292dc9f090c1 libmpeg2-0.4.1.ebuild 1616
+SHA256 e83237bdd782c013c6b8fcc543878b58fdbb3ea25a63be266bde2c81626951bb libmpeg2-0.4.1.ebuild 1616
+MISC ChangeLog 6515 RMD160 ac5db5f700453fbf001a9d529191e16d35c93db3 SHA1 7c4eb8e565a56bce02543d9a26a29b76f6850506 SHA256 3f0dd4206eb10808c3f7430d0ef794745e896001acc61c72596bec03ad75df74
+MD5 1c18180a330504d23c2c63470d805357 ChangeLog 6515
+RMD160 ac5db5f700453fbf001a9d529191e16d35c93db3 ChangeLog 6515
+SHA256 3f0dd4206eb10808c3f7430d0ef794745e896001acc61c72596bec03ad75df74 ChangeLog 6515
 MISC metadata.xml 223 RMD160 86b42c49b694db39ddb3fdc60b98a3ad1a0c3392 SHA1 ea8c387229caaf4b0d3c9fbef9143b70dcae0b0d SHA256 dd48e823ec9a151bc3611121402ed26ee24eb3304aa62870b1e875a8fa0ac812
 MD5 0338bfb24d7bfb6450aac4dd025c0096 metadata.xml 223
 RMD160 86b42c49b694db39ddb3fdc60b98a3ad1a0c3392 metadata.xml 223
@@ -26,3 +38,13 @@ SHA256 dd48e823ec9a151bc3611121402ed26ee24eb3304aa62870b1e875a8fa0ac812 metadata
 MD5 4c17ce2422718767332f6a72b3a5189c files/digest-libmpeg2-0.4.0b 247
 RMD160 a087a358d4af8f90a59716e6108630c707711c56 files/digest-libmpeg2-0.4.0b 247
 SHA256 d53d7a61530e917fa1bcdbafb0b694fd90b8650080995bdc5a7c1f035e2f3ce1 files/digest-libmpeg2-0.4.0b 247
+MD5 e0713c93bde0bb02e7ed1bbf6f9b3e71 files/digest-libmpeg2-0.4.1 244
+RMD160 a0fd7db45b532c7360f5597330664414d4ff09e2 files/digest-libmpeg2-0.4.1 244
+SHA256 cc53ecaaabcf3c2ca7b42133158370edbf0018cef4b2922de7db4bd7e6b298fa files/digest-libmpeg2-0.4.1 244
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFWjspt2vP6XvVdOcRAhPBAJ4vx/ry4niXucNtXDmzS1aEvryeZwCfVcRm
+OOOpHGKA3UOk7ENS0k2Ymf0=
+=gqTs
+-----END PGP SIGNATURE-----
diff --git a/media-libs/libmpeg2/files/digest-libmpeg2-0.4.1 b/media-libs/libmpeg2/files/digest-libmpeg2-0.4.1
new file mode 100644 (file)
index 0000000..f0b7d33
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 7631b0a4bcfdd0d78c0bb0083080b0dc mpeg2dec-0.4.1.tar.gz 494539
+RMD160 5377ae45abdd37fabcea6d3d0a9d74e493b84483 mpeg2dec-0.4.1.tar.gz 494539
+SHA256 c74a76068f8ec36d4bb59a03bf1157be44118ca02252180e8b358b0b5e3edeee mpeg2dec-0.4.1.tar.gz 494539
diff --git a/media-libs/libmpeg2/files/libmpeg2-0.4.1-use-readelf-for-test.patch b/media-libs/libmpeg2/files/libmpeg2-0.4.1-use-readelf-for-test.patch
new file mode 100644 (file)
index 0000000..7d091cf
--- /dev/null
@@ -0,0 +1,26 @@
+--- 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.1.ebuild b/media-libs/libmpeg2/libmpeg2-0.4.1.ebuild
new file mode 100644 (file)
index 0000000..cb45c5f
--- /dev/null
@@ -0,0 +1,68 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/libmpeg2-0.4.1.ebuild,v 1.1 2006/11/14 21:54:42 zzam Exp $
+
+WANT_AUTOMAKE="latest"
+WANT_AUTOCONF="latest"
+inherit eutils flag-o-matic autotools libtool
+
+MY_P="mpeg2dec-${PV}"
+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"
+
+DEPEND="sdl? ( media-libs/libsdl )
+       X? (
+               x11-libs/libXv
+               x11-libs/libICE
+               x11-libs/libSM
+               x11-libs/libXt
+               x11-proto/xextproto
+       )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       use alpha && append-flags -fPIC
+
+       # 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 LIBMPEG2_CFLAGS= || die "emake failed"
+}
+
+src_install() {
+       make DESTDIR="${D}" install || die "make install failed"
+       dodoc AUTHORS ChangeLog NEWS README TODO
+}