Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/cinnamon-settings-daemon/
Date: Wed, 09 Sep 2020 02:15:54
Message-Id: 1599617700.efdfc2451ae7221961231d722c33c7e07124e331.sam@gentoo
1 commit: efdfc2451ae7221961231d722c33c7e07124e331
2 Author: Matthew S. Turnbull <sparky <AT> bluefang-logic <DOT> com>
3 AuthorDate: Wed Jul 29 16:09:51 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 9 02:15:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efdfc245
7
8 gnome-extra/cinnamon-settings-daemon: 4.6.4 version bump
9
10 Switch to EAPI=7. Drop upstreamed patches.
11
12 Bug: https://bugs.gentoo.org/733544
13 Package-Manager: Portage-2.3.103, Repoman-2.3.23
14 Signed-off-by: Matthew S. Turnbull <sparky <AT> bluefang-logic.com>
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 gnome-extra/cinnamon-settings-daemon/Manifest | 1 +
18 .../cinnamon-settings-daemon-4.6.4.ebuild | 112 +++++++++++++++++++++
19 2 files changed, 113 insertions(+)
20
21 diff --git a/gnome-extra/cinnamon-settings-daemon/Manifest b/gnome-extra/cinnamon-settings-daemon/Manifest
22 index fe071f64de0..1b1c7374faa 100644
23 --- a/gnome-extra/cinnamon-settings-daemon/Manifest
24 +++ b/gnome-extra/cinnamon-settings-daemon/Manifest
25 @@ -1 +1,2 @@
26 DIST cinnamon-settings-daemon-4.4.0.tar.gz 665615 BLAKE2B ef0666864a4735ff32d57a584004176c74d0f0ad4b077d3439e135c1d24c8d0606221a1b1693a0189972b462055478680b03917a6acfcdfdc80649f7ee0fc224 SHA512 dc4b0c570b345577bd20e85b44f4c99c3e3c88a2c2aea7c928e1fae931dc4dc07c6dd64c5917661434d35e3ae606c8189c3f77e0658925b5cc6ba2dc1885cb81
27 +DIST cinnamon-settings-daemon-4.6.4.tar.gz 668339 BLAKE2B 80e14d29a74004c1778e90d39c6ca892d3eee778134e43b8ea77cfec8cbad4f5ac21609cfbb9cdaab0b4d35b42e897223a5b9cdfd43de49d8112b8bc6fc45914 SHA512 77ddb637fd93fdfd59fb27c5a10082259fd99b4753ff36b3473db12f2fe0d19ee89d44c9e72f1ce9eab3f228c5fef418ce774dd78746d77b959ad9d8f93c1208
28
29 diff --git a/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-4.6.4.ebuild b/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-4.6.4.ebuild
30 new file mode 100644
31 index 00000000000..f0c387f938c
32 --- /dev/null
33 +++ b/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-4.6.4.ebuild
34 @@ -0,0 +1,112 @@
35 +# Copyright 1999-2020 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +inherit autotools eutils gnome2-utils virtualx xdg
40 +
41 +DESCRIPTION="Cinnamon's settings daemon"
42 +HOMEPAGE="https://projects.linuxmint.com/cinnamon/"
43 +SRC_URI="https://github.com/linuxmint/cinnamon-settings-daemon/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="GPL-2+"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="+colord cups input_devices_wacom smartcard systemd"
49 +RESTRICT="test"
50 +
51 +# udev is non-optional since lots of plugins, not just gudev, pull it in
52 +RDEPEND="
53 + >=dev-libs/glib-2.38:2
54 + dev-libs/libgudev:=
55 + >=gnome-base/libgnomekbd-3.6
56 + >=gnome-extra/cinnamon-desktop-4.6:0=
57 + media-libs/fontconfig
58 + >=media-libs/lcms-2.2:2
59 + media-libs/libcanberra:0=[gtk3]
60 + >=sys-apps/dbus-1.1.2
61 + >=sys-auth/polkit-0.97
62 + x11-libs/gdk-pixbuf:2
63 + >=x11-libs/gtk+-3.9.10:3
64 + >=x11-libs/libnotify-0.7.3:0=
65 + x11-libs/libX11
66 + x11-libs/libXext
67 + x11-libs/libXfixes
68 + x11-libs/libXi
69 + >=x11-libs/libxklavier-5.0
70 + >=sys-power/upower-0.9.11
71 +
72 + colord? ( >=x11-misc/colord-0.1.27:= )
73 + cups? (
74 + >=net-print/cups-1.4[dbus]
75 + app-admin/system-config-printer
76 + net-print/cups-pk-helper )
77 + input_devices_wacom? (
78 + >=dev-libs/libwacom-0.7
79 + >=gnome-base/librsvg-2.36.2
80 + x11-drivers/xf86-input-wacom
81 + x11-libs/libXtst )
82 + smartcard? ( >=dev-libs/nss-3.11.2 )
83 + systemd? ( sys-apps/systemd:0= )
84 + !systemd? ( sys-auth/elogind:0= )
85 +"
86 +DEPEND="${RDEPEND}
87 + dev-libs/libxml2:2
88 + x11-base/xorg-proto
89 +"
90 +BDEPEND="
91 + dev-util/gdbus-codegen
92 + >=dev-util/intltool-0.37.1
93 + virtual/pkgconfig
94 +"
95 +
96 +PATCHES=(
97 + # Make account-services optional
98 + "${FILESDIR}"/${PN}-3.8.0-accountservice.patch
99 +)
100 +
101 +src_prepare() {
102 + xdg_src_prepare
103 + eautoreconf
104 + gnome2_disable_deprecation_warning
105 +
106 + # Disable broken test
107 + sed -e '/g_test_add_func ("\/color\/edid/d' \
108 + -i plugins/color/gcm-self-test.c || die
109 +}
110 +
111 +src_configure() {
112 + # no point in disabling gudev since other plugins pull it in
113 + econf \
114 + --disable-maintainer-mode \
115 + --disable-schemas-compile \
116 + --enable-compile-warnings=minimum \
117 + --disable-static \
118 + --enable-gudev \
119 + --enable-polkit \
120 + --enable-logind \
121 + --disable-accountservice \
122 + $(use_enable colord color) \
123 + $(use_enable cups) \
124 + $(use_enable smartcard smartcard-support) \
125 + $(use_enable input_devices_wacom wacom)
126 +}
127 +
128 +src_test() {
129 + virtx emake check
130 +}
131 +
132 +src_install() {
133 + default
134 + find "${D}" -name '*.la' -delete || die
135 + dodoc MAINTAINERS
136 +}
137 +
138 +pkg_postinst() {
139 + xdg_pkg_postinst
140 + gnome2_schemas_update
141 +}
142 +
143 +pkg_postrm() {
144 + xdg_pkg_postrm
145 + gnome2_schemas_update
146 +}