From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/libvpx: ChangeLog libvpx-0.9.5-r1.ebuild |
Date: | Thu, 03 Feb 2011 20:41:57 |
Message-Id: | 20110203204147.BC75620054@flycatcher.gentoo.org |
1 | ssuominen 11/02/03 20:41:47 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libvpx-0.9.5-r1.ebuild |
5 | Log: |
6 | Always build shared libraries with generic-gnu target wrt #351496 by Markus Meier. |
7 | |
8 | (Portage version: 2.2.0_alpha19/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.12 media-libs/libvpx/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libvpx/ChangeLog?rev=1.12&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libvpx/ChangeLog?rev=1.12&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libvpx/ChangeLog?r1=1.11&r2=1.12 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-libs/libvpx/ChangeLog,v |
20 | retrieving revision 1.11 |
21 | retrieving revision 1.12 |
22 | diff -u -r1.11 -r1.12 |
23 | --- ChangeLog 10 Dec 2010 21:46:07 -0000 1.11 |
24 | +++ ChangeLog 3 Feb 2011 20:41:47 -0000 1.12 |
25 | @@ -1,6 +1,13 @@ |
26 | # ChangeLog for media-libs/libvpx |
27 | -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/ChangeLog,v 1.11 2010/12/10 21:46:07 hwoarang Exp $ |
29 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/ChangeLog,v 1.12 2011/02/03 20:41:47 ssuominen Exp $ |
31 | + |
32 | +*libvpx-0.9.5-r1 (03 Feb 2011) |
33 | + |
34 | + 03 Feb 2011; Samuli Suominen <ssuominen@g.o> +libvpx-0.9.5-r1.ebuild, |
35 | + +files/libvpx-0.9.5-enable-shared.patch: |
36 | + Always build shared libraries with generic-gnu target wrt #351496 by Markus |
37 | + Meier. |
38 | |
39 | 10 Dec 2010; Markos Chandras <hwoarang@g.o> libvpx-0.9.5.ebuild: |
40 | Stable on amd64 wrt bug #345559 |
41 | |
42 | |
43 | |
44 | 1.1 media-libs/libvpx/libvpx-0.9.5-r1.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libvpx/libvpx-0.9.5-r1.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libvpx/libvpx-0.9.5-r1.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: libvpx-0.9.5-r1.ebuild |
50 | =================================================================== |
51 | # Copyright 1999-2011 Gentoo Foundation |
52 | # Distributed under the terms of the GNU General Public License v2 |
53 | # $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/libvpx-0.9.5-r1.ebuild,v 1.1 2011/02/03 20:41:47 ssuominen Exp $ |
54 | |
55 | EAPI=2 |
56 | inherit eutils multilib toolchain-funcs |
57 | |
58 | if [[ ${PV} == *9999* ]]; then |
59 | inherit git |
60 | EGIT_REPO_URI="git://review.webmproject.org/${PN}.git" |
61 | KEYWORDS="" |
62 | elif [[ ${PV} == *pre* ]]; then |
63 | SRC_URI="mirror://gentoo/${P}.tar.bz2" |
64 | KEYWORDS="~amd64 ~x86" |
65 | else |
66 | MY_P="${PN}-v${PV}" |
67 | SRC_URI="http://webm.googlecode.com/files/${MY_P}.tar.bz2" |
68 | KEYWORDS="~amd64 ~x86" |
69 | S="${WORKDIR}/${MY_P}" |
70 | fi |
71 | |
72 | DESCRIPTION="WebM VP8 Codec SDK" |
73 | HOMEPAGE="http://www.webmproject.org" |
74 | |
75 | LICENSE="BSD" |
76 | SLOT="0" |
77 | IUSE="altivec debug doc mmx postproc sse sse2 sse3 ssse3 +threads" |
78 | |
79 | RDEPEND="" |
80 | DEPEND="amd64? ( dev-lang/yasm ) |
81 | x86? ( dev-lang/yasm ) |
82 | doc? ( |
83 | app-doc/doxygen |
84 | dev-lang/php |
85 | ) |
86 | " |
87 | |
88 | src_prepare() { |
89 | epatch "${FILESDIR}"/${P}-enable-shared.patch |
90 | } |
91 | |
92 | src_configure() { |
93 | tc-export CC |
94 | ./configure \ |
95 | --prefix=/usr \ |
96 | --libdir=/usr/$(get_libdir) \ |
97 | --enable-pic \ |
98 | --enable-vp8 \ |
99 | --enable-shared \ |
100 | $(use_enable altivec) \ |
101 | $(use_enable mmx) \ |
102 | $(use_enable sse) \ |
103 | $(use_enable sse2) \ |
104 | $(use_enable sse3) \ |
105 | $(use_enable ssse3) \ |
106 | $(use_enable debug) \ |
107 | $(use_enable debug debug-libs) \ |
108 | $(use_enable doc install-docs) \ |
109 | $(use_enable postproc) \ |
110 | $(use_enable threads multithread) \ |
111 | || die |
112 | } |
113 | |
114 | src_install() { |
115 | # http://bugs.gentoo.org/show_bug.cgi?id=323805 |
116 | emake -j1 DESTDIR="${D}" install || die |
117 | |
118 | dodoc AUTHORS CHANGELOG README || die |
119 | } |