1 |
commit: 1aca0635f50587bbfcfa13cef5451688032f8a6d |
2 |
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 17 17:07:32 2016 +0000 |
4 |
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 17 17:43:43 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1aca0635 |
7 |
|
8 |
media-libs/openh264: drop old |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
media-libs/openh264/Manifest | 3 - |
13 |
media-libs/openh264/openh264-1.2_p20141104.ebuild | 74 ------------------ |
14 |
media-libs/openh264/openh264-1.3.1.ebuild | 78 ------------------- |
15 |
media-libs/openh264/openh264-1.4.0.ebuild | 92 ----------------------- |
16 |
4 files changed, 247 deletions(-) |
17 |
|
18 |
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest |
19 |
index 8e367fe..5096e9f 100644 |
20 |
--- a/media-libs/openh264/Manifest |
21 |
+++ b/media-libs/openh264/Manifest |
22 |
@@ -1,5 +1,2 @@ |
23 |
-DIST gmp-api-Firefox36.tar.gz 15182 SHA256 2cdc1284a939cda0a6fe45a8c798637cc7d959c9d757d5b0c6d2dc650a037624 SHA512 69f367a83cca01c046abf1e6d4fdb2e1587d321ffd5c7795d33ce6b271e9e9ea588e1c363ac84c3e690410e79aa73cdf64b8f12e4726392b1adbe1a1900e4bd8 WHIRLPOOL c218e9e8ae80a84495f495dcaf545eae2e3fa611a43e6dd5b1e21adeda1dd000ac8160d8a1439d523395c36d939a762aadba18db724bd3c02169c47ffc1a1bc9 |
24 |
DIST gmp-api-Firefox38.tar.gz 16209 SHA256 6b156afe850c0d6faf0492ca5feeff4358e50ddc5ce3022ddcc6905a5bd21c80 SHA512 9aecbc84b1ba2fcfcb10c56680d92a72dd55f7ef7b8a68a3950dbce65fb7eb2c5e6a211149889f618bef2468ba1f3f8c01dc63e86e0a30d9295b019b75657eb8 WHIRLPOOL c12eb175ddf11f0ece400cc34bf9d5e690494fd4630c12667eed3765b66a625a1f9a3b41e20fc5a0c0f614eafbd75b6ddd5bd2a827077cfaac507a3f41990c42 |
25 |
-DIST gmp-openh264-1.2_p20141104.tar.xz 11874976 SHA256 d8359d004116eba6d2444486abd81f82f9cfedf2ab209b9586fc195d199096f8 SHA512 7acd982b54cd32ee2270967131792d869a9c72dca5ba8da796c61517e99b3a40f7c53ab6228c03f72c57f4eb9d3bef536645ee33ccf08a098f0662f97f811856 WHIRLPOOL 5d997bc9349d06f5d485ce654408d5f3cd1314ccdf10c21c25c59933ffe2c4b325ec32444bb74aa754b73fcc381b5b723df9f48989cba3e7137e8a594a47e24c |
26 |
-DIST openh264-1.3.1.tar.gz 37642592 SHA256 b0a9a61840b4a58fbadd2a0640a81917c0ee84e922d2476c1dbcb9f29b85d7a0 SHA512 e85e300a85cefc89a66fdebebe2f059c2c3262518f614c660535312b3ea441064a1288824bc488b741bcffa076b165eabf998d1b535fb377516695326be625c9 WHIRLPOOL 5acc9645b65c2b75d117bcbff24554e0b9567514427bc8d9dc8e8eda0d45080600bec12cd8d435ab605f8226cfc321d1c371c292cf26d30a29a77fd187db6dc4 |
27 |
DIST openh264-1.4.0.tar.gz 37681189 SHA256 a1b9a7a7f1ee204793c613789a505f0971bc2b03b3dbd8f05d9c4a3f3b900a22 SHA512 8192494698cb5557331be56ecbe2b7b143e0ed95739a69a88bdb34a58f66710ef1cd9234f1e98c9b16432a41a3243634e6ca63c58119315f2f9360cb2959e42b WHIRLPOOL 0d9f1f728fbceef35a5e22a6fe4c9dd42fbf84d41fe14e938194438542af182d3994694ffcd68f58798f14c8096b49b0aecad23f58ec6bdbc02de43b8d783532 |
28 |
|
29 |
diff --git a/media-libs/openh264/openh264-1.2_p20141104.ebuild b/media-libs/openh264/openh264-1.2_p20141104.ebuild |
30 |
deleted file mode 100644 |
31 |
index c350980..0000000 |
32 |
--- a/media-libs/openh264/openh264-1.2_p20141104.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,74 +0,0 @@ |
35 |
-# Copyright 1999-2014 Gentoo Foundation |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
-# $Id$ |
38 |
- |
39 |
-EAPI=5 |
40 |
- |
41 |
-inherit nsplugins |
42 |
- |
43 |
-DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for mozilla packages" |
44 |
-HOMEPAGE="http://www.openh264.org/" |
45 |
-SRC_URI="https://dev.gentoo.org/~axs/distfiles/gmp-${P}.tar.xz" |
46 |
-LICENSE="BSD" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~amd64 ~x86" |
49 |
-IUSE="+plugin" |
50 |
- |
51 |
-RESTRICT="bindist" |
52 |
- |
53 |
-RDEPEND="" |
54 |
-DEPEND="dev-lang/nasm" |
55 |
- |
56 |
-DOCS=( LICENSE CONTRIBUTORS README.md ) |
57 |
- |
58 |
-S=${WORKDIR}/gmp-${P} |
59 |
- |
60 |
-src_compile() { |
61 |
- local mybits="ENABLE64BIT=No" |
62 |
- case "${ABI}" in |
63 |
- s390x|alpha|*64) mybits="ENABLE64BIT=Yes";; |
64 |
- esac |
65 |
- emake V=Yes ${mybits} |
66 |
- use plugin && emake V=Yes ${mybits} plugin |
67 |
-} |
68 |
- |
69 |
-src_install() { |
70 |
- emake PREFIX="${ED}usr" LIBPREFIX="${ED}usr/$(get_libdir)/" \ |
71 |
- install-headers |
72 |
- |
73 |
- dolib libopenh264.so |
74 |
- |
75 |
- if use plugin; then |
76 |
- local plugpath="usr/$(get_libdir)/${PLUGINS_DIR}/gmp-gmp${PN}/system-installed" |
77 |
- insinto "/${plugpath}" |
78 |
- doins libgmpopenh264.so gmpopenh264.info |
79 |
- echo "MOZ_GMP_PATH=\"${EROOT}${plugpath}\"" >"${T}"/98-moz-gmp-${PN} |
80 |
- doenvd "${T}"/98-moz-gmp-${PN} |
81 |
- |
82 |
- cat <<PREFEOF >"${T}"/${P}.js |
83 |
-pref("media.gmp-gmp${PN}.autoupdate", false); |
84 |
-pref("media.gmp-gmp${PN}.version", "system-installed"); |
85 |
-PREFEOF |
86 |
- |
87 |
- insinto /usr/$(get_libdir)/firefox/defaults/pref |
88 |
- doins "${T}"/${P}.js |
89 |
- |
90 |
- insinto /usr/$(get_libdir)/seamonkey/defaults/pref |
91 |
- doins "${T}"/${P}.js |
92 |
- fi |
93 |
-} |
94 |
- |
95 |
-pkg_postinst() { |
96 |
- if use plugin; then |
97 |
- if [[ -z ${REPLACING_VERSIONS} ]]; then |
98 |
- elog "Please restart your login session, in order for the session's environment" |
99 |
- elog "to include the new MOZ_GMP_PATH variable." |
100 |
- elog "" |
101 |
- fi |
102 |
- elog "This package attempts to override the mozilla GMPInstaller auto-update process," |
103 |
- elog "however even if it is not successful in doing so the profile-installed plugin" |
104 |
- elog "will not be used unless this package is removed. This package will take precedence" |
105 |
- elog "over any gmp-gmpopenh264 that may be installed in a user's profile." |
106 |
- elog "" |
107 |
- fi |
108 |
-} |
109 |
|
110 |
diff --git a/media-libs/openh264/openh264-1.3.1.ebuild b/media-libs/openh264/openh264-1.3.1.ebuild |
111 |
deleted file mode 100644 |
112 |
index cd3c1cb..0000000 |
113 |
--- a/media-libs/openh264/openh264-1.3.1.ebuild |
114 |
+++ /dev/null |
115 |
@@ -1,78 +0,0 @@ |
116 |
-# Copyright 1999-2015 Gentoo Foundation |
117 |
-# Distributed under the terms of the GNU General Public License v2 |
118 |
-# $Id$ |
119 |
- |
120 |
-EAPI=5 |
121 |
- |
122 |
-inherit nsplugins |
123 |
- |
124 |
-MOZVER=36 |
125 |
-DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for mozilla packages" |
126 |
-HOMEPAGE="http://www.openh264.org/" |
127 |
-SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
128 |
- https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz" |
129 |
-LICENSE="BSD" |
130 |
-SLOT="0" |
131 |
-KEYWORDS="~amd64 ~x86" |
132 |
-IUSE="+plugin" |
133 |
- |
134 |
-RESTRICT="bindist" |
135 |
- |
136 |
-RDEPEND="!<www-client/firefox-${MOZVER}" |
137 |
-DEPEND="dev-lang/nasm" |
138 |
- |
139 |
-DOCS=( LICENSE CONTRIBUTORS README.md ) |
140 |
- |
141 |
-src_prepare() { |
142 |
- ln -s ../gmp-api-Firefox${MOZVER} gmp-api |
143 |
-} |
144 |
- |
145 |
-src_compile() { |
146 |
- local mybits="ENABLE64BIT=No" |
147 |
- case "${ABI}" in |
148 |
- s390x|alpha|*64) mybits="ENABLE64BIT=Yes";; |
149 |
- esac |
150 |
- emake V=Yes ${mybits} |
151 |
- use plugin && emake V=Yes ${mybits} plugin |
152 |
-} |
153 |
- |
154 |
-src_install() { |
155 |
- emake PREFIX="${ED}usr" LIBPREFIX="${ED}usr/$(get_libdir)/" \ |
156 |
- install-headers |
157 |
- |
158 |
- dolib libopenh264.so |
159 |
- |
160 |
- if use plugin; then |
161 |
- local plugpath="usr/$(get_libdir)/${PLUGINS_DIR}/gmp-gmp${PN}/system-installed" |
162 |
- insinto "/${plugpath}" |
163 |
- doins libgmpopenh264.so gmpopenh264.info |
164 |
- echo "MOZ_GMP_PATH=\"${EROOT}${plugpath}\"" >"${T}"/98-moz-gmp-${PN} |
165 |
- doenvd "${T}"/98-moz-gmp-${PN} |
166 |
- |
167 |
- cat <<PREFEOF >"${T}"/${P}.js |
168 |
-pref("media.gmp-gmp${PN}.autoupdate", false); |
169 |
-pref("media.gmp-gmp${PN}.version", "system-installed"); |
170 |
-PREFEOF |
171 |
- |
172 |
- insinto /usr/$(get_libdir)/firefox/defaults/pref |
173 |
- doins "${T}"/${P}.js |
174 |
- |
175 |
- insinto /usr/$(get_libdir)/seamonkey/defaults/pref |
176 |
- doins "${T}"/${P}.js |
177 |
- fi |
178 |
-} |
179 |
- |
180 |
-pkg_postinst() { |
181 |
- if use plugin; then |
182 |
- if [[ -z ${REPLACING_VERSIONS} ]]; then |
183 |
- elog "Please restart your login session, in order for the session's environment" |
184 |
- elog "to include the new MOZ_GMP_PATH variable." |
185 |
- elog "" |
186 |
- fi |
187 |
- elog "This package attempts to override the mozilla GMPInstaller auto-update process," |
188 |
- elog "however even if it is not successful in doing so the profile-installed plugin" |
189 |
- elog "will not be used unless this package is removed. This package will take precedence" |
190 |
- elog "over any gmp-gmpopenh264 that may be installed in a user's profile." |
191 |
- elog "" |
192 |
- fi |
193 |
-} |
194 |
|
195 |
diff --git a/media-libs/openh264/openh264-1.4.0.ebuild b/media-libs/openh264/openh264-1.4.0.ebuild |
196 |
deleted file mode 100644 |
197 |
index 61108ff..0000000 |
198 |
--- a/media-libs/openh264/openh264-1.4.0.ebuild |
199 |
+++ /dev/null |
200 |
@@ -1,92 +0,0 @@ |
201 |
-# Copyright 1999-2015 Gentoo Foundation |
202 |
-# Distributed under the terms of the GNU General Public License v2 |
203 |
-# $Id$ |
204 |
- |
205 |
-EAPI=5 |
206 |
- |
207 |
-inherit nsplugins multilib-minimal |
208 |
- |
209 |
-MOZVER=38 |
210 |
-DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for Mozilla packages" |
211 |
-HOMEPAGE="http://www.openh264.org/" |
212 |
-SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
213 |
- https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz" |
214 |
-LICENSE="BSD" |
215 |
-SLOT="0" |
216 |
-KEYWORDS="~amd64 ~x86" |
217 |
-IUSE="+plugin utils" |
218 |
- |
219 |
-RESTRICT="bindist" |
220 |
- |
221 |
-RDEPEND="!<www-client/firefox-${MOZVER}" |
222 |
-DEPEND="dev-lang/nasm" |
223 |
- |
224 |
-DOCS=( LICENSE CONTRIBUTORS README.md ) |
225 |
- |
226 |
-src_prepare() { |
227 |
- epatch "${FILESDIR}"/pkgconfig-pathfix.patch |
228 |
- multilib_copy_sources |
229 |
-} |
230 |
- |
231 |
-multilib_src_configure() { |
232 |
- ln -s "${WORKDIR}"/gmp-api-Firefox${MOZVER} gmp-api || die |
233 |
-} |
234 |
- |
235 |
-emakecmd() { |
236 |
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \ |
237 |
- emake V=Yes CFLAGS_M32="" CFLAGS_M64="" CFLAGS_OPT="" \ |
238 |
- PREFIX="${EPREFIX}/usr" \ |
239 |
- SHAREDLIB_DIR="${EPREFIX}/usr/$(get_libdir)" \ |
240 |
- INCLUDES_DIR="${EPREFIX}/usr/include/${PN}" \ |
241 |
- $@ |
242 |
-} |
243 |
- |
244 |
-multilib_src_compile() { |
245 |
- local mybits="ENABLE64BIT=No" |
246 |
- case "${ABI}" in |
247 |
- s390x|alpha|*64) mybits="ENABLE64BIT=Yes";; |
248 |
- esac |
249 |
- |
250 |
- emakecmd ${mybits} ${tgt} |
251 |
- use plugin && emakecmd ${mybits} plugin |
252 |
-} |
253 |
- |
254 |
-multilib_src_install() { |
255 |
- emakecmd DESTDIR="${D}" install-shared |
256 |
- |
257 |
- use utils && dobin h264{enc,dec} |
258 |
- |
259 |
- if use plugin; then |
260 |
- local plugpath="usr/$(get_libdir)/${PLUGINS_DIR}/gmp-gmp${PN}/system-installed" |
261 |
- insinto "/${plugpath}" |
262 |
- doins libgmpopenh264.so* gmpopenh264.info |
263 |
- echo "MOZ_GMP_PATH=\"${EROOT}${plugpath}\"" >"${T}"/98-moz-gmp-${PN} |
264 |
- doenvd "${T}"/98-moz-gmp-${PN} |
265 |
- |
266 |
- cat <<PREFEOF >"${T}"/${P}.js |
267 |
-pref("media.gmp-gmp${PN}.autoupdate", false); |
268 |
-pref("media.gmp-gmp${PN}.version", "system-installed"); |
269 |
-PREFEOF |
270 |
- |
271 |
- insinto /usr/$(get_libdir)/firefox/defaults/pref |
272 |
- doins "${T}"/${P}.js |
273 |
- |
274 |
- insinto /usr/$(get_libdir)/seamonkey/defaults/pref |
275 |
- doins "${T}"/${P}.js |
276 |
- fi |
277 |
-} |
278 |
- |
279 |
-pkg_postinst() { |
280 |
- if use plugin; then |
281 |
- if [[ -z ${REPLACING_VERSIONS} ]]; then |
282 |
- elog "Please restart your login session, in order for the session's environment" |
283 |
- elog "to include the new MOZ_GMP_PATH variable." |
284 |
- elog "" |
285 |
- fi |
286 |
- elog "This package attempts to override the Mozilla GMPInstaller auto-update process," |
287 |
- elog "however even if it is not successful in doing so the profile-installed plugin" |
288 |
- elog "will not be used unless this package is removed. This package will take precedence" |
289 |
- elog "over any gmp-gmpopenh264 that may be installed in a user's profile." |
290 |
- elog "" |
291 |
- fi |
292 |
-} |