Gentoo Archives: gentoo-commits

From: Kristian Fiskerstrand <k_f@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/cinnamon-settings-daemon/
Date: Tue, 28 Nov 2017 20:00:15
Message-Id: 1511899176.7d7c516bbf527767b3f529d2a7df35c38feb9c1a.k_f@gentoo
1 commit: 7d7c516bbf527767b3f529d2a7df35c38feb9c1a
2 Author: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 28 19:55:52 2017 +0000
4 Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 28 19:59:36 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d7c516b
7
8 gnome-extra/cinnamon-settings-daemon: Remove optional dep on upower-pm-utils
9
10 Package-Manager: Portage-2.3.13, Repoman-2.3.3
11
12 .../cinnamon-settings-daemon-3.6.1-r1.ebuild | 85 ++++++++++++++++++++++
13 1 file changed, 85 insertions(+)
14
15 diff --git a/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-3.6.1-r1.ebuild b/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-3.6.1-r1.ebuild
16 new file mode 100644
17 index 00000000000..d0037fe9aaf
18 --- /dev/null
19 +++ b/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-3.6.1-r1.ebuild
20 @@ -0,0 +1,85 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +GNOME2_LA_PUNT="yes"
26 +
27 +inherit autotools eutils gnome2 virtualx
28 +
29 +DESCRIPTION="Cinnamon's settings daemon"
30 +HOMEPAGE="http://cinnamon.linuxmint.com/"
31 +SRC_URI="https://github.com/linuxmint/cinnamon-settings-daemon/archive/${PV}.tar.gz -> ${P}.tar.gz"
32 +
33 +LICENSE="GPL-2+"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~x86"
36 +IUSE="+colord cups input_devices_wacom smartcard systemd"
37 +RESTRICT=test
38 +
39 +# udev is non-optional since lots of plugins, not just gudev, pull it in
40 +RDEPEND="
41 + >=dev-libs/glib-2.38:2
42 + >=gnome-base/libgnomekbd-3.6
43 + >=gnome-base/librsvg-2.36.2
44 + >=gnome-extra/cinnamon-desktop-2.8.0:0=
45 + media-libs/fontconfig
46 + >=media-libs/lcms-2.2:2
47 + media-libs/libcanberra:0=[gtk3]
48 + sys-apps/dbus
49 + >=sys-auth/polkit-0.97
50 + x11-libs/gdk-pixbuf:2
51 + >=x11-libs/gtk+-3.9.10:3
52 + >=x11-libs/libnotify-0.7.3:0=
53 + x11-libs/libX11
54 + x11-libs/libXext
55 + x11-libs/libXfixes
56 + x11-libs/libXi
57 + x11-libs/libxklavier
58 + virtual/libgudev:=
59 + >=sys-power/upower-0.9.11
60 +
61 + colord? ( >=x11-misc/colord-0.1.27:= )
62 + cups? ( >=net-print/cups-1.4[dbus] )
63 + input_devices_wacom? (
64 + >=dev-libs/libwacom-0.7
65 + x11-drivers/xf86-input-wacom
66 + x11-libs/libXtst )
67 + smartcard? ( >=dev-libs/nss-3.11.2 )
68 + systemd? ( sys-apps/systemd:0= )
69 + !systemd? ( sys-auth/elogind:0= )
70 +"
71 +DEPEND="${RDEPEND}
72 + dev-libs/libxml2:2
73 + >=dev-util/intltool-0.37.1
74 + x11-proto/kbproto
75 + virtual/pkgconfig
76 +"
77 +
78 +src_prepare() {
79 + # make colord and wacom optional
80 + eapply "${FILESDIR}"/${PN}-3.0.1-optional.patch
81 +
82 + # Disable broken test
83 + sed -e '/g_test_add_func ("\/color\/edid/d' \
84 + -i plugins/color/gcm-self-test.c || die
85 +
86 + eautoreconf
87 + gnome2_src_prepare
88 +}
89 +
90 +src_configure() {
91 + # no point in disabling gudev since other plugins pull it in
92 + gnome2_src_configure \
93 + --disable-static \
94 + --enable-gudev \
95 + --enable-polkit \
96 + --enable-logind \
97 + $(use_enable colord color) \
98 + $(use_enable cups) \
99 + $(use_enable smartcard smartcard-support) \
100 + $(use_enable input_devices_wacom wacom)
101 +}
102 +
103 +src_test() {
104 + virtx emake check
105 +}