1 |
axs 15/07/07 14:11:37 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mozconfig-v6.38.eclass mozconfig-v6.39.eclass |
5 |
Removed: mozconfig-v4.31.eclass mozconfig-v5.33.eclass |
6 |
Log: |
7 |
removed old mozconfig eclasses, added new |
8 |
|
9 |
Revision Changes Path |
10 |
1.1703 eclass/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1703&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1703&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1702&r2=1.1703 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v |
19 |
retrieving revision 1.1702 |
20 |
retrieving revision 1.1703 |
21 |
diff -u -r1.1702 -r1.1703 |
22 |
--- ChangeLog 6 Jul 2015 16:48:21 -0000 1.1702 |
23 |
+++ ChangeLog 7 Jul 2015 14:11:37 -0000 1.1703 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for eclass directory |
26 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1702 2015/07/06 16:48:21 williamh Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1703 2015/07/07 14:11:37 axs Exp $ |
29 |
+ |
30 |
+ 07 Jul 2015; Ian Stakenvicius (_AxS_) <axs@g.o> |
31 |
+ -mozconfig-v4.31.eclass, -mozconfig-v5.33.eclass, +mozconfig-v6.38.eclass, |
32 |
+ +mozconfig-v6.39.eclass: |
33 |
+ removed old mozconfig eclasses, added new |
34 |
|
35 |
06 Jul 2015; William Hubbs <williamh@g.o> golang-build.eclass: |
36 |
Add back the subslot operator in the dependency on Go. We need this so that |
37 |
|
38 |
|
39 |
|
40 |
1.1 eclass/mozconfig-v6.38.eclass |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozconfig-v6.38.eclass?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozconfig-v6.38.eclass?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: mozconfig-v6.38.eclass |
46 |
=================================================================== |
47 |
# Copyright 1999-2015 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v6.38.eclass,v 1.1 2015/07/07 14:11:37 axs Exp $ |
50 |
# |
51 |
# @ECLASS: mozconfig-v5.33.eclass |
52 |
# @MAINTAINER: |
53 |
# mozilla team <mozilla@g.o> |
54 |
# @BLURB: the new mozilla common configuration eclass for FF33 and newer, v5 |
55 |
# @DESCRIPTION: |
56 |
# This eclass is used in mozilla ebuilds (firefox, thunderbird, seamonkey) |
57 |
# to provide a single common place for the common mozilla engine compoments. |
58 |
# |
59 |
# The eclass provides all common dependencies as well as common use flags. |
60 |
# |
61 |
# Some use flags which may be optional in particular mozilla packages can be |
62 |
# supported through setting eclass variables. |
63 |
# |
64 |
# This eclass inherits mozconfig helper functions as defined in mozcoreconf-v3, |
65 |
# and so ebuilds inheriting this eclass do not need to inherit that. |
66 |
|
67 |
inherit multilib flag-o-matic toolchain-funcs mozcoreconf-v3 |
68 |
|
69 |
case ${EAPI} in |
70 |
0|1|2|3|4) die "EAPI=${EAPI} not supported" |
71 |
esac |
72 |
|
73 |
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI |
74 |
# @DESCRIPTION: |
75 |
# Set this variable before the inherit line, when an ebuild needs to provide |
76 |
# optional necko-wifi support via IUSE="wifi". Currently this would include |
77 |
# ebuilds for firefox, and potentially seamonkey. |
78 |
# |
79 |
# Leave the variable UNSET if necko-wifi support should not be available. |
80 |
# Set the variable to "enabled" if the use flag should be enabled by default. |
81 |
# Set the variable to any value if the use flag should exist but not be default-enabled. |
82 |
|
83 |
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_JIT |
84 |
# @DESCRIPTION: |
85 |
# Set this variable before the inherit line, when an ebuild needs to provide |
86 |
# optional necko-wifi support via IUSE="jit". Currently this would include |
87 |
# ebuilds for firefox, and potentially seamonkey. |
88 |
# |
89 |
# Leave the variable UNSET if optional jit support should not be available. |
90 |
# Set the variable to "enabled" if the use flag should be enabled by default. |
91 |
# Set the variable to any value if the use flag should exist but not be default-enabled. |
92 |
|
93 |
# use-flags common among all mozilla ebuilds |
94 |
IUSE="${IUSE} dbus debug gstreamer gstreamer-0 +jemalloc3 pulseaudio selinux startup-notification system-cairo system-icu system-jpeg system-sqlite system-libvpx" |
95 |
|
96 |
# some notes on deps: |
97 |
# gtk:2 minimum is technically 2.10 but gio support (enabled by default) needs 2.14 |
98 |
# media-libs/mesa needs to be 10.2 or above due to a bug with flash+vdpau |
99 |
|
100 |
RDEPEND=">=app-text/hunspell-1.2 |
101 |
dev-libs/atk |
102 |
dev-libs/expat |
103 |
>=dev-libs/libevent-1.4.7 |
104 |
>=x11-libs/cairo-1.10[X] |
105 |
>=x11-libs/gtk+-2.18:2 |
106 |
x11-libs/gdk-pixbuf |
107 |
>=x11-libs/pango-1.22.0 |
108 |
>=media-libs/libpng-1.6.16:0=[apng] |
109 |
>=media-libs/mesa-10.2:* |
110 |
media-libs/fontconfig |
111 |
>=media-libs/freetype-2.4.10 |
112 |
kernel_linux? ( media-libs/alsa-lib ) |
113 |
pulseaudio? ( media-sound/pulseaudio ) |
114 |
virtual/freedesktop-icon-theme |
115 |
dbus? ( >=sys-apps/dbus-0.60 |
116 |
>=dev-libs/dbus-glib-0.72 ) |
117 |
startup-notification? ( >=x11-libs/startup-notification-0.8 ) |
118 |
>=dev-libs/glib-2.26:2 |
119 |
>=sys-libs/zlib-1.2.3 |
120 |
>=virtual/libffi-3.0.10 |
121 |
gstreamer? ( |
122 |
>=media-libs/gstreamer-1.2.3:1.0 |
123 |
>=media-libs/gst-plugins-base-1.2.3:1.0 |
124 |
>=media-libs/gst-plugins-good-1.2.3:1.0 |
125 |
>=media-plugins/gst-plugins-libav-1.1.0_pre20130128-r1:1.0 |
126 |
) |
127 |
gstreamer-0? ( |
128 |
media-plugins/gst-plugins-meta:0.10[ffmpeg] |
129 |
) |
130 |
x11-libs/libX11 |
131 |
x11-libs/libXcomposite |
132 |
x11-libs/libXdamage |
133 |
x11-libs/libXext |
134 |
x11-libs/libXfixes |
135 |
x11-libs/libXrender |
136 |
x11-libs/libXt |
137 |
system-cairo? ( >=x11-libs/cairo-1.12[X] >=x11-libs/pixman-0.19.2 ) |
138 |
system-icu? ( >=dev-libs/icu-51.1:= ) |
139 |
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) |
140 |
system-sqlite? ( >=dev-db/sqlite-3.8.8.2:3[secure-delete,debug=] ) |
141 |
system-libvpx? ( >=media-libs/libvpx-1.3.0[postproc] ) |
142 |
" |
143 |
|
144 |
if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then |
145 |
if [[ ${MOZCONFIG_OPTIONAL_WIFI} = "enabled" ]]; then |
146 |
IUSE+=" +wifi" |
147 |
else |
148 |
IUSE+=" wifi" |
149 |
fi |
150 |
RDEPEND+=" |
151 |
wifi? ( >=sys-apps/dbus-0.60 |
152 |
>=dev-libs/dbus-glib-0.72 |
153 |
net-wireless/wireless-tools )" |
154 |
fi |
155 |
if [[ -n ${MOZCONFIG_OPTIONAL_JIT} ]]; then |
156 |
if [[ ${MOZCONFIG_OPTIONAL_JIT} = "enabled" ]]; then |
157 |
IUSE+=" +jit" |
158 |
else |
159 |
IUSE+=" jit" |
160 |
fi |
161 |
fi |
162 |
|
163 |
DEPEND="app-arch/zip |
164 |
app-arch/unzip |
165 |
>=sys-devel/binutils-2.16.1 |
166 |
${RDEPEND}" |
167 |
|
168 |
RDEPEND+=" |
169 |
selinux? ( sec-policy/selinux-mozilla )" |
170 |
|
171 |
# @FUNCTION: mozconfig_config |
172 |
# @DESCRIPTION: |
173 |
# Set common configure options for mozilla packages. |
174 |
# Call this within src_configure() phase, after mozconfig_init |
175 |
# |
176 |
# Example: |
177 |
# |
178 |
# inherit mozconfig-v5.33 |
179 |
# |
180 |
# src_configure() { |
181 |
# mozconfig_init |
182 |
# mozconfig_config |
183 |
# # ... misc ebuild-unique settings via calls to |
184 |
# # ... mozconfig_{annotate,use_with,use_enable} |
185 |
# mozconfig_final |
186 |
# } |
187 |
|
188 |
mozconfig_config() { |
189 |
# Migrated from mozcoreconf-2 |
190 |
mozconfig_annotate 'system_libs' \ |
191 |
--with-system-zlib \ |
192 |
--enable-pango \ |
193 |
--enable-svg \ |
194 |
--with-system-bz2 |
195 |
|
196 |
mozconfig_annotate '' --enable-default-toolkit=cairo-gtk2 |
197 |
|
198 |
if has bindist ${IUSE}; then |
199 |
mozconfig_use_enable !bindist official-branding |
200 |
if [[ ${PN} == firefox ]] && use bindist ; then |
201 |
mozconfig_annotate '' --with-branding=browser/branding/aurora |
202 |
fi |
203 |
fi |
204 |
|
205 |
mozconfig_use_enable debug |
206 |
mozconfig_use_enable debug tests |
207 |
|
208 |
if ! use debug ; then |
209 |
mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols |
210 |
else |
211 |
mozconfig_annotate 'enabled by Gentoo' --enable-debug-symbols |
212 |
fi |
213 |
|
214 |
mozconfig_use_enable startup-notification |
215 |
|
216 |
if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]] ; then |
217 |
# wifi pulls in dbus so manage both here |
218 |
mozconfig_use_enable wifi necko-wifi |
219 |
if use wifi && ! use dbus; then |
220 |
echo "Enabling dbus support due to wifi request" |
221 |
mozconfig_annotate 'dbus required by necko-wifi' --enable-dbus |
222 |
else |
223 |
mozconfig_use_enable dbus |
224 |
fi |
225 |
else |
226 |
mozconfig_use_enable dbus |
227 |
mozconfig_annotate 'disabled' --disable-necko-wifi |
228 |
fi |
229 |
|
230 |
# These are forced-on for webm support |
231 |
mozconfig_annotate 'required' --enable-ogg |
232 |
mozconfig_annotate 'required' --enable-wave |
233 |
|
234 |
if [[ -n ${MOZCONFIG_OPTIONAL_JIT} ]]; then |
235 |
mozconfig_use_enable jit ion |
236 |
fi |
237 |
|
238 |
# These are enabled by default in all mozilla applications |
239 |
mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${EPREFIX}"/usr |
240 |
mozconfig_annotate '' --with-system-nss --with-nss-prefix="${EPREFIX}"/usr |
241 |
mozconfig_annotate '' --x-includes="${EPREFIX}"/usr/include --x-libraries="${EPREFIX}"/usr/$(get_libdir) |
242 |
mozconfig_annotate '' --with-system-libevent="${EPREFIX}"/usr |
243 |
mozconfig_annotate '' --prefix="${EPREFIX}"/usr |
244 |
mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir) |
245 |
mozconfig_annotate 'Gentoo default' --enable-system-hunspell |
246 |
mozconfig_annotate '' --disable-gnomevfs |
247 |
mozconfig_annotate '' --disable-gnomeui |
248 |
mozconfig_annotate '' --enable-gio |
249 |
mozconfig_annotate '' --disable-crashreporter |
250 |
mozconfig_annotate 'Gentoo default' --with-system-png |
251 |
mozconfig_annotate '' --enable-system-ffi |
252 |
mozconfig_annotate 'Gentoo default to honor system linker' --disable-gold |
253 |
mozconfig_annotate '' --disable-gconf |
254 |
|
255 |
# Use jemalloc unless libc is not glibc >= 2.4 |
256 |
# at this time the minimum glibc in the tree is 2.9 so we should be safe. |
257 |
if use elibc_glibc && use jemalloc3; then |
258 |
# We must force-enable jemalloc 3 via .mozconfig |
259 |
echo "export MOZ_JEMALLOC3=1" >> "${S}"/.mozconfig || die |
260 |
mozconfig_annotate '' --enable-jemalloc |
261 |
mozconfig_annotate '' --enable-replace-malloc |
262 |
fi |
263 |
|
264 |
mozconfig_annotate '' --target="${CTARGET:-${CHOST}}" |
265 |
mozconfig_annotate '' --build="${CTARGET:-${CHOST}}" |
266 |
|
267 |
if use gstreamer || use gstreamer-0 ; then |
268 |
if use gstreamer-0 ; then |
269 |
mozconfig_annotate '+gstreamer-0' --enable-gstreamer=0.10 |
270 |
else |
271 |
mozconfig_annotate '+gstreamer' --enable-gstreamer=1.0 |
272 |
fi |
273 |
else |
274 |
mozconfig_annotate '' --disable-gstreamer |
275 |
fi |
276 |
mozconfig_use_enable pulseaudio |
277 |
|
278 |
mozconfig_use_enable system-cairo |
279 |
mozconfig_use_enable system-sqlite |
280 |
mozconfig_use_with system-jpeg |
281 |
mozconfig_use_with system-icu |
282 |
mozconfig_use_enable system-icu intl-api |
283 |
mozconfig_use_with system-libvpx |
284 |
} |
285 |
|
286 |
|
287 |
|
288 |
1.1 eclass/mozconfig-v6.39.eclass |
289 |
|
290 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozconfig-v6.39.eclass?rev=1.1&view=markup |
291 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozconfig-v6.39.eclass?rev=1.1&content-type=text/plain |
292 |
|
293 |
Index: mozconfig-v6.39.eclass |
294 |
=================================================================== |
295 |
# Copyright 1999-2015 Gentoo Foundation |
296 |
# Distributed under the terms of the GNU General Public License v2 |
297 |
# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v6.39.eclass,v 1.1 2015/07/07 14:11:37 axs Exp $ |
298 |
# |
299 |
# @ECLASS: mozconfig-v5.33.eclass |
300 |
# @MAINTAINER: |
301 |
# mozilla team <mozilla@g.o> |
302 |
# @BLURB: the new mozilla common configuration eclass for FF33 and newer, v5 |
303 |
# @DESCRIPTION: |
304 |
# This eclass is used in mozilla ebuilds (firefox, thunderbird, seamonkey) |
305 |
# to provide a single common place for the common mozilla engine compoments. |
306 |
# |
307 |
# The eclass provides all common dependencies as well as common use flags. |
308 |
# |
309 |
# Some use flags which may be optional in particular mozilla packages can be |
310 |
# supported through setting eclass variables. |
311 |
# |
312 |
# This eclass inherits mozconfig helper functions as defined in mozcoreconf-v3, |
313 |
# and so ebuilds inheriting this eclass do not need to inherit that. |
314 |
|
315 |
inherit multilib flag-o-matic toolchain-funcs mozcoreconf-v3 |
316 |
|
317 |
case ${EAPI} in |
318 |
0|1|2|3|4) die "EAPI=${EAPI} not supported" |
319 |
esac |
320 |
|
321 |
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI |
322 |
# @DESCRIPTION: |
323 |
# Set this variable before the inherit line, when an ebuild needs to provide |
324 |
# optional necko-wifi support via IUSE="wifi". Currently this would include |
325 |
# ebuilds for firefox, and potentially seamonkey. |
326 |
# |
327 |
# Leave the variable UNSET if necko-wifi support should not be available. |
328 |
# Set the variable to "enabled" if the use flag should be enabled by default. |
329 |
# Set the variable to any value if the use flag should exist but not be default-enabled. |
330 |
|
331 |
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_JIT |
332 |
# @DESCRIPTION: |
333 |
# Set this variable before the inherit line, when an ebuild needs to provide |
334 |
# optional necko-wifi support via IUSE="jit". Currently this would include |
335 |
# ebuilds for firefox, and potentially seamonkey. |
336 |
# |
337 |
# Leave the variable UNSET if optional jit support should not be available. |
338 |
# Set the variable to "enabled" if the use flag should be enabled by default. |
339 |
# Set the variable to any value if the use flag should exist but not be default-enabled. |
340 |
|
341 |
# use-flags common among all mozilla ebuilds |
342 |
IUSE="${IUSE} dbus debug gstreamer gstreamer-0 +jemalloc3 pulseaudio selinux startup-notification system-cairo system-icu system-jpeg system-sqlite system-libvpx" |
343 |
|
344 |
# some notes on deps: |
345 |
# gtk:2 minimum is technically 2.10 but gio support (enabled by default) needs 2.14 |
346 |
# media-libs/mesa needs to be 10.2 or above due to a bug with flash+vdpau |
347 |
|
348 |
RDEPEND=">=app-text/hunspell-1.2 |
349 |
dev-libs/atk |
350 |
dev-libs/expat |
351 |
>=dev-libs/libevent-1.4.7 |
352 |
>=x11-libs/cairo-1.10[X] |
353 |
>=x11-libs/gtk+-2.18:2 |
354 |
x11-libs/gdk-pixbuf |
355 |
>=x11-libs/pango-1.22.0 |
356 |
>=media-libs/libpng-1.6.16:0=[apng] |
357 |
>=media-libs/mesa-10.2:* |
358 |
media-libs/fontconfig |
359 |
>=media-libs/freetype-2.4.10 |
360 |
kernel_linux? ( media-libs/alsa-lib ) |
361 |
pulseaudio? ( media-sound/pulseaudio ) |
362 |
virtual/freedesktop-icon-theme |
363 |
dbus? ( >=sys-apps/dbus-0.60 |
364 |
>=dev-libs/dbus-glib-0.72 ) |
365 |
startup-notification? ( >=x11-libs/startup-notification-0.8 ) |
366 |
>=dev-libs/glib-2.26:2 |
367 |
>=sys-libs/zlib-1.2.3 |
368 |
>=virtual/libffi-3.0.10 |
369 |
gstreamer? ( |
370 |
>=media-libs/gstreamer-1.2.3:1.0 |
371 |
>=media-libs/gst-plugins-base-1.2.3:1.0 |
372 |
>=media-libs/gst-plugins-good-1.2.3:1.0 |
373 |
>=media-plugins/gst-plugins-libav-1.1.0_pre20130128-r1:1.0 |
374 |
) |
375 |
gstreamer-0? ( |
376 |
>=media-libs/gstreamer-0.10.25:0.10 |
377 |
media-plugins/gst-plugins-meta:0.10[ffmpeg] |
378 |
) |
379 |
x11-libs/libX11 |
380 |
x11-libs/libXcomposite |
381 |
x11-libs/libXdamage |
382 |
x11-libs/libXext |
383 |
x11-libs/libXfixes |
384 |
x11-libs/libXrender |
385 |
x11-libs/libXt |
386 |
system-cairo? ( >=x11-libs/cairo-1.12[X] >=x11-libs/pixman-0.19.2 ) |
387 |
system-icu? ( >=dev-libs/icu-51.1:= ) |
388 |
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) |
389 |
system-sqlite? ( >=dev-db/sqlite-3.8.9:3[secure-delete,debug=] ) |
390 |
system-libvpx? ( >=media-libs/libvpx-1.3.0[postproc] ) |
391 |
" |
392 |
|
393 |
if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then |
394 |
if [[ ${MOZCONFIG_OPTIONAL_WIFI} = "enabled" ]]; then |
395 |
IUSE+=" +wifi" |
396 |
else |
397 |
IUSE+=" wifi" |
398 |
fi |
399 |
RDEPEND+=" |
400 |
wifi? ( >=sys-apps/dbus-0.60 |
401 |
>=dev-libs/dbus-glib-0.72 |
402 |
net-wireless/wireless-tools )" |
403 |
fi |
404 |
if [[ -n ${MOZCONFIG_OPTIONAL_JIT} ]]; then |
405 |
if [[ ${MOZCONFIG_OPTIONAL_JIT} = "enabled" ]]; then |
406 |
IUSE+=" +jit" |
407 |
else |
408 |
IUSE+=" jit" |
409 |
fi |
410 |
fi |
411 |
|
412 |
DEPEND="app-arch/zip |
413 |
app-arch/unzip |
414 |
>=sys-devel/binutils-2.16.1 |
415 |
${RDEPEND}" |
416 |
|
417 |
RDEPEND+=" |
418 |
selinux? ( sec-policy/selinux-mozilla )" |
419 |
|
420 |
# only one of gstreamer and gstreamer-0 can be enabled at a time, so set REQUIRED_USE to signify this |
421 |
REQUIRED_USE="?? ( gstreamer gstreamer-0 )" |
422 |
|
423 |
# @FUNCTION: mozconfig_config |
424 |
# @DESCRIPTION: |
425 |
# Set common configure options for mozilla packages. |
426 |
# Call this within src_configure() phase, after mozconfig_init |
427 |
# |
428 |
# Example: |
429 |
# |
430 |
# inherit mozconfig-v5.33 |
431 |
# |
432 |
# src_configure() { |
433 |
# mozconfig_init |
434 |
# mozconfig_config |
435 |
# # ... misc ebuild-unique settings via calls to |
436 |
# # ... mozconfig_{annotate,use_with,use_enable} |
437 |
# mozconfig_final |
438 |
# } |
439 |
|
440 |
mozconfig_config() { |
441 |
# Migrated from mozcoreconf-2 |
442 |
mozconfig_annotate 'system_libs' \ |
443 |
--with-system-zlib \ |
444 |
--enable-pango \ |
445 |
--enable-svg \ |
446 |
--with-system-bz2 |
447 |
|
448 |
mozconfig_annotate '' --enable-default-toolkit=cairo-gtk2 |
449 |
|
450 |
if has bindist ${IUSE}; then |
451 |
mozconfig_use_enable !bindist official-branding |
452 |
if [[ ${PN} == firefox ]] && use bindist ; then |
453 |
mozconfig_annotate '' --with-branding=browser/branding/aurora |
454 |
fi |
455 |
fi |
456 |
|
457 |
mozconfig_use_enable debug |
458 |
mozconfig_use_enable debug tests |
459 |
|
460 |
if ! use debug ; then |
461 |
mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols |
462 |
else |
463 |
mozconfig_annotate 'enabled by Gentoo' --enable-debug-symbols |
464 |
fi |
465 |
|
466 |
mozconfig_use_enable startup-notification |
467 |
|
468 |
if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]] ; then |
469 |
# wifi pulls in dbus so manage both here |
470 |
mozconfig_use_enable wifi necko-wifi |
471 |
if use wifi && ! use dbus; then |
472 |
echo "Enabling dbus support due to wifi request" |
473 |
mozconfig_annotate 'dbus required by necko-wifi' --enable-dbus |
474 |
else |
475 |
mozconfig_use_enable dbus |
476 |
fi |
477 |
else |
478 |
mozconfig_use_enable dbus |
479 |
mozconfig_annotate 'disabled' --disable-necko-wifi |
480 |
fi |
481 |
|
482 |
# These are forced-on for webm support |
483 |
mozconfig_annotate 'required' --enable-ogg |
484 |
mozconfig_annotate 'required' --enable-wave |
485 |
|
486 |
if [[ -n ${MOZCONFIG_OPTIONAL_JIT} ]]; then |
487 |
mozconfig_use_enable jit ion |
488 |
fi |
489 |
|
490 |
# These are enabled by default in all mozilla applications |
491 |
mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${EPREFIX}"/usr |
492 |
mozconfig_annotate '' --with-system-nss --with-nss-prefix="${EPREFIX}"/usr |
493 |
mozconfig_annotate '' --x-includes="${EPREFIX}"/usr/include --x-libraries="${EPREFIX}"/usr/$(get_libdir) |
494 |
mozconfig_annotate '' --with-system-libevent="${EPREFIX}"/usr |
495 |
mozconfig_annotate '' --prefix="${EPREFIX}"/usr |
496 |
mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir) |
497 |
mozconfig_annotate 'Gentoo default' --enable-system-hunspell |
498 |
mozconfig_annotate '' --disable-gnomevfs |
499 |
mozconfig_annotate '' --disable-gnomeui |
500 |
mozconfig_annotate '' --enable-gio |
501 |
mozconfig_annotate '' --disable-crashreporter |
502 |
mozconfig_annotate 'Gentoo default' --with-system-png |
503 |
mozconfig_annotate '' --enable-system-ffi |
504 |
mozconfig_annotate 'Gentoo default to honor system linker' --disable-gold |
505 |
mozconfig_annotate '' --disable-gconf |
506 |
|
507 |
# Use jemalloc unless libc is not glibc >= 2.4 |
508 |
# at this time the minimum glibc in the tree is 2.9 so we should be safe. |
509 |
if use elibc_glibc && use jemalloc3; then |
510 |
# We must force-enable jemalloc 3 via .mozconfig |
511 |
echo "export MOZ_JEMALLOC3=1" >> "${S}"/.mozconfig || die |
512 |
mozconfig_annotate '' --enable-jemalloc |
513 |
mozconfig_annotate '' --enable-replace-malloc |
514 |
fi |
515 |
|
516 |
mozconfig_annotate '' --target="${CTARGET:-${CHOST}}" |
517 |
mozconfig_annotate '' --build="${CTARGET:-${CHOST}}" |
518 |
|
519 |
if use gstreamer || use gstreamer-0 ; then |
520 |
if use gstreamer-0 ; then |
521 |
mozconfig_annotate '+gstreamer-0' --enable-gstreamer=0.10 |
522 |
else |
523 |
mozconfig_annotate '+gstreamer' --enable-gstreamer=1.0 |
524 |
fi |
525 |
else |
526 |
mozconfig_annotate '' --disable-gstreamer |
527 |
fi |
528 |
mozconfig_use_enable pulseaudio |
529 |
|
530 |
mozconfig_use_enable system-cairo |
531 |
mozconfig_use_enable system-sqlite |
532 |
mozconfig_use_with system-jpeg |
533 |
mozconfig_use_with system-icu |
534 |
mozconfig_use_enable system-icu intl-api |
535 |
mozconfig_use_with system-libvpx |
536 |
} |