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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Jun 29 03:41:57 2015 UTC (4 years, 6 months ago) by tetromino
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -3 lines
Allow only system-config-printer, not system-config-printer-gnome, to help portage dep resolution (bug #553128, thanks to Marek Bartosiewicz).

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x18E5B6F2D8D5EC8D)

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-r2.ebuild,v 1.4 2015/05/12 18:44:43 pacho 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"
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 "
53 # <gnome-color-manager-3.1.2 has file collisions with g-c-c-3.1.x
54 # libgnomekbd needed only for gkbd-keyboard-display tool
55 RDEPEND="${COMMON_DEPEND}
56 || ( ( app-admin/openrc-settingsd sys-auth/consolekit ) >=sys-apps/systemd-31 )
57 x11-themes/gnome-icon-theme
58 x11-themes/gnome-icon-theme-symbolic
59 colord? ( >=gnome-extra/gnome-color-manager-3 )
60 cups? (
61 app-admin/system-config-printer
62 net-print/cups-pk-helper )
63 input_devices_wacom? ( gnome-extra/cinnamon-settings-daemon[input_devices_wacom] )
64 "
65
66 DEPEND="${COMMON_DEPEND}
67 app-text/iso-codes
68 x11-proto/xproto
69 x11-proto/xf86miscproto
70 x11-proto/kbproto
71
72 dev-libs/libxslt
73 >=dev-util/intltool-0.40.1
74 >=sys-devel/gettext-0.17
75 virtual/pkgconfig
76
77 gnome-base/gnome-common
78 "
79 # Needed for autoreconf
80 # gnome-base/gnome-common
81
82 src_prepare() {
83 # make some panels optional
84 epatch "${FILESDIR}"/${PN}-2.2.5-optional.patch
85
86 # Fix NM version checking, bug #536850
87 epatch "${FILESDIR}"/${PN}-2.4.2-networkmanager-version.patch
88
89 epatch_user
90
91 eautoreconf
92 gnome2_src_prepare
93 }
94
95 src_configure() {
96 # --enable-systemd doesn't do anything in $PN-2.2.5
97 gnome2_src_configure \
98 --disable-update-mimedb \
99 --disable-static \
100 --enable-documentation \
101 --without-libsocialweb \
102 $(use_enable colord color) \
103 $(use_enable cups) \
104 $(use_enable input_devices_wacom wacom)
105 }

  ViewVC Help
Powered by ViewVC 1.1.20