1 |
commit: bca203f7a9b1524af60c5836bdcee65d27476738 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 23 15:44:00 2016 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 23 16:26:55 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bca203f7 |
7 |
|
8 |
media-libs/libvpx: remove old |
9 |
|
10 |
Package-Manager: portage-2.3.0_p43 |
11 |
|
12 |
media-libs/libvpx/libvpx-1.6.0.ebuild | 124 ---------------------------------- |
13 |
1 file changed, 124 deletions(-) |
14 |
|
15 |
diff --git a/media-libs/libvpx/libvpx-1.6.0.ebuild b/media-libs/libvpx/libvpx-1.6.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index 48169f1..00000000 |
18 |
--- a/media-libs/libvpx/libvpx-1.6.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,124 +0,0 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
-inherit eutils multilib toolchain-funcs multilib-minimal |
27 |
- |
28 |
-LIBVPX_TESTDATA_VER=1.6.0 |
29 |
- |
30 |
-if [[ ${PV} == *9999* ]]; then |
31 |
- inherit git-2 |
32 |
- EGIT_REPO_URI="https://chromium.googlesource.com/webm/${PN}.git" |
33 |
-elif [[ ${PV} == *pre* ]]; then |
34 |
- SRC_URI="mirror://gentoo/${P}.tar.bz2" |
35 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" |
36 |
-else |
37 |
- SRC_URI="http://storage.googleapis.com/downloads.webmproject.org/releases/webm/${P}.tar.bz2" |
38 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" |
39 |
-fi |
40 |
-# generated by: make LIBVPX_TEST_DATA_PATH=libvpx-testdata testdata + tar'ing |
41 |
-# it. |
42 |
-SRC_URI="${SRC_URI} |
43 |
- test? ( mirror://gentoo/${PN}-testdata-${LIBVPX_TESTDATA_VER}.tar.bz2 )" |
44 |
- |
45 |
-DESCRIPTION="WebM VP8 and VP9 Codec SDK" |
46 |
-HOMEPAGE="http://www.webmproject.org" |
47 |
- |
48 |
-LICENSE="BSD" |
49 |
-SLOT="0/4" |
50 |
-IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 doc cpu_flags_x86_mmx postproc cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 static-libs svc test +threads" |
51 |
- |
52 |
-RDEPEND="abi_x86_32? ( !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" |
53 |
-DEPEND="abi_x86_32? ( dev-lang/yasm ) |
54 |
- abi_x86_64? ( dev-lang/yasm ) |
55 |
- abi_x86_x32? ( dev-lang/yasm ) |
56 |
- x86-fbsd? ( dev-lang/yasm ) |
57 |
- amd64-fbsd? ( dev-lang/yasm ) |
58 |
- doc? ( |
59 |
- app-doc/doxygen |
60 |
- dev-lang/php |
61 |
- ) |
62 |
-" |
63 |
- |
64 |
-REQUIRED_USE=" |
65 |
- cpu_flags_x86_sse2? ( cpu_flags_x86_mmx ) |
66 |
- cpu_flags_x86_ssse3? ( cpu_flags_x86_sse2 ) |
67 |
-" |
68 |
- |
69 |
-src_prepare() { |
70 |
- epatch "${FILESDIR}/libvpx-1.3.0-sparc-configure.patch" # 501010 |
71 |
-} |
72 |
- |
73 |
-multilib_src_configure() { |
74 |
- unset CODECS #357487 |
75 |
- |
76 |
- # let the build system decide which AS to use (it honours $AS but |
77 |
- # then feeds it with yasm flags without checking...) #345161 |
78 |
- tc-export AS |
79 |
- case "${CHOST}" in |
80 |
- i?86*) export AS=yasm;; |
81 |
- x86_64*) export AS=yasm;; |
82 |
- esac |
83 |
- |
84 |
- # https://bugs.gentoo.org/show_bug.cgi?id=384585 |
85 |
- # https://bugs.gentoo.org/show_bug.cgi?id=465988 |
86 |
- # copied from php-pear-r1.eclass |
87 |
- addpredict /usr/share/snmp/mibs/.index |
88 |
- addpredict /var/lib/net-snmp/ |
89 |
- addpredict /var/lib/net-snmp/mib_indexes |
90 |
- addpredict /session_mm_cli0.sem |
91 |
- |
92 |
- # Build with correct toolchain. |
93 |
- tc-export CC CXX AR NM |
94 |
- # Link with gcc by default, the build system should override this if needed. |
95 |
- export LD="${CC}" |
96 |
- |
97 |
- local myconf |
98 |
- if [ "${ABI}" = "${DEFAULT_ABI}" ] ; then |
99 |
- myconf+=" $(use_enable doc install-docs) $(use_enable doc docs)" |
100 |
- else |
101 |
- # not needed for multilib and will be overwritten anyway. |
102 |
- myconf+=" --disable-examples --disable-install-docs --disable-docs" |
103 |
- fi |
104 |
- |
105 |
- # #498364: sse doesn't work without sse2 enabled, |
106 |
- "${S}/configure" \ |
107 |
- --prefix="${EPREFIX}"/usr \ |
108 |
- --libdir="${EPREFIX}"/usr/$(get_libdir) \ |
109 |
- --enable-pic \ |
110 |
- --enable-vp8 \ |
111 |
- --enable-vp9 \ |
112 |
- --enable-shared \ |
113 |
- --extra-cflags="${CFLAGS}" \ |
114 |
- $(use_enable cpu_flags_x86_avx avx) \ |
115 |
- $(use_enable cpu_flags_x86_avx2 avx2) \ |
116 |
- $(use_enable cpu_flags_x86_mmx mmx) \ |
117 |
- $(use_enable postproc) \ |
118 |
- $(use cpu_flags_x86_sse2 && use_enable cpu_flags_x86_sse sse || echo --disable-sse) \ |
119 |
- $(use_enable cpu_flags_x86_sse2 sse2) \ |
120 |
- $(use_enable cpu_flags_x86_sse3 sse3) \ |
121 |
- $(use_enable cpu_flags_x86_sse4_1 sse4_1) \ |
122 |
- $(use_enable cpu_flags_x86_ssse3 ssse3) \ |
123 |
- $(use_enable svc experimental) $(use_enable svc spatial-svc) \ |
124 |
- $(use_enable static-libs static) \ |
125 |
- $(use_enable test unit-tests) \ |
126 |
- $(use_enable threads multithread) \ |
127 |
- ${myconf} \ |
128 |
- || die |
129 |
-} |
130 |
- |
131 |
-multilib_src_compile() { |
132 |
- # build verbose by default and do not build examples that will not be installed |
133 |
- emake verbose=yes GEN_EXAMPLES= |
134 |
-} |
135 |
- |
136 |
-multilib_src_test() { |
137 |
- LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" \ |
138 |
- emake verbose=yes GEN_EXAMPLES= LIBVPX_TEST_DATA_PATH="${WORKDIR}/${PN}-testdata" test |
139 |
-} |
140 |
- |
141 |
-multilib_src_install() { |
142 |
- emake verbose=yes GEN_EXAMPLES= DESTDIR="${D}" install |
143 |
- [ "${ABI}" = "${DEFAULT_ABI}" ] && use doc && dohtml docs/html/* |
144 |
-} |