1 |
commit: 42f4ab492a23e522172d6513bd73274cb7059bac |
2 |
Author: Jory A. Pratt <anarchy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 1 22:28:17 2016 +0000 |
4 |
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 1 22:28:17 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=42f4ab49 |
7 |
|
8 |
remove obsolete eclass |
9 |
|
10 |
eclass/mozconfig-v5.31.eclass | 218 ------------------------------------------ |
11 |
1 file changed, 218 deletions(-) |
12 |
|
13 |
diff --git a/eclass/mozconfig-v5.31.eclass b/eclass/mozconfig-v5.31.eclass |
14 |
deleted file mode 100644 |
15 |
index 5d93466..0000000 |
16 |
--- a/eclass/mozconfig-v5.31.eclass |
17 |
+++ /dev/null |
18 |
@@ -1,218 +0,0 @@ |
19 |
-# Copyright 1999-2015 Gentoo Foundation |
20 |
-# Distributed under the terms of the GNU General Public License v2 |
21 |
-# $Id$ |
22 |
-# |
23 |
-# @ECLASS: mozconfig-v5.31.eclass |
24 |
-# @MAINTAINER: |
25 |
-# mozilla team <mozilla@g.o> |
26 |
-# @BLURB: the new mozilla common configuration eclass for FF31 and newer, v5 |
27 |
-# @DESCRIPTION: |
28 |
-# This eclass is used in mozilla ebuilds (firefox, thunderbird, seamonkey) |
29 |
-# to provide a single common place for the common mozilla engine compoments. |
30 |
-# |
31 |
-# The eclass provides all common dependencies as well as common use flags. |
32 |
-# |
33 |
-# Some use flags which may be optional in particular mozilla packages can be |
34 |
-# supported through setting eclass variables. |
35 |
-# |
36 |
-# This eclass inherits mozconfig helper functions as defined in mozcoreconf-v3, |
37 |
-# and so ebuilds inheriting this eclass do not need to inherit that. |
38 |
- |
39 |
-inherit multilib flag-o-matic toolchain-funcs mozcoreconf-v3 |
40 |
- |
41 |
-case ${EAPI} in |
42 |
- 0|1|2|3|4) die "EAPI=${EAPI} not supported" |
43 |
-esac |
44 |
- |
45 |
-# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI |
46 |
-# @DESCRIPTION: |
47 |
-# Set this variable before the inherit line, when an ebuild needs to provide |
48 |
-# optional necko-wifi support via IUSE="wifi". Currently this would include |
49 |
-# ebuilds for firefox, and potentially seamonkey. |
50 |
-# |
51 |
-# Leave the variable UNSET if necko-wifi support should not be available. |
52 |
-# Set the variable to "enabled" if the use flag should be enabled by default. |
53 |
-# Set the variable to any value if the use flag should exist but not be default-enabled. |
54 |
- |
55 |
-# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_JIT |
56 |
-# @DESCRIPTION: |
57 |
-# Set this variable before the inherit line, when an ebuild needs to provide |
58 |
-# optional necko-wifi support via IUSE="jit". Currently this would include |
59 |
-# ebuilds for firefox, and potentially seamonkey. |
60 |
-# |
61 |
-# Leave the variable UNSET if optional jit support should not be available. |
62 |
-# Set the variable to "enabled" if the use flag should be enabled by default. |
63 |
-# Set the variable to any value if the use flag should exist but not be default-enabled. |
64 |
- |
65 |
-# use-flags common among all mozilla ebuilds |
66 |
-IUSE="${IUSE} dbus debug gstreamer pulseaudio startup-notification system-cairo system-icu system-jpeg system-sqlite system-libvpx" |
67 |
- |
68 |
-# some notes on deps: |
69 |
-# gtk:2 minimum is technically 2.10 but gio support (enabled by default) needs 2.14 |
70 |
-# media-libs/mesa needs to be 10.2 or above due to a bug with flash+vdpau |
71 |
- |
72 |
-RDEPEND=">=app-text/hunspell-1.2 |
73 |
- dev-libs/atk |
74 |
- dev-libs/expat |
75 |
- >=dev-libs/libevent-1.4.7 |
76 |
- >=x11-libs/cairo-1.10[X] |
77 |
- >=x11-libs/gtk+-2.14:2 |
78 |
- x11-libs/gdk-pixbuf |
79 |
- >=x11-libs/pango-1.22.0 |
80 |
- >=media-libs/libpng-1.6.10:0=[apng] |
81 |
- >=media-libs/mesa-10.2:* |
82 |
- media-libs/fontconfig |
83 |
- >=media-libs/freetype-2.4.10 |
84 |
- kernel_linux? ( media-libs/alsa-lib ) |
85 |
- pulseaudio? ( media-sound/pulseaudio ) |
86 |
- >=sys-libs/zlib-1.2.3 |
87 |
- virtual/freedesktop-icon-theme |
88 |
- dbus? ( >=sys-apps/dbus-0.60 |
89 |
- >=dev-libs/dbus-glib-0.72 ) |
90 |
- startup-notification? ( >=x11-libs/startup-notification-0.8 ) |
91 |
- >=dev-libs/glib-2.26:2 |
92 |
- virtual/libffi |
93 |
- gstreamer? ( media-plugins/gst-plugins-meta:1.0[ffmpeg] ) |
94 |
- x11-libs/libX11 |
95 |
- x11-libs/libXext |
96 |
- x11-libs/libXrender |
97 |
- x11-libs/libXt |
98 |
- system-cairo? ( >=x11-libs/cairo-1.12[X] >=x11-libs/pixman-0.19.2 ) |
99 |
- system-icu? ( >=dev-libs/icu-51.1:= ) |
100 |
- system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) |
101 |
- system-sqlite? ( >=dev-db/sqlite-3.8.4.2:3[secure-delete,debug=] ) |
102 |
-" |
103 |
- |
104 |
-# firefox-31.0-patches-0.3 and above carry a patch making newer libvpx compatible |
105 |
-case ${PATCHFF##*31.0-patches-} in |
106 |
- 0.3) RDEPEND+=" system-libvpx? ( >=media-libs/libvpx-1.3.0:0= )" ;; |
107 |
- *) RDEPEND+=" system-libvpx? ( =media-libs/libvpx-1.3.0* )" ;; |
108 |
-esac |
109 |
- |
110 |
-if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then |
111 |
- if [[ ${MOZCONFIG_OPTIONAL_WIFI} = "enabled" ]]; then |
112 |
- IUSE+=" +wifi" |
113 |
- else |
114 |
- IUSE+=" wifi" |
115 |
- fi |
116 |
- RDEPEND+=" |
117 |
- wifi? ( >=sys-apps/dbus-0.60 |
118 |
- >=dev-libs/dbus-glib-0.72 |
119 |
- net-wireless/wireless-tools )" |
120 |
-fi |
121 |
-if [[ -n ${MOZCONFIG_OPTIONAL_JIT} ]]; then |
122 |
- if [[ ${MOZCONFIG_OPTIONAL_JIT} = "enabled" ]]; then |
123 |
- IUSE+=" +jit" |
124 |
- else |
125 |
- IUSE+=" jit" |
126 |
- fi |
127 |
-fi |
128 |
- |
129 |
-DEPEND="app-arch/zip |
130 |
- app-arch/unzip |
131 |
- >=sys-devel/binutils-2.16.1 |
132 |
- ${RDEPEND}" |
133 |
- |
134 |
-# @FUNCTION: mozconfig_config |
135 |
-# @DESCRIPTION: |
136 |
-# Set common configure options for mozilla packages. |
137 |
-# Call this within src_configure() phase, after mozconfig_init |
138 |
-# |
139 |
-# Example: |
140 |
-# |
141 |
-# inherit mozconfig-v5.31 |
142 |
-# |
143 |
-# src_configure() { |
144 |
-# mozconfig_init |
145 |
-# mozconfig_config |
146 |
-# # ... misc ebuild-unique settings via calls to |
147 |
-# # ... mozconfig_{annotate,use_with,use_enable} |
148 |
-# mozconfig_final |
149 |
-# } |
150 |
- |
151 |
-mozconfig_config() { |
152 |
- # Migrated from mozcoreconf-2 |
153 |
- mozconfig_annotate 'system_libs' \ |
154 |
- --with-system-zlib \ |
155 |
- --enable-pango \ |
156 |
- --enable-svg |
157 |
- |
158 |
- mozconfig_annotate '' --enable-default-toolkit=cairo-gtk2 |
159 |
- |
160 |
- if has bindist ${IUSE}; then |
161 |
- mozconfig_use_enable !bindist official-branding |
162 |
- if [[ ${PN} == firefox ]] && use bindist ; then |
163 |
- mozconfig_annotate '' --with-branding=browser/branding/aurora |
164 |
- fi |
165 |
- fi |
166 |
- |
167 |
- mozconfig_use_enable debug |
168 |
- mozconfig_use_enable debug tests |
169 |
- |
170 |
- if ! use debug ; then |
171 |
- mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols |
172 |
- fi |
173 |
- |
174 |
- mozconfig_use_enable startup-notification |
175 |
- |
176 |
- if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]] ; then |
177 |
- # wifi pulls in dbus so manage both here |
178 |
- mozconfig_use_enable wifi necko-wifi |
179 |
- if use wifi && ! use dbus; then |
180 |
- echo "Enabling dbus support due to wifi request" |
181 |
- mozconfig_annotate 'dbus required by necko-wifi' --enable-dbus |
182 |
- else |
183 |
- mozconfig_use_enable dbus |
184 |
- fi |
185 |
- else |
186 |
- mozconfig_use_enable dbus |
187 |
- mozconfig_annotate 'disabled' --disable-necko-wifi |
188 |
- fi |
189 |
- |
190 |
- mozconfig_annotate 'required' --enable-ogg |
191 |
- mozconfig_annotate 'required' --enable-wave |
192 |
- |
193 |
- if [[ -n ${MOZCONFIG_OPTIONAL_JIT} ]]; then |
194 |
- mozconfig_use_enable jit ion |
195 |
- mozconfig_use_enable jit yarr-jit |
196 |
- fi |
197 |
- |
198 |
- # These are enabled by default in all mozilla applications |
199 |
- mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${EPREFIX}"/usr |
200 |
- mozconfig_annotate '' --with-system-nss --with-nss-prefix="${EPREFIX}"/usr |
201 |
- mozconfig_annotate '' --x-includes="${EPREFIX}"/usr/include --x-libraries="${EPREFIX}"/usr/$(get_libdir) |
202 |
- mozconfig_annotate '' --with-system-libevent="${EPREFIX}"/usr |
203 |
- mozconfig_annotate '' --prefix="${EPREFIX}"/usr |
204 |
- mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir) |
205 |
- mozconfig_annotate '' --enable-system-hunspell |
206 |
- mozconfig_annotate '' --disable-gnomevfs |
207 |
- mozconfig_annotate '' --disable-gnomeui |
208 |
- mozconfig_annotate '' --enable-gio |
209 |
- mozconfig_annotate '' --disable-crashreporter |
210 |
- mozconfig_annotate '' --with-system-png |
211 |
- mozconfig_annotate '' --enable-system-ffi |
212 |
- mozconfig_annotate '' --disable-gold |
213 |
- mozconfig_annotate '' --disable-gconf |
214 |
- |
215 |
- # We must force enable jemalloc 3 threw .mozconfig |
216 |
- echo "export MOZ_JEMALLOC=1" >> "${S}"/.mozconfig || die |
217 |
- mozconfig_annotate '' --enable-jemalloc |
218 |
- mozconfig_annotate '' --enable-replace-malloc |
219 |
- |
220 |
- mozconfig_annotate '' --target="${CTARGET:-${CHOST}}" |
221 |
- mozconfig_annotate '' --build="${CTARGET:-${CHOST}}" |
222 |
- |
223 |
- if use gstreamer; then |
224 |
- mozconfig_annotate '+gstreamer' --enable-gstreamer=1.0 |
225 |
- else |
226 |
- mozconfig_annotate '' --disable-gstreamer |
227 |
- fi |
228 |
- mozconfig_use_enable pulseaudio |
229 |
- |
230 |
- mozconfig_use_enable system-cairo |
231 |
- mozconfig_use_enable system-sqlite |
232 |
- mozconfig_use_with system-jpeg |
233 |
- mozconfig_use_with system-icu |
234 |
- mozconfig_use_with system-icu intl-api |
235 |
- mozconfig_use_with system-libvpx |
236 |
-} |