1 |
commit: 277028349bf7bdfe5216c3aa72547fb5356550f8 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 31 09:43:03 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 31 09:43:03 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27702834 |
7 |
|
8 |
gnome-base/gnome-control-center: mouse panel needs a concrete set of plugins at runtime, we also need to handle the coexistance of wacom and libinput together (#580474) |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
.../gnome-control-center-3.20.1-r1.ebuild | 160 +++++++++++++++++++++ |
13 |
1 file changed, 160 insertions(+) |
14 |
|
15 |
diff --git a/gnome-base/gnome-control-center/gnome-control-center-3.20.1-r1.ebuild b/gnome-base/gnome-control-center/gnome-control-center-3.20.1-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..f443827 |
18 |
--- /dev/null |
19 |
+++ b/gnome-base/gnome-control-center/gnome-control-center-3.20.1-r1.ebuild |
20 |
@@ -0,0 +1,160 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=6 |
26 |
+GNOME2_LA_PUNT="yes" |
27 |
+ |
28 |
+inherit autotools bash-completion-r1 gnome2 |
29 |
+ |
30 |
+DESCRIPTION="GNOME's main interface to configure various aspects of the desktop" |
31 |
+HOMEPAGE="https://git.gnome.org/browse/gnome-control-center/" |
32 |
+ |
33 |
+LICENSE="GPL-2+" |
34 |
+SLOT="2" |
35 |
+IUSE="+bluetooth +colord +cups debug +gnome-online-accounts +i18n input_devices_wacom kerberos networkmanager v4l wayland" |
36 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" |
37 |
+ |
38 |
+# False positives caused by nested configure scripts |
39 |
+QA_CONFIGURE_OPTIONS=".*" |
40 |
+ |
41 |
+# gnome-session-2.91.6-r1 is needed so that 10-user-dirs-update is run at login |
42 |
+# g-s-d[policykit] needed for bug #403527 |
43 |
+# kerberos unfortunately means mit-krb5; build fails with heimdal |
44 |
+# udev could be made optional, only conditions gsd-device-panel |
45 |
+# (mouse, keyboards, touchscreen, etc) |
46 |
+COMMON_DEPEND=" |
47 |
+ >=dev-libs/glib-2.44.0:2[dbus] |
48 |
+ >=x11-libs/gdk-pixbuf-2.23.0:2 |
49 |
+ >=x11-libs/gtk+-3.20.3:3[X,wayland?] |
50 |
+ >=gnome-base/gsettings-desktop-schemas-3.19.3 |
51 |
+ >=gnome-base/gnome-desktop-3.19.93:3= |
52 |
+ >=gnome-base/gnome-settings-daemon-3.19.1[colord?,policykit] |
53 |
+ |
54 |
+ >=dev-libs/libpwquality-1.2.2 |
55 |
+ dev-libs/libxml2:2 |
56 |
+ gnome-base/libgtop:2= |
57 |
+ media-libs/fontconfig |
58 |
+ |
59 |
+ >=media-libs/libcanberra-0.13[gtk3] |
60 |
+ >=media-sound/pulseaudio-2[glib] |
61 |
+ >=sys-auth/polkit-0.97 |
62 |
+ >=sys-power/upower-0.99:= |
63 |
+ >=x11-libs/libnotify-0.7.3:0= |
64 |
+ |
65 |
+ virtual/libgudev |
66 |
+ virtual/opengl |
67 |
+ x11-apps/xmodmap |
68 |
+ x11-libs/cairo |
69 |
+ x11-libs/libX11 |
70 |
+ x11-libs/libXxf86misc |
71 |
+ >=x11-libs/libXi-1.2 |
72 |
+ |
73 |
+ bluetooth? ( >=net-wireless/gnome-bluetooth-3.18.2:= ) |
74 |
+ colord? ( |
75 |
+ net-libs/libsoup:2.4 |
76 |
+ >=x11-misc/colord-0.1.34:0= |
77 |
+ >=x11-libs/colord-gtk-0.1.24 ) |
78 |
+ cups? ( |
79 |
+ >=net-print/cups-1.4[dbus] |
80 |
+ || ( >=net-fs/samba-3.6.14-r1[smbclient] >=net-fs/samba-4.0.0[client] ) ) |
81 |
+ gnome-online-accounts? ( |
82 |
+ >=media-libs/grilo-0.3.0:0.3= |
83 |
+ >=net-libs/gnome-online-accounts-3.15.1:= ) |
84 |
+ i18n? ( >=app-i18n/ibus-1.5.2 ) |
85 |
+ kerberos? ( app-crypt/mit-krb5 ) |
86 |
+ networkmanager? ( |
87 |
+ >=gnome-extra/nm-applet-0.9.7.995 |
88 |
+ >=net-misc/networkmanager-0.9.8:=[modemmanager] |
89 |
+ >=net-misc/modemmanager-0.7.990 ) |
90 |
+ v4l? ( |
91 |
+ media-libs/clutter-gtk:1.0 |
92 |
+ >=media-video/cheese-3.5.91 ) |
93 |
+ input_devices_wacom? ( |
94 |
+ >=dev-libs/libwacom-0.7 |
95 |
+ >=media-libs/clutter-1.11.3:1.0 |
96 |
+ media-libs/clutter-gtk:1.0 |
97 |
+ >=x11-libs/libXi-1.2 ) |
98 |
+" |
99 |
+# <gnome-color-manager-3.1.2 has file collisions with g-c-c-3.1.x |
100 |
+# libgnomekbd needed only for gkbd-keyboard-display tool |
101 |
+# |
102 |
+# mouse panel needs a concrete set of X11 drivers at runtime, bug #580474 |
103 |
+# Also we need newer driver versions to allow wacom and libinput drivers to |
104 |
+# not collide |
105 |
+RDEPEND="${COMMON_DEPEND} |
106 |
+ || ( >=sys-apps/systemd-31 ( app-admin/openrc-settingsd sys-auth/consolekit ) ) |
107 |
+ >=sys-apps/accountsservice-0.6.39 |
108 |
+ x11-themes/adwaita-icon-theme |
109 |
+ colord? ( >=gnome-extra/gnome-color-manager-3 ) |
110 |
+ cups? ( |
111 |
+ app-admin/system-config-printer |
112 |
+ net-print/cups-pk-helper ) |
113 |
+ input_devices_wacom? ( gnome-base/gnome-settings-daemon[input_devices_wacom] ) |
114 |
+ i18n? ( >=gnome-base/libgnomekbd-3 ) |
115 |
+ wayland? ( dev-libs/libinput ) |
116 |
+ !wayland? ( |
117 |
+ >=x11-drivers/xf86-input-libinput-0.19.0 |
118 |
+ input_devices_wacom? ( >=x11-drivers/xf86-input-wacom-0.33.0 ) ) |
119 |
+ |
120 |
+ !<gnome-base/gdm-2.91.94 |
121 |
+ !<gnome-extra/gnome-color-manager-3.1.2 |
122 |
+ !gnome-extra/gnome-media[pulseaudio] |
123 |
+ !<gnome-extra/gnome-media-2.32.0-r300 |
124 |
+ !<net-wireless/gnome-bluetooth-3.3.2 |
125 |
+" |
126 |
+# PDEPEND to avoid circular dependency |
127 |
+PDEPEND=">=gnome-base/gnome-session-2.91.6-r1" |
128 |
+ |
129 |
+DEPEND="${COMMON_DEPEND} |
130 |
+ x11-proto/xproto |
131 |
+ x11-proto/xf86miscproto |
132 |
+ x11-proto/kbproto |
133 |
+ |
134 |
+ dev-libs/libxml2:2 |
135 |
+ dev-libs/libxslt |
136 |
+ >=dev-util/intltool-0.40.1 |
137 |
+ >=sys-devel/gettext-0.17 |
138 |
+ virtual/pkgconfig |
139 |
+ |
140 |
+ gnome-base/gnome-common |
141 |
+" |
142 |
+# Needed for autoreconf |
143 |
+# gnome-base/gnome-common |
144 |
+ |
145 |
+src_prepare() { |
146 |
+ # Make some panels and dependencies optional; requires eautoreconf |
147 |
+ # https://bugzilla.gnome.org/686840, 697478, 700145 |
148 |
+ eapply "${FILESDIR}"/${PN}-3.20.0-optional.patch |
149 |
+ eapply "${FILESDIR}"/${PN}-3.16.0-make-wayland-optional.patch |
150 |
+ eapply "${FILESDIR}"/${PN}-3.18.0-keep-panels-optional.patch |
151 |
+ eapply "${FILESDIR}"/${PN}-3.16.0-networkmanager.patch |
152 |
+ |
153 |
+ # Fix some absolute paths to be appropriate for Gentoo |
154 |
+ eapply "${FILESDIR}"/${PN}-3.10.2-gentoo-paths.patch |
155 |
+ |
156 |
+ eautoreconf |
157 |
+ gnome2_src_prepare |
158 |
+} |
159 |
+ |
160 |
+src_configure() { |
161 |
+ gnome2_src_configure \ |
162 |
+ --disable-update-mimedb \ |
163 |
+ --disable-static \ |
164 |
+ --enable-documentation \ |
165 |
+ $(use_enable bluetooth) \ |
166 |
+ $(use_enable colord color) \ |
167 |
+ $(use_enable cups) \ |
168 |
+ $(usex debug --enable-debug=yes ' ') \ |
169 |
+ $(use_enable gnome-online-accounts goa) \ |
170 |
+ $(use_enable i18n ibus) \ |
171 |
+ $(use_enable kerberos) \ |
172 |
+ $(use_enable networkmanager) \ |
173 |
+ $(use_with v4l cheese) \ |
174 |
+ $(use_enable input_devices_wacom wacom) \ |
175 |
+ $(use_enable wayland) |
176 |
+} |
177 |
+ |
178 |
+src_install() { |
179 |
+ gnome2_src_install completiondir="$(get_bashcompdir)" |
180 |
+} |