Gentoo Archives: gentoo-commits

From: Ian Stakenvicius <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mozilla:master commit in: www-client/firefox/files/, www-client/firefox/, eclass/
Date: Mon, 06 Jul 2015 16:38:28
Message-Id: 1436200686.45931f73d3e6ce8a05f6924024af948df295f7cf.axs@gentoo
1 commit: 45931f73d3e6ce8a05f6924024af948df295f7cf
2 Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 6 16:36:43 2015 +0000
4 Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 6 16:38:06 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=45931f73
7
8 www-client/firefox: fixed deps on 39 and added metadata.xml so repoman full reports clean
9
10 Package-Manager: portage-2.2.18
11 Manifest-Sign-Key: 009C547C2B6559ED!
12 Signed-off-by: Ian Stakenvicius <axs <AT> gentoo.org>
13
14 eclass/mozconfig-v6.39.eclass | 242 +++++++++++++++++++++
15 www-client/firefox/Manifest | 10 +
16 .../files/firefox-35.0-gmp-clearkey-sprintf.patch | 10 -
17 .../firefox-36.0-depollute-CONST-from-dtoa.patch | 18 --
18 .../firefox/files/firefox-36.0-disable-ion.patch | 18 --
19 ...firefox-37.0-jemalloc_configure_unbashify.patch | 11 -
20 www-client/firefox/firefox-39.0.ebuild | 2 +-
21 www-client/firefox/metadata.xml | 29 +++
22 8 files changed, 282 insertions(+), 58 deletions(-)
23
24 diff --git a/eclass/mozconfig-v6.39.eclass b/eclass/mozconfig-v6.39.eclass
25 new file mode 100644
26 index 0000000..ec387d7
27 --- /dev/null
28 +++ b/eclass/mozconfig-v6.39.eclass
29 @@ -0,0 +1,242 @@
30 +# Copyright 1999-2015 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v5.38.eclass,v 1.1 2015/05/27 19:00:31 axs Exp $
33 +#
34 +# @ECLASS: mozconfig-v5.33.eclass
35 +# @MAINTAINER:
36 +# mozilla team <mozilla@g.o>
37 +# @BLURB: the new mozilla common configuration eclass for FF33 and newer, v5
38 +# @DESCRIPTION:
39 +# This eclass is used in mozilla ebuilds (firefox, thunderbird, seamonkey)
40 +# to provide a single common place for the common mozilla engine compoments.
41 +#
42 +# The eclass provides all common dependencies as well as common use flags.
43 +#
44 +# Some use flags which may be optional in particular mozilla packages can be
45 +# supported through setting eclass variables.
46 +#
47 +# This eclass inherits mozconfig helper functions as defined in mozcoreconf-v3,
48 +# and so ebuilds inheriting this eclass do not need to inherit that.
49 +
50 +inherit multilib flag-o-matic toolchain-funcs mozcoreconf-v3
51 +
52 +case ${EAPI} in
53 + 0|1|2|3|4) die "EAPI=${EAPI} not supported"
54 +esac
55 +
56 +# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI
57 +# @DESCRIPTION:
58 +# Set this variable before the inherit line, when an ebuild needs to provide
59 +# optional necko-wifi support via IUSE="wifi". Currently this would include
60 +# ebuilds for firefox, and potentially seamonkey.
61 +#
62 +# Leave the variable UNSET if necko-wifi support should not be available.
63 +# Set the variable to "enabled" if the use flag should be enabled by default.
64 +# Set the variable to any value if the use flag should exist but not be default-enabled.
65 +
66 +# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_JIT
67 +# @DESCRIPTION:
68 +# Set this variable before the inherit line, when an ebuild needs to provide
69 +# optional necko-wifi support via IUSE="jit". Currently this would include
70 +# ebuilds for firefox, and potentially seamonkey.
71 +#
72 +# Leave the variable UNSET if optional jit support should not be available.
73 +# Set the variable to "enabled" if the use flag should be enabled by default.
74 +# Set the variable to any value if the use flag should exist but not be default-enabled.
75 +
76 +# use-flags common among all mozilla ebuilds
77 +IUSE="${IUSE} dbus debug gstreamer gstreamer-0 +jemalloc3 pulseaudio selinux startup-notification system-cairo system-icu system-jpeg system-sqlite system-libvpx"
78 +
79 +# some notes on deps:
80 +# gtk:2 minimum is technically 2.10 but gio support (enabled by default) needs 2.14
81 +# media-libs/mesa needs to be 10.2 or above due to a bug with flash+vdpau
82 +
83 +RDEPEND=">=app-text/hunspell-1.2
84 + dev-libs/atk
85 + dev-libs/expat
86 + >=dev-libs/libevent-1.4.7
87 + >=x11-libs/cairo-1.10[X]
88 + >=x11-libs/gtk+-2.18:2
89 + x11-libs/gdk-pixbuf
90 + >=x11-libs/pango-1.22.0
91 + >=media-libs/libpng-1.6.16:0=[apng]
92 + >=media-libs/mesa-10.2:*
93 + media-libs/fontconfig
94 + >=media-libs/freetype-2.4.10
95 + kernel_linux? ( media-libs/alsa-lib )
96 + pulseaudio? ( media-sound/pulseaudio )
97 + virtual/freedesktop-icon-theme
98 + dbus? ( >=sys-apps/dbus-0.60
99 + >=dev-libs/dbus-glib-0.72 )
100 + startup-notification? ( >=x11-libs/startup-notification-0.8 )
101 + >=dev-libs/glib-2.26:2
102 + >=sys-libs/zlib-1.2.3
103 + >=virtual/libffi-3.0.10
104 + gstreamer? (
105 + >=media-libs/gstreamer-1.2.3:1.0
106 + >=media-libs/gst-plugins-base-1.2.3:1.0
107 + >=media-libs/gst-plugins-good-1.2.3:1.0
108 + >=media-plugins/gst-plugins-libav-1.1.0_pre20130128-r1:1.0
109 + )
110 + gstreamer-0? (
111 + >=media-libs/gstreamer-0.10.25:0.10
112 + media-plugins/gst-plugins-meta:0.10[ffmpeg]
113 + )
114 + x11-libs/libX11
115 + x11-libs/libXcomposite
116 + x11-libs/libXdamage
117 + x11-libs/libXext
118 + x11-libs/libXfixes
119 + x11-libs/libXrender
120 + x11-libs/libXt
121 + system-cairo? ( >=x11-libs/cairo-1.12[X] >=x11-libs/pixman-0.19.2 )
122 + system-icu? ( >=dev-libs/icu-51.1:= )
123 + system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
124 + system-sqlite? ( >=dev-db/sqlite-3.8.9:3[secure-delete,debug=] )
125 + system-libvpx? ( >=media-libs/libvpx-1.3.0[postproc] )
126 +"
127 +
128 +if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then
129 + if [[ ${MOZCONFIG_OPTIONAL_WIFI} = "enabled" ]]; then
130 + IUSE+=" +wifi"
131 + else
132 + IUSE+=" wifi"
133 + fi
134 + RDEPEND+="
135 + wifi? ( >=sys-apps/dbus-0.60
136 + >=dev-libs/dbus-glib-0.72
137 + net-wireless/wireless-tools )"
138 +fi
139 +if [[ -n ${MOZCONFIG_OPTIONAL_JIT} ]]; then
140 + if [[ ${MOZCONFIG_OPTIONAL_JIT} = "enabled" ]]; then
141 + IUSE+=" +jit"
142 + else
143 + IUSE+=" jit"
144 + fi
145 +fi
146 +
147 +DEPEND="app-arch/zip
148 + app-arch/unzip
149 + >=sys-devel/binutils-2.16.1
150 + ${RDEPEND}"
151 +
152 +RDEPEND+="
153 + selinux? ( sec-policy/selinux-mozilla )"
154 +
155 +# only one of gstreamer and gstreamer-0 can be enabled at a time, so set REQUIRED_USE to signify this
156 +REQUIRED_USE="?? ( gstreamer gstreamer-0 )"
157 +
158 +# @FUNCTION: mozconfig_config
159 +# @DESCRIPTION:
160 +# Set common configure options for mozilla packages.
161 +# Call this within src_configure() phase, after mozconfig_init
162 +#
163 +# Example:
164 +#
165 +# inherit mozconfig-v5.33
166 +#
167 +# src_configure() {
168 +# mozconfig_init
169 +# mozconfig_config
170 +# # ... misc ebuild-unique settings via calls to
171 +# # ... mozconfig_{annotate,use_with,use_enable}
172 +# mozconfig_final
173 +# }
174 +
175 +mozconfig_config() {
176 + # Migrated from mozcoreconf-2
177 + mozconfig_annotate 'system_libs' \
178 + --with-system-zlib \
179 + --enable-pango \
180 + --enable-svg \
181 + --with-system-bz2
182 +
183 + mozconfig_annotate '' --enable-default-toolkit=cairo-gtk2
184 +
185 + if has bindist ${IUSE}; then
186 + mozconfig_use_enable !bindist official-branding
187 + if [[ ${PN} == firefox ]] && use bindist ; then
188 + mozconfig_annotate '' --with-branding=browser/branding/aurora
189 + fi
190 + fi
191 +
192 + mozconfig_use_enable debug
193 + mozconfig_use_enable debug tests
194 +
195 + if ! use debug ; then
196 + mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols
197 + else
198 + mozconfig_annotate 'enabled by Gentoo' --enable-debug-symbols
199 + fi
200 +
201 + mozconfig_use_enable startup-notification
202 +
203 + if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]] ; then
204 + # wifi pulls in dbus so manage both here
205 + mozconfig_use_enable wifi necko-wifi
206 + if use wifi && ! use dbus; then
207 + echo "Enabling dbus support due to wifi request"
208 + mozconfig_annotate 'dbus required by necko-wifi' --enable-dbus
209 + else
210 + mozconfig_use_enable dbus
211 + fi
212 + else
213 + mozconfig_use_enable dbus
214 + mozconfig_annotate 'disabled' --disable-necko-wifi
215 + fi
216 +
217 + # These are forced-on for webm support
218 + mozconfig_annotate 'required' --enable-ogg
219 + mozconfig_annotate 'required' --enable-wave
220 +
221 + if [[ -n ${MOZCONFIG_OPTIONAL_JIT} ]]; then
222 + mozconfig_use_enable jit ion
223 + fi
224 +
225 + # These are enabled by default in all mozilla applications
226 + mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${EPREFIX}"/usr
227 + mozconfig_annotate '' --with-system-nss --with-nss-prefix="${EPREFIX}"/usr
228 + mozconfig_annotate '' --x-includes="${EPREFIX}"/usr/include --x-libraries="${EPREFIX}"/usr/$(get_libdir)
229 + mozconfig_annotate '' --with-system-libevent="${EPREFIX}"/usr
230 + mozconfig_annotate '' --prefix="${EPREFIX}"/usr
231 + mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir)
232 + mozconfig_annotate 'Gentoo default' --enable-system-hunspell
233 + mozconfig_annotate '' --disable-gnomevfs
234 + mozconfig_annotate '' --disable-gnomeui
235 + mozconfig_annotate '' --enable-gio
236 + mozconfig_annotate '' --disable-crashreporter
237 + mozconfig_annotate 'Gentoo default' --with-system-png
238 + mozconfig_annotate '' --enable-system-ffi
239 + mozconfig_annotate 'Gentoo default to honor system linker' --disable-gold
240 + mozconfig_annotate '' --disable-gconf
241 +
242 + # Use jemalloc unless libc is not glibc >= 2.4
243 + # at this time the minimum glibc in the tree is 2.9 so we should be safe.
244 + if use elibc_glibc && use jemalloc3; then
245 + # We must force-enable jemalloc 3 via .mozconfig
246 + echo "export MOZ_JEMALLOC3=1" >> "${S}"/.mozconfig || die
247 + mozconfig_annotate '' --enable-jemalloc
248 + mozconfig_annotate '' --enable-replace-malloc
249 + fi
250 +
251 + mozconfig_annotate '' --target="${CTARGET:-${CHOST}}"
252 + mozconfig_annotate '' --build="${CTARGET:-${CHOST}}"
253 +
254 + if use gstreamer || use gstreamer-0 ; then
255 + if use gstreamer-0 ; then
256 + mozconfig_annotate '+gstreamer-0' --enable-gstreamer=0.10
257 + else
258 + mozconfig_annotate '+gstreamer' --enable-gstreamer=1.0
259 + fi
260 + else
261 + mozconfig_annotate '' --disable-gstreamer
262 + fi
263 + mozconfig_use_enable pulseaudio
264 +
265 + mozconfig_use_enable system-cairo
266 + mozconfig_use_enable system-sqlite
267 + mozconfig_use_with system-jpeg
268 + mozconfig_use_with system-icu
269 + mozconfig_use_enable system-icu intl-api
270 + mozconfig_use_with system-libvpx
271 +}
272
273 diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
274 index af106b4..8a37bc6 100644
275 --- a/www-client/firefox/Manifest
276 +++ b/www-client/firefox/Manifest
277 @@ -1,3 +1,6 @@
278 +-----BEGIN PGP SIGNED MESSAGE-----
279 +Hash: SHA256
280 +
281 DIST firefox-38.0-patches-0.3.tar.xz 4796 SHA256 bfbef81748f76f5f80c3ce6e6b810b65f6266f71da02722b1e8c9fad865b02bd SHA512 a974e33759246153db7d83488f1326275efd12c44a6c8c539cbc35709b4dbd27e848bda32f302ac2baa5d8729ba20579ebc7f643419757f542972ca1a264d520 WHIRLPOOL 3549239db380c02a1575ff407ea684a14827f2250d991b5eb6c8a341ceebaca57cd2cc422e160f00dfab933385d677574cd84947da07bd282c68bb84c40fa42b
282 DIST firefox-38.1.0esr-af.xpi 483325 SHA256 1a4c6835db2ba384767f6ceddf021a30b61c1d29f17577cf2f7330e3358c9ff7 SHA512 44c08b31c3c1c3160c4e992a01bb2eeb30c8177956b29d09be336970521a7671f1847dd88122973236f34bd5559a9d69bdefc271386f6cda8edf90be520f34e1 WHIRLPOOL a104dfcfd811424d53e1bb4d85d20b7a4d56dff6275d94ac180073f5abc770bf81e0cfa6fa7a6a98f29bc76b687e58071a4c7dbea51a638019a3e6fb5295864f
283 DIST firefox-38.1.0esr-ar.xpi 516495 SHA256 47eef2d1bfa6e5594cd8835bddca7bfd5019aac1553b54b05c1c749fad659dda SHA512 156891397a303d80833bcfdb459ff79f252257c5b9a7d9af5df334772b855f3c19d82af8daf3b6a1c205d63cc508fc57a75b85c756e22813b7a680784cf5289d WHIRLPOOL 2d8ab97d91087bafeeea01174da694d8de9e12fb0854e5b770f80822f1b72246c65ae7d6f7c993908883bf138fc6732f6aa62f40263b42f609506001a3dd39b1
284 @@ -159,3 +162,10 @@ DIST firefox-39.0-xh.xpi 454916 SHA256 8d66c08160c6a2e3860bca6cc7d9c87b653c97c70
285 DIST firefox-39.0-zh-CN.xpi 492380 SHA256 a7e959d6aba6f67b880b9ebcc1d1c2e253f01e079475191dc3eef978a9d9b2b5 SHA512 cb4e8c6f813692b66d2f86c454b25b129308ccf68e830f0b7c104340858f0b2fc7472a7e0ba1fbe093a05ac0c07e2d5cedf390abf4b1b4b74b68d45b43ca6ec7 WHIRLPOOL dc5a3f3e80712986203a9d6e8883378e3de72f1a365649e601526a4b36286f9fbe29e181ea55bd6b221bbf5a53951ce0818888a886654d5147591bacd3b5dcaa
286 DIST firefox-39.0-zh-TW.xpi 471887 SHA256 ec30c554c57aa27835723253f4c0dfc4fc75ca591f9a64fbd65f7622d7b212dd SHA512 6f247e71d3b6d232972a538517a9d148d30ecfd24efa4a4851b52a3db7a079ef039473be8596e09236009b785f84f98c82a01c7013cfc0e2333ff4dbfdff0a1f WHIRLPOOL 735fde774086000d85e9718b498aad5fbbc5e7df6105c34d33a67210a119aae748dcb3dbe11039057b0cea242640f257883131a341895dc4acfbfdacf4681736
287 DIST firefox-39.0.source.tar.bz2 182881881 SHA256 7e25014deb926df9220c3ab40ac6816c13a04c4cf7bd89b08fc1743307df1096 SHA512 963dbf48c077659edd49868e2e11600ba232a7cbf35e4acb20f10b878f2d2278e3d33c9eaa9272a07b7b6e2e565e4b40ebc269a128935ee4e044857c828dbc50 WHIRLPOOL 7c67f401c4fb1c5f194f4c9c90af3583622eea36ed14840ea24ec2c4f007407bb984488e6fddc161b399de30511bed70f93000de4c94f837c23e822a67e72ec7
288 +-----BEGIN PGP SIGNATURE-----
289 +Version: GnuPG v2
290 +
291 +iF4EAREIAAYFAlWarpsACgkQAJxUfCtlWe2J4gEAioxOLNbMyBnyPrvAyvTNGrxx
292 +TNhZjn+yPD//oPpFpQkBAKNaEeny1l6UhCpGjN+2B8KUSY9Ggc7Jmv2ylJ3yVSFo
293 +=fKlR
294 +-----END PGP SIGNATURE-----
295
296 diff --git a/www-client/firefox/files/firefox-35.0-gmp-clearkey-sprintf.patch b/www-client/firefox/files/firefox-35.0-gmp-clearkey-sprintf.patch
297 deleted file mode 100644
298 index dfd9a8d..0000000
299 --- a/www-client/firefox/files/firefox-35.0-gmp-clearkey-sprintf.patch
300 +++ /dev/null
301 @@ -1,10 +0,0 @@
302 ---- a/mozilla-beta/media/gmp-clearkey/0.1/openaes/oaes_lib.c 2014-12-04 11:24:16.279571363 -0500
303 -+++ b/mozilla-beta/media/gmp-clearkey/0.1/openaes/oaes_lib.c 2014-12-04 11:23:07.449572313 -0500
304 -@@ -42,6 +42,7 @@
305 -
306 - #include "oaes_config.h"
307 - #include "oaes_lib.h"
308 -+#include "standard.h"
309 -
310 - #ifdef OAES_HAVE_ISAAC
311 - #include "rand.h"
312
313 diff --git a/www-client/firefox/files/firefox-36.0-depollute-CONST-from-dtoa.patch b/www-client/firefox/files/firefox-36.0-depollute-CONST-from-dtoa.patch
314 deleted file mode 100644
315 index 137bbfd..0000000
316 --- a/www-client/firefox/files/firefox-36.0-depollute-CONST-from-dtoa.patch
317 +++ /dev/null
318 @@ -1,18 +0,0 @@
319 ---- a/mozilla-release/js/src/dtoa.c 2015-03-01 12:51:12.950912536 -0500
320 -+++ b/mozilla-release/js/src/dtoa.c 2015-03-01 12:57:49.670919777 -0500
321 -@@ -245,6 +245,7 @@
322 - #endif
323 -
324 - #ifndef CONST
325 -+#define DTOA_UNSETCONSTDEF
326 - #ifdef KR_headers
327 - #define CONST /* blank */
328 - #else
329 -@@ -3246,3 +3247,7 @@
330 - *rve = s;
331 - return s0;
332 - }
333 -+
334 -+#ifdef DTOA_UNSETCONSTDEF
335 -+#undef CONST
336 -+#endif
337
338 diff --git a/www-client/firefox/files/firefox-36.0-disable-ion.patch b/www-client/firefox/files/firefox-36.0-disable-ion.patch
339 deleted file mode 100644
340 index 50c5c51..0000000
341 --- a/www-client/firefox/files/firefox-36.0-disable-ion.patch
342 +++ /dev/null
343 @@ -1,18 +0,0 @@
344 ---- a/mozilla-release/js/src/jit/none/Lowering-none.h 2015-03-01 11:11:55.340803791 -0500
345 -+++ a/mozilla-release/js/src/jit/none/Lowering-none.h 2015-03-01 11:18:41.500811205 -0500
346 -@@ -65,6 +65,7 @@
347 - bool lowerMulI(MMul *, MDefinition *, MDefinition *) { MOZ_CRASH(); }
348 - bool lowerUDiv(MDiv *) { MOZ_CRASH(); }
349 - bool lowerUMod(MMod *) { MOZ_CRASH(); }
350 -+ bool visitValue(LValue *value) { MOZ_CRASH(); }
351 - bool visitBox(MBox *box) { MOZ_CRASH(); }
352 - bool visitUnbox(MUnbox *unbox) { MOZ_CRASH(); }
353 - bool visitReturn(MReturn *ret) { MOZ_CRASH(); }
354 -@@ -78,6 +79,7 @@
355 - bool visitAsmJSStoreHeap(MAsmJSStoreHeap *ins) { MOZ_CRASH(); }
356 - bool visitAsmJSLoadFuncPtr(MAsmJSLoadFuncPtr *ins) { MOZ_CRASH(); }
357 - bool visitStoreTypedArrayElementStatic(MStoreTypedArrayElementStatic *ins) { MOZ_CRASH(); }
358 -+ bool visitSubstr(MSubstr *ins) { MOZ_CRASH(); }
359 - bool visitForkJoinGetSlice(MForkJoinGetSlice *ins) { MOZ_CRASH(); }
360 - bool visitAtomicTypedArrayElementBinop(MAtomicTypedArrayElementBinop *ins) { MOZ_CRASH(); }
361 - bool visitCompareExchangeTypedArrayElement(MCompareExchangeTypedArrayElement *ins) { MOZ_CRASH(); }
362
363 diff --git a/www-client/firefox/files/firefox-37.0-jemalloc_configure_unbashify.patch b/www-client/firefox/files/firefox-37.0-jemalloc_configure_unbashify.patch
364 deleted file mode 100644
365 index b5278b1..0000000
366 --- a/www-client/firefox/files/firefox-37.0-jemalloc_configure_unbashify.patch
367 +++ /dev/null
368 @@ -1,11 +0,0 @@
369 ---- a/memory/jemalloc/src/configure.ac 2015-03-30 18:54:42.000000000 -0400
370 -+++ b/memory/jemalloc/src/configure.ac 2015-04-06 16:23:52.170389285 -0400
371 -@@ -989,7 +989,7 @@
372 - AC_ARG_WITH([lg_page],
373 - [AS_HELP_STRING([--with-lg-page=<lg-page>], [Base 2 log of system page size])],
374 - [LG_PAGE="$with_lg_page"], [LG_PAGE="detect"])
375 --if test "x$LG_PAGE" == "xdetect"; then
376 -+if test "x$LG_PAGE" = "xdetect"; then
377 - AC_CACHE_CHECK([LG_PAGE],
378 - [je_cv_lg_page],
379 - AC_RUN_IFELSE([AC_LANG_PROGRAM(
380
381 diff --git a/www-client/firefox/firefox-39.0.ebuild b/www-client/firefox/firefox-39.0.ebuild
382 index 9decdda..d76746e 100644
383 --- a/www-client/firefox/firefox-39.0.ebuild
384 +++ b/www-client/firefox/firefox-39.0.ebuild
385 @@ -36,7 +36,7 @@ MOZ_HTTP_URI="http://ftp.mozilla.org/pub/${PN}/releases"
386 MOZCONFIG_OPTIONAL_WIFI=1
387 MOZCONFIG_OPTIONAL_JIT="enabled"
388
389 -inherit check-reqs flag-o-matic toolchain-funcs eutils gnome2-utils mozconfig-v6.38 multilib pax-utils fdo-mime autotools virtualx mozlinguas
390 +inherit check-reqs flag-o-matic toolchain-funcs eutils gnome2-utils mozconfig-v6.39 multilib pax-utils fdo-mime autotools virtualx mozlinguas
391
392 DESCRIPTION="Firefox Web Browser"
393 HOMEPAGE="http://www.mozilla.com/firefox"
394
395 diff --git a/www-client/firefox/metadata.xml b/www-client/firefox/metadata.xml
396 new file mode 100644
397 index 0000000..7c281db
398 --- /dev/null
399 +++ b/www-client/firefox/metadata.xml
400 @@ -0,0 +1,29 @@
401 +<?xml version="1.0" encoding="UTF-8"?>
402 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
403 +<pkgmetadata>
404 +<herd>mozilla</herd>
405 +<use>
406 + <flag name="bindist">Disable official Firefox branding (icons, name) which
407 + are not binary-redistributable according to upstream.</flag>
408 + <flag name="custom-optimization">Fine-tune custom compiler
409 + optimizations (-Os, -O0, -O1, -O2, -O3)</flag>
410 + <flag name="gmp-autoupdate">Allow Gecko Media Plugins (binary blobs) to be automatically
411 + downloaded and kept up-to-date in user profiles</flag>
412 + <flag name="gstreamer-0">Use gstreamer:0.10 instead of gstreamer:1 for media support</flag>
413 + <flag name="jemalloc3">Enable or disable jemalloc3 (forced-on when supported prior to 38.0)</flag>
414 + <flag name="minimal">Prevent sdk and headers from being installed</flag>
415 + <flag name="pgo">Add support for profile-guided optimization using gcc-4.5,
416 + for faster binaries. This option will double the compile time.</flag>
417 + <flag name="system-cairo">Use the system-wide <pkg>x11-libs/cairo</pkg>
418 + instead of bundled.</flag>
419 + <flag name="system-icu">Use the system-wide <pkg>dev-libs/icu</pkg>
420 + instead of bundled.</flag>
421 + <flag name="system-jpeg">Use the system-wide <pkg>media-libs/libjpeg-turbo</pkg>
422 + instead of bundled.</flag>
423 + <flag name="system-libvpx">Use the system-wide <pkg>media-libs/libvpx</pkg>
424 + instead of bundled.</flag>
425 + <flag name="system-sqlite">Use the system-wide <pkg>dev-db/sqlite</pkg>
426 + installation with secure-delete enabled</flag>
427 + <flag name="egl">Enable EGL provider</flag>
428 +</use>
429 +</pkgmetadata>