/[gentoo-x86]/gnome-base/gnome-control-center/gnome-control-center-3.6.3-r1.ebuild
Gentoo

Contents of /gnome-base/gnome-control-center/gnome-control-center-3.6.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Tue Jan 22 07:38:02 2013 UTC (19 months ago) by tetromino
Branch: MAIN
Changes since 1.6: +9 -13 lines
Rename USE=wacom to INPUT_DEVICES=wacom to match the rest of the tree.

(Portage version: 2.2.0_alpha158/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-control-center/gnome-control-center-3.6.3-r1.ebuild,v 1.6 2013/01/06 09:35:01 ago Exp $
4
5 EAPI="5"
6 GCONF_DEBUG="yes"
7 GNOME2_LA_PUNT="yes" # gmodule is used, which uses dlopen
8
9 inherit autotools eutils gnome2
10
11 DESCRIPTION="GNOME Desktop Configuration Tool"
12 HOMEPAGE="http://www.gnome.org/"
13
14 LICENSE="GPL-2+"
15 SLOT="2"
16 IUSE="+bluetooth +colord +cups +gnome-online-accounts +i18n input_devices_wacom kerberos +networkmanager +socialweb systemd v4l"
17 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
18
19 # XXX: NetworkManager-0.9 support is automagic, make hard-dep once it's released
20 #
21 # gnome-session-2.91.6-r1 is needed so that 10-user-dirs-update is run at login
22 # g-s-d[policykit] needed for bug #403527
23 COMMON_DEPEND="
24 >=dev-libs/glib-2.31:2
25 >=x11-libs/gdk-pixbuf-2.23.0:2
26 >=x11-libs/gtk+-3.5.13:3
27 >=gnome-base/gsettings-desktop-schemas-3.5.91
28 >=gnome-base/gnome-desktop-3.5.91:3=
29 >=gnome-base/gnome-settings-daemon-3.6[colord?,policykit]
30 >=gnome-base/libgnomekbd-2.91.91
31
32 app-text/iso-codes
33 dev-libs/libpwquality
34 dev-libs/libxml2:2
35 gnome-base/gnome-menus:3
36 gnome-base/libgtop:2
37 media-libs/fontconfig
38
39 >=media-libs/libcanberra-0.13[gtk3]
40 >=media-sound/pulseaudio-2[glib]
41 >=sys-auth/polkit-0.97
42 >=sys-power/upower-0.9.1
43 >=x11-libs/libnotify-0.7.3
44
45 x11-apps/xmodmap
46 x11-libs/libX11
47 x11-libs/libXxf86misc
48 >=x11-libs/libXi-1.2
49
50 bluetooth? ( >=net-wireless/gnome-bluetooth-3.5.5:= )
51 colord? ( >=x11-misc/colord-0.1.8 )
52 cups? ( >=net-print/cups-1.4[dbus] )
53 gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.5.90 )
54 i18n? ( >=app-i18n/ibus-1.4.99 )
55 input_devices_wacom? (
56 >=dev-libs/libwacom-0.6
57 >=x11-libs/libXi-1.2 )
58 kerberos? ( virtual/krb5 )
59 networkmanager? (
60 >=gnome-extra/nm-applet-0.9.1.90
61 >=net-misc/networkmanager-0.8.997 )
62 socialweb? ( net-libs/libsocialweb )
63 systemd? ( >=sys-apps/systemd-31 )
64 v4l? (
65 media-libs/gstreamer:1.0
66 media-libs/clutter-gtk:1.0
67 >=media-video/cheese-3.5.91 )
68 "
69 # <gnome-color-manager-3.1.2 has file collisions with g-c-c-3.1.x
70 RDEPEND="${COMMON_DEPEND}
71 gnome-base/gnome-settings-daemon[input_devices_wacom?]
72 sys-apps/accountsservice
73 x11-themes/gnome-icon-theme-symbolic
74 colord? ( >=gnome-extra/gnome-color-manager-3 )
75 cups? (
76 >=app-admin/system-config-printer-gnome-1.3.5
77 net-print/cups-pk-helper )
78 !systemd? (
79 app-admin/openrc-settingsd
80 sys-auth/consolekit )
81
82 !<gnome-base/gdm-2.91.94
83 !<gnome-extra/gnome-color-manager-3.1.2
84 !gnome-extra/gnome-media[pulseaudio]
85 !<gnome-extra/gnome-media-2.32.0-r300
86 !<net-wireless/gnome-bluetooth-3.3.2
87 "
88 # PDEPEND to avoid circular dependency
89 PDEPEND=">=gnome-base/gnome-session-2.91.6-r1"
90 DEPEND="${COMMON_DEPEND}
91 x11-proto/xproto
92 x11-proto/xf86miscproto
93 x11-proto/kbproto
94
95 dev-libs/libxml2:2
96 dev-libs/libxslt
97 >=dev-util/intltool-0.40.1
98 >=sys-devel/gettext-0.17
99 virtual/pkgconfig
100
101 cups? ( sys-apps/sed )
102
103 gnome-base/gnome-common
104 "
105 # Needed for autoreconf
106 # gnome-base/gnome-common
107
108 src_prepare() {
109 # Make some panels optional; requires eautoreconf
110 epatch "${FILESDIR}/${PN}-3.5.91-optional-bt-colord-goa-wacom.patch"
111 # https://bugzilla.gnome.org/show_bug.cgi?id=686840
112 epatch "${FILESDIR}/${PN}-3.5.91-optional-kerberos.patch"
113 # Fix some absolute paths to be appropriate for Gentoo
114 epatch "${FILESDIR}/${PN}-3.5.91-gentoo-paths.patch"
115 # Needed for g-c-c 3.6.3 and PulseAudio >2.1. Remove in 3.6.4.
116 epatch "${FILESDIR}/${P}-pulseaudio-3-fix.patch"
117 eautoreconf
118
119 gnome2_src_prepare
120
121 # panels/datetime/Makefile.am gets touched as a result of something in our
122 # src_prepare(). We need to touch timedated{c,h} to prevent them from being
123 # regenerated (bug #415901)
124 [[ -f panels/datetime/timedated.h ]] && touch panels/datetime/timedated.h
125 [[ -f panels/datetime/timedated.c ]] && touch panels/datetime/timedated.c
126 }
127
128 src_configure() {
129 G2CONF="${G2CONF}
130 --disable-update-mimedb
131 --disable-static
132 --enable-documentation
133 $(use_enable bluetooth)
134 $(use_enable colord color)
135 $(use_enable cups)
136 $(use_enable gnome-online-accounts goa)
137 $(use_enable i18n ibus)
138 $(use_enable input_devices_wacom wacom)
139 $(use_with socialweb libsocialweb)
140 $(use_enable systemd)
141 $(use_with v4l cheese)"
142 # XXX: $(use_with kerberos) # for 3.7.x
143 if ! use kerberos; then
144 G2CONF+=" KRB5_CONFIG=$(type -P true)"
145 fi
146 DOCS="AUTHORS ChangeLog NEWS README TODO"
147 gnome2_src_configure
148 }

  ViewVC Help
Powered by ViewVC 1.1.20