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

Contents of /gnome-extra/cinnamon-control-center/cinnamon-control-center-2.4.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Mar 22 12:51:41 2015 UTC (4 years, 10 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
drop old

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

1 # Copyright 1999-2015 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.4.2-r1.ebuild,v 1.2 2015/01/17 22:43:05 ulm 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-0.7
38 >=net-misc/networkmanager-0.9.8[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
60 x11-themes/gnome-icon-theme-symbolic
61 colord? ( >=gnome-extra/gnome-color-manager-3 )
62 cups? (
63 >=app-admin/system-config-printer-gnome-1.3.5
64 net-print/cups-pk-helper )
65 input_devices_wacom? ( gnome-extra/cinnamon-settings-daemon[input_devices_wacom] )
66 "
67
68 DEPEND="${COMMON_DEPEND}
69 app-text/iso-codes
70 x11-proto/xproto
71 x11-proto/xf86miscproto
72 x11-proto/kbproto
73
74 dev-libs/libxslt
75 >=dev-util/intltool-0.40.1
76 >=sys-devel/gettext-0.17
77 virtual/pkgconfig
78
79 gnome-base/gnome-common
80 "
81 # Needed for autoreconf
82 # gnome-base/gnome-common
83
84 src_prepare() {
85 # make some panels optional
86 epatch "${FILESDIR}"/${PN}-2.2.5-optional.patch
87
88 # Fix NM version checking, bug #536850
89 epatch "${FILESDIR}"/${PN}-2.4.2-networkmanager-version.patch
90
91 epatch_user
92
93 eautoreconf
94 gnome2_src_prepare
95 }
96
97 src_configure() {
98 # --enable-systemd doesn't do anything in $PN-2.2.5
99 gnome2_src_configure \
100 --disable-update-mimedb \
101 --disable-static \
102 --enable-documentation \
103 $(use_enable colord color) \
104 $(use_enable cups) \
105 $(use_with socialweb libsocialweb) \
106 $(use_enable input_devices_wacom wacom)
107 }

  ViewVC Help
Powered by ViewVC 1.1.20