summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Jezak <josejx@gentoo.org>2010-05-25 17:24:05 +0000
committerJoseph Jezak <josejx@gentoo.org>2010-05-25 17:24:05 +0000
commitc5985290179c86e41b79f943912b5496b468ec0b (patch)
treecc816792ace9ebd11fd4ff40d3b49ef90f8f3128 /media-libs
parentVersion bump. (diff)
downloadhistorical-c5985290179c86e41b79f943912b5496b468ec0b.tar.gz
historical-c5985290179c86e41b79f943912b5496b468ec0b.tar.bz2
historical-c5985290179c86e41b79f943912b5496b468ec0b.zip
Added patch to detect altivec.h correctly.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libmpeg2/ChangeLog6
-rw-r--r--media-libs/libmpeg2/Manifest15
-rw-r--r--media-libs/libmpeg2/files/libmpeg2-0.5.1-altivec.patch16
-rw-r--r--media-libs/libmpeg2/libmpeg2-0.5.1-r1.ebuild7
4 files changed, 39 insertions, 5 deletions
diff --git a/media-libs/libmpeg2/ChangeLog b/media-libs/libmpeg2/ChangeLog
index cab56099ebb0..e7e1896dd8a1 100644
--- a/media-libs/libmpeg2/ChangeLog
+++ b/media-libs/libmpeg2/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/libmpeg2
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/ChangeLog,v 1.75 2010/01/25 17:29:42 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/ChangeLog,v 1.76 2010/05/25 17:24:05 josejx Exp $
+
+ 25 May 2010; Joseph Jezak <josejx@gentoo.org> libmpeg2-0.5.1-r1.ebuild,
+ +files/libmpeg2-0.5.1-altivec.patch:
+ Added patch to detect altivec.h correctly.
25 Jan 2010; Raúl Porcel <armin76@gentoo.org>
-files/libmpeg-0.5.1-armv4l.patch, +files/libmpeg2-0.5.1-armv4l.patch:
diff --git a/media-libs/libmpeg2/Manifest b/media-libs/libmpeg2/Manifest
index 0b6ab4750b10..27cbb27058d9 100644
--- a/media-libs/libmpeg2/Manifest
+++ b/media-libs/libmpeg2/Manifest
@@ -1,11 +1,22 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX libmpeg2-0.4.1-use-readelf-for-test.patch 869 RMD160 55939dd2417015c1bf8052fe506495d55514337b SHA1 6476adaecd05519941cc70c14daeab27732e4d51 SHA256 56d43bb88a4179dbc3859c77ca445b89bbdd1223ee8d78bcc7d7148dee7ae534
+AUX libmpeg2-0.5.1-altivec.patch 688 RMD160 4eca946d82757645fb2b6479c2d969610975c1ed SHA1 2960c4b2ccfc0b6f9b726af64e27d06e432087d9 SHA256 01d23bd352fd0a072e70e9ccc0a7567a0b007bd626154ab2cdb2d5345a9df5ce
AUX libmpeg2-0.5.1-arm-private-symbols.patch 1222 RMD160 ce216f2999be25af92392ad8b3fcbeed084f4a17 SHA1 364560cc5ef894c3dd02c40e7d1e2769d2e46ab9 SHA256 c012b21203452efc0f5bb2334e65461c45d53110c0b0e9b79efab68a7784c944
AUX libmpeg2-0.5.1-armv4l.patch 749 RMD160 193fe881dcd423ee7a059e658caf37c91624d673 SHA1 fb9c72c1b5bfabc1162980f773c997e859bb7be2 SHA256 9136da8f10b1b8b51359855dccdb46dea69919890857264b94160e2f8774bfa7
AUX libmpeg2-0.5.1-global-symbol-test.patch 1931 RMD160 5a6ad7fcfbb493f15c8864a1a03fd5cbfee6d98a SHA1 639f8288404e499067ceb8566a7c778ad23c86bb SHA256 67fde111b731ef04c31318aa05568fac6614cc102499dbfb8afc409a78b5680f
DIST libmpeg2-0.5.1.tar.gz 524776 RMD160 00b2d669655ed3f7a176f5eecc925045159a0301 SHA1 0f9163d8fd52db5f577ebe45636f674252641fd7 SHA256 dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4
DIST mpeg2dec-0.4.1.tar.gz 494539 RMD160 5377ae45abdd37fabcea6d3d0a9d74e493b84483 SHA1 80be8b16dff4caa4253470d1a3b563fdc0177fcb SHA256 c74a76068f8ec36d4bb59a03bf1157be44118ca02252180e8b358b0b5e3edeee
EBUILD libmpeg2-0.4.1.ebuild 1338 RMD160 b486051b9683d1e9b9bd3d17abec9016a2138cc5 SHA1 29656bdc81f5e16a9cfa55459eecebf6e795fce4 SHA256 7779ffee6c3c11bf82e2e7109a28ccb07f19784aa4113469b0f154104a408118
-EBUILD libmpeg2-0.5.1-r1.ebuild 1298 RMD160 1421426349fe36d51e02354cfc43ab1fed611fe5 SHA1 0e8b92eed4c109d08ce75cdf15af25d9b8849ee7 SHA256 532cb55813a045bcdfedb1e28c4e622a1e91f035795a4eed0880bb616cb2800e
+EBUILD libmpeg2-0.5.1-r1.ebuild 1388 RMD160 010e883f3ae7c7c6b2bb300a87447b2fdfbffa77 SHA1 35a942fa9333b91a0340b2b2efd0a148e8febac7 SHA256 a371b246d5d38c9172aafa99df110d08fc4483074fd0f5fd232dc56f521be982
EBUILD libmpeg2-0.5.1.ebuild 1320 RMD160 cb62eda14b9daec73411e6269244307cb0dd65bc SHA1 2e9127d8d96e70f794ddacac60c2ccbdb7cf5e47 SHA256 cbb27269523ead3124dbf436fddb2260584aa5e609515b12430d2b3230fa4637
-MISC ChangeLog 9593 RMD160 e5be7c79b26fa8786f22e668c199c78a72d2747b SHA1 f1b34eb3f38b7972c0984e134840725321926dbe SHA256 ec297d1cadccb608cc7507fc4264df3385f4a9464cb313472571c9b3224ac80c
+MISC ChangeLog 9751 RMD160 6b7abe9e5b4667c67383d67bd2a7b56839f786d5 SHA1 fe9682e236cdbe31670d410eac0651f53fd9c633 SHA256 86ef311bfed253765b6c7a7980e78a6a381f1507ead9cf200ef4894596e0aeb6
MISC metadata.xml 223 RMD160 86b42c49b694db39ddb3fdc60b98a3ad1a0c3392 SHA1 ea8c387229caaf4b0d3c9fbef9143b70dcae0b0d SHA256 dd48e823ec9a151bc3611121402ed26ee24eb3304aa62870b1e875a8fa0ac812
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAkv8B5wACgkQcsIHjyDViGTUxACfQujTNpn7ap4WUfNyyeQik2Nx
+I0AAoNwgNPK9H6rX+ejaRlkWw1tr1BOH
+=CJ1j
+-----END PGP SIGNATURE-----
diff --git a/media-libs/libmpeg2/files/libmpeg2-0.5.1-altivec.patch b/media-libs/libmpeg2/files/libmpeg2-0.5.1-altivec.patch
new file mode 100644
index 000000000000..617fe7509951
--- /dev/null
+++ b/media-libs/libmpeg2/files/libmpeg2-0.5.1-altivec.patch
@@ -0,0 +1,16 @@
+--- configure.ac.bak 2010-05-25 17:12:14.756245990 +0000
++++ configure.ac 2010-05-25 17:11:51.629581723 +0000
+@@ -79,11 +79,10 @@
+ CFLAGS="$OPT_CFLAGS $TRY_CFLAGS $CFLAGS"
+ AC_MSG_CHECKING([if <altivec.h> is needed])
+ AC_TRY_COMPILE([],
+- [typedef vector int t;
+- vec_ld(0, (unsigned char *)0);],
++ [vector int t; t = vec_add(t,t);],
+ [have_altivec=yes; AC_MSG_RESULT(no)],
+ [AC_TRY_COMPILE([#include <altivec.h>],
+- [typedef vector int t; vec_ld(0, (unsigned char *)0);],
++ [vector int t; t = vec_add(t,t);],
+ [AC_DEFINE([HAVE_ALTIVEC_H],,
+ [Define to 1 if you have the <altivec.h> header.])
+ have_altivec=yes; AC_MSG_RESULT(yes)],
diff --git a/media-libs/libmpeg2/libmpeg2-0.5.1-r1.ebuild b/media-libs/libmpeg2/libmpeg2-0.5.1-r1.ebuild
index f448d0d8948f..d10f00d7fdd3 100644
--- a/media-libs/libmpeg2/libmpeg2-0.5.1-r1.ebuild
+++ b/media-libs/libmpeg2/libmpeg2-0.5.1-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/libmpeg2-0.5.1-r1.ebuild,v 1.3 2010/01/24 15:59:57 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/libmpeg2-0.5.1-r1.ebuild,v 1.4 2010/05/25 17:24:05 josejx Exp $
EAPI=2
-inherit eutils libtool
+inherit autotools eutils libtool
DESCRIPTION="library for decoding mpeg-2 and mpeg-1 video"
HOMEPAGE="http://libmpeg2.sourceforge.net/"
@@ -27,6 +27,9 @@ src_prepare() {
"${FILESDIR}"/${P}-global-symbol-test.patch \
"${FILESDIR}"/${P}-armv4l.patch
elibtoolize
+ ### PowerPC fix for altivec
+ epatch "${FILESDIR}"/${P}-altivec.patch
+ eautoconf
}
src_configure() {