/[gentoo-x86]/media-libs/libvpx/libvpx-9999.ebuild
Gentoo

Contents of /media-libs/libvpx/libvpx-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.22 - (hide annotations) (download)
Fri Mar 2 16:39:04 2012 UTC (2 years, 4 months ago) by tommy
Branch: MAIN
Changes since 1.21: +5 -1 lines
unset AS as requested by Alexis Ballier, let the build system decide which AS to use (it honours  but then feeds it with yasm flags without checking...)

(Portage version: 2.2.0_alpha89-r1/cvs/Linux x86_64)

1 aballier 1.20 # Copyright 1999-2012 Gentoo Foundation
2 lu_zero 1.1 # Distributed under the terms of the GNU General Public License v2
3 tommy 1.22 # $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/libvpx-9999.ebuild,v 1.21 2012/03/01 11:31:19 aballier Exp $
4 lu_zero 1.1
5 aballier 1.9 EAPI=4
6 spatz 1.5 inherit multilib toolchain-funcs
7 lu_zero 1.1
8 spatz 1.5 if [[ ${PV} == *9999* ]]; then
9 aballier 1.10 inherit git-2
10 radhermit 1.17 EGIT_REPO_URI="http://git.chromium.org/webm/${PN}.git"
11 spatz 1.5 KEYWORDS=""
12 lu_zero 1.7 elif [[ ${PV} == *pre* ]]; then
13     SRC_URI="mirror://gentoo/${P}.tar.bz2"
14 aballier 1.21 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
15 spatz 1.5 else
16 lu_zero 1.7 SRC_URI="http://webm.googlecode.com/files/${PN}-v${PV}.tar.bz2"
17 aballier 1.21 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
18 aballier 1.20 S="${WORKDIR}/${PN}-v${PV}"
19 spatz 1.5 fi
20 lu_zero 1.1
21     DESCRIPTION="WebM VP8 Codec SDK"
22     HOMEPAGE="http://www.webmproject.org"
23    
24     LICENSE="BSD"
25     SLOT="0"
26 radhermit 1.16 IUSE="altivec debug doc mmx postproc sse sse2 sse3 ssse3 sse4_1 static-libs +threads"
27 lu_zero 1.1
28     RDEPEND=""
29 spatz 1.4 DEPEND="amd64? ( dev-lang/yasm )
30     x86? ( dev-lang/yasm )
31 aballier 1.13 x86-fbsd? ( dev-lang/yasm )
32 lu_zero 1.1 doc? (
33     app-doc/doxygen
34     dev-lang/php
35     )
36     "
37    
38 aballier 1.9 REQUIRED_USE="
39     sse2? ( mmx )
40     "
41    
42 lu_zero 1.1 src_configure() {
43 tommy 1.22 #let the build system decide which AS to use (it honours $AS but
44     #then feeds it with yasm flags without checking...) bug 345161
45     unset AS
46    
47 ottxor 1.18 # http://bugs.gentoo.org/show_bug.cgi?id=384585
48     addpredict /usr/share/snmp/mibs/.index
49    
50 lu_zero 1.1 tc-export CC
51     ./configure \
52 darkside 1.8 --prefix="${EPREFIX}"/usr \
53     --libdir="${EPREFIX}"/usr/$(get_libdir) \
54 lu_zero 1.1 --enable-pic \
55     --enable-vp8 \
56     --enable-shared \
57 spatz 1.5 $(use_enable altivec) \
58 radhermit 1.16 $(use_enable debug debug-libs) \
59     $(use_enable debug) \
60     $(use_enable doc install-docs) \
61 spatz 1.5 $(use_enable mmx) \
62 radhermit 1.16 $(use_enable postproc) \
63 spatz 1.5 $(use_enable sse) \
64     $(use_enable sse2) \
65     $(use_enable sse3) \
66 radhermit 1.16 $(use_enable sse4_1) \
67 spatz 1.5 $(use_enable ssse3) \
68 radhermit 1.16 $(use_enable static-libs static ) \
69 lu_zero 1.1 $(use_enable threads multithread) \
70     || die
71     }
72    
73     src_install() {
74 radhermit 1.16 emake DESTDIR="${D}" install
75     dodoc AUTHORS CHANGELOG README
76 lu_zero 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20