/[gentoo-x86]/gnome-extra/cinnamon-control-center/cinnamon-control-center-2.2.7.ebuild
Gentoo

Contents of /gnome-extra/cinnamon-control-center/cinnamon-control-center-2.2.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Jun 1 08:13:19 2014 UTC (5 years, 7 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump, fix upower dependencies, drop old

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon-control-center/cinnamon-control-center-2.2.7.ebuild,v 1.2 2014/05/31 22:33:33 ssuominen 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="Cinnamons's main interface to configure various aspects of the desktop"
12 HOMEPAGE="http://cinnamon.linuxmint.com/"
13 SRC_URI="https://github.com/linuxmint/cinnamon-control-center/archive/${PV}.tar.gz -> ${P}.tar.gz"
14
15 LICENSE="GPL-2+"
16 SLOT="0"
17 IUSE="+colord +cups input_devices_wacom socialweb"
18 KEYWORDS="~amd64 ~x86"
19
20 # False positives caused by nested configure scripts
21 QA_CONFIGURE_OPTIONS=".*"
22
23 # FIXME: modemmanager is not optional
24 # networkmanager is not optional
25
26 COMMON_DEPEND="
27 >=dev-libs/glib-2.31:2
28 dev-libs/libxml2:2
29 >=gnome-base/libgnomekbd-2.91.91:0=
30 >=gnome-extra/cinnamon-desktop-1.0:0=
31 >=gnome-extra/cinnamon-menus-1.0:0=
32 >=gnome-extra/cinnamon-settings-daemon-1.0:0=
33 >=gnome-extra/nm-applet-0.9.8
34 media-libs/fontconfig
35 >=media-libs/libcanberra-0.13[gtk3]
36 >=media-sound/pulseaudio-1.1[glib]
37 net-misc/modemmanager
38 >=net-misc/networkmanager-0.8.9[modemmanager]
39 >=sys-auth/polkit-0.103
40 || ( >=sys-power/upower-0.9.1 sys-power/upower-pm-utils )
41 >=x11-libs/gdk-pixbuf-2.23.0:2
42 >=x11-libs/gtk+-3.4.1:3
43 >=x11-libs/libnotify-0.7.3:0=
44 x11-libs/libX11
45 x11-libs/libxklavier
46 colord? ( >=x11-misc/colord-0.1.8:0= )
47 cups? ( >=net-print/cups-1.4[dbus] )
48 input_devices_wacom? (
49 >=dev-libs/libwacom-0.7
50 >=x11-libs/gtk+-3.8:3
51 >=x11-libs/libXi-1.2 )
52 socialweb? ( net-libs/libsocialweb )
53
54 "
55 # <gnome-color-manager-3.1.2 has file collisions with g-c-c-3.1.x
56 # libgnomekbd needed only for gkbd-keyboard-display tool
57 RDEPEND="${COMMON_DEPEND}
58 || ( ( app-admin/openrc-settingsd sys-auth/consolekit ) >=sys-apps/systemd-31 )
59 x11-themes/gnome-icon-theme-symbolic
60 colord? ( >=gnome-extra/gnome-color-manager-3 )
61 cups? (
62 >=app-admin/system-config-printer-gnome-1.3.5
63 net-print/cups-pk-helper )
64 input_devices_wacom? ( gnome-extra/cinnamon-settings-daemon[input_devices_wacom] )
65 "
66
67 DEPEND="${COMMON_DEPEND}
68 app-text/iso-codes
69 x11-proto/xproto
70 x11-proto/xf86miscproto
71 x11-proto/kbproto
72
73 dev-libs/libxslt
74 >=dev-util/intltool-0.40.1
75 >=sys-devel/gettext-0.17
76 virtual/pkgconfig
77
78 gnome-base/gnome-common
79 "
80 # Needed for autoreconf
81 # gnome-base/gnome-common
82
83 src_prepare() {
84 # make some panels optional
85 epatch "${FILESDIR}"/${PN}-2.2.5-optional.patch
86 # fix wrong nm-applet dependency
87 epatch "${FILESDIR}"/${PN}-2.2.5-nm-applet.patch
88 epatch_user
89 eautoreconf
90 gnome2_src_prepare
91 }
92
93 src_configure() {
94 # --enable-systemd doesn't do anything in $PN-2.2.5
95 gnome2_src_configure \
96 --disable-update-mimedb \
97 --disable-static \
98 --enable-documentation \
99 $(use_enable colord color) \
100 $(use_enable cups) \
101 $(use_with socialweb libsocialweb) \
102 $(use_enable input_devices_wacom wacom)
103 }

  ViewVC Help
Powered by ViewVC 1.1.20