From 149e21d2cf67e5d033cc9664992b335a01c7c793 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sun, 13 Mar 2011 10:39:04 +0000 Subject: [PATCH] media-libs/libvpx: bump the multilib patch (Portage version: 2.2.0_alpha26-r1/svn/Linux x86_64) git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2865 6952d904-891a-0410-993b-d76249ca496b --- media-libs/libvpx/ChangeLog | 6 ++ media-libs/libvpx/Manifest | 6 +- media-libs/libvpx/libvpx-0.9.5-r1.ebuild | 3 +- media-libs/libvpx/libvpx-0.9.6-r1.ebuild | 74 ++++++++++++++++++++++++ 4 files changed, 86 insertions(+), 3 deletions(-) create mode 100644 media-libs/libvpx/libvpx-0.9.6-r1.ebuild diff --git a/media-libs/libvpx/ChangeLog b/media-libs/libvpx/ChangeLog index 2499939d..6a873836 100644 --- a/media-libs/libvpx/ChangeLog +++ b/media-libs/libvpx/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/ChangeLog,v 1.11 2010/12/10 21:46:07 hwoarang Exp $ +*libvpx-0.9.6-r1 (13 Mar 2011) + + 13 Mar 2011; Mario Fetka libvpx-0.9.5-r1.ebuild, + +libvpx-0.9.6-r1.ebuild: + bump the multilib patch + *libvpx-0.9.5-r1 (04 Feb 2011) 04 Feb 2011; Mario Fetka +libvpx-0.9.5-r1.ebuild, diff --git a/media-libs/libvpx/Manifest b/media-libs/libvpx/Manifest index b1cf9e87..5c834a9a 100644 --- a/media-libs/libvpx/Manifest +++ b/media-libs/libvpx/Manifest @@ -1,7 +1,9 @@ AUX libvpx-0.9.5-enable-shared.patch 655 RMD160 a72ba77666e088103a48fb31c445fc12f8163959 SHA1 4ee0feade82667b1e6d42cafcbe4113205482011 SHA256 44239d453714ca62523b299612d2ec279eceb2e74c296de1ef8eb5c8575ad86e DIST libvpx-v0.9.5.tar.bz2 1250422 RMD160 e90652a84e6047f5d5f8a0a110b07a324742a74c SHA1 223965ff16737251afb3377c0800d1f8b5f84379 SHA256 2e93968afcded113a7e218de047feecf6659a089058803a9e40fb687de5f9bfa -EBUILD libvpx-0.9.5-r1.ebuild 1869 RMD160 f85f231b9e58ccf1417a56592067f0aa3a6da69b SHA1 d4f740f09a0f0bbae6d22ecbd0415f62ff3f1130 SHA256 d8fbbcedf9d880121eb494f1e7aee8a64fa95e4ee17138c43dd3d7bb822ec81e +DIST libvpx-v0.9.6.tar.bz2 1230418 RMD160 b85038b92d911b29b3b912c3d71c60e13f89a551 SHA1 a3522bd2b73d52381ba767ded1cbf4760e9cc6f8 SHA256 28bd8a8ef216fb570912f0d378668051d99681bf13735b59e68a12ad79f2aa73 +EBUILD libvpx-0.9.5-r1.ebuild 1736 RMD160 8f85d600662fdde22b775e34914e59e4236f32b3 SHA1 67fbe00febdfe5c9afcaf1330df864df2c2fa0b7 SHA256 0fbc1373f43af31eba45025a7e9d11ba865b6a4b1c566ec649145d8d7f46000f EBUILD libvpx-0.9.5.ebuild 1656 RMD160 008165250f79d20ffde82d4de3b257130f1fc25c SHA1 98dd96444722076c700c96ca243e46cd0367b228 SHA256 a66be54aa947cb1076ee735f5a3be5b519d46c73258f85da0abfb25b4547da08 +EBUILD libvpx-0.9.6-r1.ebuild 2178 RMD160 25ca982591c52aa93db9a3493da16aaece8fa8c9 SHA1 a9c230e5c0998b89a8e1940440f125de9758db69 SHA256 e4907f4797fee9eb4031243b88923f15c4144ba576bb03aea020b00e1ad8c9e7 EBUILD libvpx-9999.ebuild 1656 RMD160 008165250f79d20ffde82d4de3b257130f1fc25c SHA1 98dd96444722076c700c96ca243e46cd0367b228 SHA256 a66be54aa947cb1076ee735f5a3be5b519d46c73258f85da0abfb25b4547da08 -MISC ChangeLog 2037 RMD160 8b5b837b94c25155c0ef324fbaf8771eb66cc0a7 SHA1 f03887542f578b4d476f8a2166d54796e431ad91 SHA256 81d2473cec9d42cb8f8e127a5d51f1a7bcd1351012c0a70bfe34440fdf2469d9 +MISC ChangeLog 2198 RMD160 5b804d8f9511a94a7652d93134f32a6df5a9475d SHA1 4bc6797f693cf9d18a3d0bf030d52919c9384282 SHA256 ae24df4f143505441dc5f0ee2a04a9e0a77a67bf4e80a245ccf96b09887d13eb MISC metadata.xml 517 RMD160 5b8c2af107175fc8be0fd0f3d676dcb1fb1b2bc1 SHA1 a9164f13235a7bce3d266767c1d47bc2be4c3021 SHA256 b94ac8d73429cfe726eb618f80bf11865e682f5129d6268a3182c70b34325734 diff --git a/media-libs/libvpx/libvpx-0.9.5-r1.ebuild b/media-libs/libvpx/libvpx-0.9.5-r1.ebuild index 2ec2f2ea..6e7875ca 100644 --- a/media-libs/libvpx/libvpx-0.9.5-r1.ebuild +++ b/media-libs/libvpx/libvpx-0.9.5-r1.ebuild @@ -43,7 +43,8 @@ src_configure() { tc-export CC archparm="" [ "$ABI" = "x86" ] && archparm="--target=x86-linux-gcc" - [ "$ABI" = "x86_64" ] && archparm="--target=x86_64-linux-gcc" ./configure \ + [ "$ABI" = "x86_64" ] && archparm="--target=x86_64-linux-gcc" + ./configure \ --prefix=/usr \ --libdir=/usr/$(get_libdir) \ --enable-pic \ diff --git a/media-libs/libvpx/libvpx-0.9.6-r1.ebuild b/media-libs/libvpx/libvpx-0.9.6-r1.ebuild new file mode 100644 index 00000000..f773363a --- /dev/null +++ b/media-libs/libvpx/libvpx-0.9.6-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/libvpx-0.9.6.ebuild,v 1.1 2011/03/09 23:35:23 lu_zero Exp $ + +EAPI=3 +inherit eutils multilib toolchain-funcs + +if [[ ${PV} == *9999* ]]; then + inherit git + EGIT_REPO_URI="git://review.webmproject.org/${PN}.git" + KEYWORDS="" +elif [[ ${PV} == *pre* ]]; then + SRC_URI="mirror://gentoo/${P}.tar.bz2" + KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux" +else + MY_P="${PN}-v${PV}" + SRC_URI="http://webm.googlecode.com/files/${MY_P}.tar.bz2" + KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux" + S="${WORKDIR}/${MY_P}" +fi + +DESCRIPTION="WebM VP8 Codec SDK" +HOMEPAGE="http://www.webmproject.org" + +LICENSE="BSD" +SLOT="0" +IUSE="altivec debug doc mmx postproc sse sse2 sse3 ssse3 +threads" + +RDEPEND="" +DEPEND="amd64? ( dev-lang/yasm ) + x86? ( dev-lang/yasm ) + doc? ( + app-doc/doxygen + dev-lang/php + ) +" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.9.5-enable-shared.patch +} + +src_configure() { + tc-export CC + archparm="" + [ "$ABI" = "x86" ] && archparm="--target=x86-linux-gcc" + [ "$ABI" = "x86_64" ] && archparm="--target=x86_64-linux-gcc" + ./configure \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --enable-pic \ + --enable-vp8 \ + --enable-shared \ + $(use_enable altivec) \ + $(use_enable mmx) \ + $(use_enable sse) \ + $(use_enable sse2) \ + $(use_enable sse3) \ + $(use_enable ssse3) \ + $(use_enable debug) \ + $(use_enable debug debug-libs) \ + $(use_enable doc install-docs) \ + $(use_enable postproc) \ + $(use_enable threads multithread) \ + $archparm \ + --as=yasm \ + || die +} + +src_install() { + # http://bugs.gentoo.org/show_bug.cgi?id=323805 + emake -j1 DESTDIR="${D}" install || die + + dodoc AUTHORS CHANGELOG README || die +}