Gentoo Archives: gentoo-commits

From: Jory Pratt <anarchy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mozilla:master commit in: media-libs/libvpx/, media-libs/libvpx/files/
Date: Wed, 29 Feb 2012 13:15:10
Message-Id: 1330521270.596bacc9ad2771e1cb9a3c520db8e0a843b6d01e.anarchy@gentoo
1 commit: 596bacc9ad2771e1cb9a3c520db8e0a843b6d01e
2 Author: Jory A. Pratt <anarchy <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 29 13:14:30 2012 +0000
4 Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 29 13:14:30 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mozilla.git;a=commit;h=596bacc9
7
8 remove libvpx as it is in tree now
9
10 ---
11 media-libs/libvpx/Manifest | 3 -
12 .../libvpx/files/libvpx-0.9.5-enable-shared.patch | 18 ----
13 media-libs/libvpx/libvpx-1.0.0.ebuild | 83 --------------------
14 3 files changed, 0 insertions(+), 104 deletions(-)
15
16 diff --git a/media-libs/libvpx/Manifest b/media-libs/libvpx/Manifest
17 deleted file mode 100644
18 index bc8791b..0000000
19 --- a/media-libs/libvpx/Manifest
20 +++ /dev/null
21 @@ -1,3 +0,0 @@
22 -AUX libvpx-0.9.5-enable-shared.patch 655 RMD160 a72ba77666e088103a48fb31c445fc12f8163959 SHA1 4ee0feade82667b1e6d42cafcbe4113205482011 SHA256 44239d453714ca62523b299612d2ec279eceb2e74c296de1ef8eb5c8575ad86e
23 -DIST libvpx-v1.0.0.tar.bz2 1641411 RMD160 2ee5a2e7f4cb2f126c6d0d9a36e8636455f42915 SHA1 2919e11074fef72fc61ef1a75160050ffaad6074 SHA256 07cedb0a19a44e6d81d75f52eea864f59ef10c6c725cb860431bec6641eafe21
24 -EBUILD libvpx-1.0.0.ebuild 2138 RMD160 5b7cdc0f82e426a46653bef941274c7cd5b6e8b1 SHA1 35cc84f8da6ffa43d3f60da2ef58d31c79f3c4a2 SHA256 52dcf8a2a578c7e5a62b07443f075ffba259f76b4dc42332d0c02f5c872ba06c
25
26 diff --git a/media-libs/libvpx/files/libvpx-0.9.5-enable-shared.patch b/media-libs/libvpx/files/libvpx-0.9.5-enable-shared.patch
27 deleted file mode 100644
28 index 0b99f7e..0000000
29 --- a/media-libs/libvpx/files/libvpx-0.9.5-enable-shared.patch
30 +++ /dev/null
31 @@ -1,18 +0,0 @@
32 -http://bugs.gentoo.org/351496
33 -http://patch-tracker.debian.org/patch/series/view/libvpx/0.9.5-1/01_enable-shared.patch
34 -
35 ---- configure
36 -+++ configure
37 -@@ -415,12 +415,6 @@
38 - }
39 -
40 - process_detect() {
41 -- if enabled shared; then
42 -- # Can only build shared libs on a subset of platforms. Doing this check
43 -- # here rather than at option parse time because the target auto-detect
44 -- # magic happens after the command line has been parsed.
45 -- enabled linux || die "--enable-shared only supported on ELF for now"
46 -- fi
47 - if [ -z "$CC" ]; then
48 - echo "Bypassing toolchain for environment detection."
49 - enable external_build
50
51 diff --git a/media-libs/libvpx/libvpx-1.0.0.ebuild b/media-libs/libvpx/libvpx-1.0.0.ebuild
52 deleted file mode 100644
53 index 37b7672..0000000
54 --- a/media-libs/libvpx/libvpx-1.0.0.ebuild
55 +++ /dev/null
56 @@ -1,83 +0,0 @@
57 -# Copyright 1999-2011 Gentoo Foundation
58 -# Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/libvpx-0.9.7-r1.ebuild,v 1.3 2011/12/26 11:07:28 armin76 Exp $
60 -
61 -EAPI=4
62 -inherit eutils multilib toolchain-funcs
63 -
64 -if [[ ${PV} == *9999* ]]; then
65 - inherit git-2
66 - EGIT_REPO_URI="git://review.webmproject.org/${PN}.git"
67 - KEYWORDS=""
68 -elif [[ ${PV} == *pre* ]]; then
69 - SRC_URI="mirror://gentoo/${P}.tar.bz2"
70 - KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
71 -else
72 - MY_P="${PN}-v${PV}"
73 - SRC_URI="http://webm.googlecode.com/files/${MY_P}.tar.bz2"
74 - KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
75 - S="${WORKDIR}/${MY_P}"
76 -fi
77 -
78 -DESCRIPTION="WebM VP8 Codec SDK"
79 -HOMEPAGE="http://www.webmproject.org"
80 -
81 -LICENSE="BSD"
82 -SLOT="0"
83 -IUSE="altivec debug doc mmx postproc sse sse2 sse3 ssse3 static-libs +threads"
84 -
85 -RDEPEND=""
86 -DEPEND="amd64? ( dev-lang/yasm )
87 - x86? ( dev-lang/yasm )
88 - x86-fbsd? ( dev-lang/yasm )
89 - doc? (
90 - app-doc/doxygen
91 - dev-lang/php
92 - )
93 -"
94 -
95 -REQUIRED_USE="
96 - sse2? ( mmx )
97 - "
98 -
99 -src_prepare() {
100 - epatch "${FILESDIR}"/${PN}-0.9.5-enable-shared.patch
101 -}
102 -
103 -src_configure() {
104 - # http://bugs.gentoo.org/show_bug.cgi?id=384585
105 - addpredict /usr/share/snmp/mibs/.index
106 -
107 - tc-export CC
108 - local archparams=""
109 - [ "$ABI" = "x86" ] && archparams=" --target=x86-linux-gcc"
110 - [ "$ABI" = "amd64" ] && archparams=" --target=x86_64-linux-gcc"
111 - ( use x86 || use amd64 ) && archparams+=" --as=yasm"
112 - ./configure \
113 - --prefix="${EPREFIX}"/usr \
114 - --libdir="${EPREFIX}"/usr/$(get_libdir) \
115 - --enable-pic \
116 - --enable-vp8 \
117 - --enable-shared \
118 - $(use_enable altivec) \
119 - $(use_enable debug debug-libs) \
120 - $(use_enable debug) \
121 - $(use_enable doc install-docs) \
122 - $(use_enable mmx) \
123 - $(use_enable postproc) \
124 - $(use_enable sse) \
125 - $(use_enable sse2) \
126 - $(use_enable sse3) \
127 - $(use_enable ssse3) \
128 - $(use_enable static-libs static) \
129 - $(use_enable threads multithread) \
130 - $archparams \
131 - || die
132 -}
133 -
134 -src_install() {
135 - # http://bugs.gentoo.org/show_bug.cgi?id=323805
136 - emake -j1 DESTDIR="${D}" install
137 -
138 - dodoc AUTHORS CHANGELOG README
139 -}