add libvpx with multilib portage fix

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2775 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-12-12 08:06:58 +00:00
parent 2255ca82c2
commit 0d5e4b415c
7 changed files with 210 additions and 2 deletions

View File

@ -1,5 +1,5 @@
AUX yasm-1.1.0-skip_cython_check.patch 701 RMD160 2b24da3738ef79a3741de078f7e5302d1bb6383b SHA1 23e85c86e8de7e5d833369d56611b74d50a1d30c SHA256 a0fb5760e0d090a159afac6eaf2961be10e11644fc7c7dbef809fcd95363f9f2 AUX yasm-1.1.0-skip_cython_check.patch 701 RMD160 2b24da3738ef79a3741de078f7e5302d1bb6383b SHA1 23e85c86e8de7e5d833369d56611b74d50a1d30c SHA256 a0fb5760e0d090a159afac6eaf2961be10e11644fc7c7dbef809fcd95363f9f2
DIST yasm-1.1.0.tar.gz 1409438 RMD160 93e9ee40319ca02a3a8fff7f85af216d37fb1d06 SHA1 8b252d2a50f6d0d8fe13997183596c3cd7589db9 SHA256 e5d56b582f3d0c30ed5c4fc221063e4175602307ea645520889458133671c232 DIST yasm-1.1.0.tar.gz 1409438 RMD160 93e9ee40319ca02a3a8fff7f85af216d37fb1d06 SHA1 8b252d2a50f6d0d8fe13997183596c3cd7589db9 SHA256 e5d56b582f3d0c30ed5c4fc221063e4175602307ea645520889458133671c232
EBUILD yasm-1.1.0.ebuild 1257 RMD160 039fcf5dd7c273468a64816ea383c05d72e808df SHA1 073db45263cd5e3ebd2f16b73fe600a77c509525 SHA256 e81de3d8a864f252372bf404ad3abae71f934ad9d0da3c2aec82fbb2e2d9a7d2 EBUILD yasm-1.1.0.ebuild 1305 RMD160 953b100a594b75e260ad25ce930cfc1043acd5bf SHA1 c383a5ec9d42efb9b7534592d59f1760a4a13694 SHA256 c547e9b1e9fe0e761fee6863438868fb45ef8c4cc834eccb337ffbc972bdd0c8
MISC ChangeLog 5350 RMD160 8bf3558560688a75dbde829d2889354ed55ea131 SHA1 f3b7396c9b6d3c72e933f15dbfb4c242f06df6ab SHA256 3c97417cbd03b57423c2c45609943f052d1d26075e4a751d33661b9ff7cf521c MISC ChangeLog 5350 RMD160 8bf3558560688a75dbde829d2889354ed55ea131 SHA1 f3b7396c9b6d3c72e933f15dbfb4c242f06df6ab SHA256 3c97417cbd03b57423c2c45609943f052d1d26075e4a751d33661b9ff7cf521c
MISC metadata.xml 159 RMD160 d52f9d709e07e1eca289e2940d4292c64fda6029 SHA1 021f81ae2e25595444e199cc4be3c122d37da802 SHA256 38c5ab0a3cf60ec0611d1112056b9ff16183715db2c60a2ac84590da0ce7fb76 MISC metadata.xml 159 RMD160 d52f9d709e07e1eca289e2940d4292c64fda6029 SHA1 021f81ae2e25595444e199cc4be3c122d37da802 SHA256 38c5ab0a3cf60ec0611d1112056b9ff16183715db2c60a2ac84590da0ce7fb76

View File

@ -41,7 +41,11 @@ src_configure() {
} }
src_compile() { src_compile() {
emake CFLAGS_FOR_BUILD="${CFLAGS}" CC_FOR_BUILD="${CC} -std=gnu99 ${CFLAGS}" || die if [ "$ABI" = x86 ] ; then
emake CFLAGS_FOR_BUILD="${CFLAGS}" CC_FOR_BUILD="${CC} -std=gnu99 ${CFLAGS}"
else
emake || die
fi
} }
src_install() { src_install() {

View File

@ -0,0 +1,54 @@
# ChangeLog for media-libs/libvpx
# Copyright 1999-2010 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 $
10 Dec 2010; Markos Chandras <hwoarang@gentoo.org> libvpx-0.9.5.ebuild:
Stable on amd64 wrt bug #345559
09 Dec 2010; Christian Faulhammer <fauli@gentoo.org> libvpx-0.9.5.ebuild:
stable x86, security bug 345559
*libvpx-0.9.5 (08 Nov 2010)
08 Nov 2010; Luca Barbato <lu_zero@gentoo.org> +libvpx-0.9.5.ebuild,
libvpx-9999.ebuild:
New version
22 Oct 2010; Petteri Räty <betelgeuse@gentoo.org> libvpx-0.9.2.ebuild,
libvpx-9999.ebuild:
Force -j1 to emake install until the build system is patched. Bug #323805.
24 Sep 2010; Markos Chandras <hwoarang@gentoo.org>
libvpx-0.9.0_p20100612.ebuild:
Stable on amd64 wrt bug #332361
17 Sep 2010; Christian Faulhammer <fauli@gentoo.org>
libvpx-0.9.0_p20100612.ebuild:
stable x86, security bug 332361
*libvpx-0.9.2 (07 Sep 2010)
07 Sep 2010; Luca Barbato <lu_zero@gentoo.org> +libvpx-0.9.2.ebuild:
New version
12 Jun 2010; Dror Levin <spatz@gentoo.org> libvpx-0.9.0_p20100612.ebuild,
libvpx-9999.ebuild, metadata.xml:
Add altivec,mmx,sse,sse2,sse3,ssse3 USE flags, consolidate live and normal
ebuilds.
12 Jun 2010; Dror Levin <spatz@gentoo.org> libvpx-0.9.0_p20100612.ebuild,
libvpx-9999.ebuild:
Only dep on yasm in x86/amd64.
*libvpx-0.9.0_p20100612 (12 Jun 2010)
12 Jun 2010; Dror Levin <spatz@gentoo.org> +libvpx-0.9.0_p20100612.ebuild,
libvpx-9999.ebuild:
Added snapshot, bug 320817. Remove unneeded eutils inherit.
*libvpx-9999 (10 Jun 2010)
10 Jun 2010; Luca Barbato <lu_zero@gentoo.org> +libvpx-9999.ebuild:
Initial live ebuild, 0.9.0 release _SHOULD_NOT_ be put into portage, thanks
to the people in bug #320817 for the support

View File

@ -0,0 +1,5 @@
DIST libvpx-v0.9.5.tar.bz2 1250422 RMD160 e90652a84e6047f5d5f8a0a110b07a324742a74c SHA1 223965ff16737251afb3377c0800d1f8b5f84379 SHA256 2e93968afcded113a7e218de047feecf6659a089058803a9e40fb687de5f9bfa
EBUILD libvpx-0.9.5.ebuild 1509 RMD160 8c72ace3128cbd381db04631e15a34c3189a8b20 SHA1 649a249f514e27ef7d1adc056eb7a457970aa2bb SHA256 28b27f7ae9e70e9cd9ea906ee3e6cae62195a6a75df89a542a362639ac41c7c8
EBUILD libvpx-9999.ebuild 1509 RMD160 8c72ace3128cbd381db04631e15a34c3189a8b20 SHA1 649a249f514e27ef7d1adc056eb7a457970aa2bb SHA256 28b27f7ae9e70e9cd9ea906ee3e6cae62195a6a75df89a542a362639ac41c7c8
MISC ChangeLog 1858 RMD160 68fbe46099bc5e0d87da4031bd2214256c0f23c8 SHA1 144351929090a50880c6e23167c99e21678ff112 SHA256 e8ba9f673025f9143f1679996e93ef47f881dc020ed42f2d626c774b829bee86
MISC metadata.xml 517 RMD160 5b8c2af107175fc8be0fd0f3d676dcb1fb1b2bc1 SHA1 a9164f13235a7bce3d266767c1d47bc2be4c3021 SHA256 b94ac8d73429cfe726eb618f80bf11865e682f5129d6268a3182c70b34325734

View File

@ -0,0 +1,66 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/libvpx-0.9.5.ebuild,v 1.3 2010/12/10 21:46:07 hwoarang Exp $
EAPI=2
inherit 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 ~x86"
else
MY_P="${PN}-v${PV}"
SRC_URI="http://webm.googlecode.com/files/${MY_P}.tar.bz2"
KEYWORDS="amd64 x86"
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_configure() {
tc-export CC
./configure \
--prefix=/usr \
--libdir=/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) \
--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
}

View File

@ -0,0 +1,66 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/libvpx-0.9.5.ebuild,v 1.3 2010/12/10 21:46:07 hwoarang Exp $
EAPI=2
inherit 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 ~x86"
else
MY_P="${PN}-v${PV}"
SRC_URI="http://webm.googlecode.com/files/${MY_P}.tar.bz2"
KEYWORDS="amd64 x86"
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_configure() {
tc-export CC
./configure \
--prefix=/usr \
--libdir=/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) \
--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
}

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>video</herd>
<maintainer>
<email>media-video@gentoo.org</email>
</maintainer>
<use>
<flag name="postproc">Enable additional post processing filters</flag>
<flag name="sse3">Enable optimization for SSE3 capable chips</flag>
<flag name="ssse3">faster floating point optimization for SSSE3 capable chips (Intel Core 2 and later chips)</flag>
</use>
</pkgmetadata>