1 |
axs 14/08/01 16:32:16 |
2 |
|
3 |
Modified: ChangeLog mozconfig-v4.eclass |
4 |
Log: |
5 |
Updated mozconfig-v4.eclass to properly support optional IUSE=wifi |
6 |
|
7 |
Revision Changes Path |
8 |
1.1336 eclass/ChangeLog |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1336&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1336&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1335&r2=1.1336 |
13 |
|
14 |
Index: ChangeLog |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v |
17 |
retrieving revision 1.1335 |
18 |
retrieving revision 1.1336 |
19 |
diff -u -r1.1335 -r1.1336 |
20 |
--- ChangeLog 31 Jul 2014 22:26:07 -0000 1.1335 |
21 |
+++ ChangeLog 1 Aug 2014 16:32:16 -0000 1.1336 |
22 |
@@ -1,6 +1,9 @@ |
23 |
# ChangeLog for eclass directory |
24 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1335 2014/07/31 22:26:07 grknight Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1336 2014/08/01 16:32:16 axs Exp $ |
27 |
+ |
28 |
+ 01 Aug 2014; Ian Stakenvicius (_AxS_) <axs@g.o> mozconfig-v4.eclass: |
29 |
+ Updated mozconfig-v4.eclass to properly support optional IUSE=wifi |
30 |
|
31 |
31 Jul 2014; Brian Evans <grknight@g.o> mysql-cmake.eclass, |
32 |
mysql-multilib.eclass: |
33 |
|
34 |
|
35 |
|
36 |
1.3 eclass/mozconfig-v4.eclass |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozconfig-v4.eclass?rev=1.3&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozconfig-v4.eclass?rev=1.3&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozconfig-v4.eclass?r1=1.2&r2=1.3 |
41 |
|
42 |
Index: mozconfig-v4.eclass |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/eclass/mozconfig-v4.eclass,v |
45 |
retrieving revision 1.2 |
46 |
retrieving revision 1.3 |
47 |
diff -u -r1.2 -r1.3 |
48 |
--- mozconfig-v4.eclass 29 Jul 2014 20:43:02 -0000 1.2 |
49 |
+++ mozconfig-v4.eclass 1 Aug 2014 16:32:16 -0000 1.3 |
50 |
@@ -1,11 +1,36 @@ |
51 |
# Copyright 1999-2014 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v4.eclass,v 1.2 2014/07/29 20:43:02 axs Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v4.eclass,v 1.3 2014/08/01 16:32:16 axs Exp $ |
55 |
# |
56 |
# mozconfig-v4.eclass: the new mozilla.eclass |
57 |
|
58 |
inherit multilib flag-o-matic mozcoreconf-2 |
59 |
|
60 |
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI |
61 |
+# @DESCRIPTION: |
62 |
+# Set this variable before the inherit line, when an ebuild needs to provide |
63 |
+# optional necko-wifi support via IUSE="wifi". Currently this would include |
64 |
+# ebuilds for firefox, and potentially seamonkey. |
65 |
+# |
66 |
+# Leave the variable UNSET if necko-wifi support should not be available. |
67 |
+ |
68 |
+# @FUNCTION: mozconfig_config |
69 |
+# @DESCRIPTION: |
70 |
+# Set common configure options for mozilla packages. |
71 |
+# Call this within src_configure() phase, after mozconfig_init |
72 |
+# |
73 |
+# Example: |
74 |
+# |
75 |
+# inherit mozconfig-v4 |
76 |
+# |
77 |
+# src_configure() { |
78 |
+# mozconfig_init |
79 |
+# mozconfig_config |
80 |
+# # ... misc ebuild-unique settings via calls to |
81 |
+# # ... mozconfig_{annotate,use_with,use_enable} |
82 |
+# mozconfig_final |
83 |
+# } |
84 |
+ |
85 |
# use-flags common among all mozilla ebuilds |
86 |
IUSE="dbus debug startup-notification" |
87 |
|
88 |
@@ -15,14 +40,19 @@ |
89 |
>=x11-libs/cairo-1.12[X] |
90 |
>=x11-libs/gtk+-2.10:2 |
91 |
>=x11-libs/pango-1.22.0 |
92 |
- media-libs/alsa-lib |
93 |
+ kernel_linux? ( media-libs/alsa-lib ) |
94 |
virtual/freedesktop-icon-theme |
95 |
dbus? ( >=dev-libs/dbus-glib-0.72 ) |
96 |
startup-notification? ( >=x11-libs/startup-notification-0.8 ) |
97 |
+ >=dev-libs/glib-2.26:2" |
98 |
+ |
99 |
+if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then |
100 |
+IUSE+=" wifi" |
101 |
+RDEPEND+=" |
102 |
wifi? ( >=sys-apps/dbus-0.60 |
103 |
>=dev-libs/dbus-glib-0.72 |
104 |
- net-wireless/wireless-tools ) |
105 |
- >=dev-libs/glib-2.26:2" |
106 |
+ net-wireless/wireless-tools )" |
107 |
+fi |
108 |
|
109 |
DEPEND="app-arch/zip |
110 |
app-arch/unzip |