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-session/
Date: Tue, 28 Nov 2017 18:37:22
Message-Id: 1511894226.e69615d889003f20e0d63af47567a2c9f978c6a6.k_f@gentoo
1 commit: e69615d889003f20e0d63af47567a2c9f978c6a6
2 Author: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 28 18:36:40 2017 +0000
4 Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 28 18:37:06 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e69615d8
7
8 gnome-extra/cinnamon-session: Add more deps for elogind
9
10 Bug: https://bugs.gentoo.org/639074
11 Package-Manager: Portage-2.3.13, Repoman-2.3.3
12
13 .../cinnamon-session-3.6.1-r2.ebuild | 68 ++++++++++++++++++++++
14 1 file changed, 68 insertions(+)
15
16 diff --git a/gnome-extra/cinnamon-session/cinnamon-session-3.6.1-r2.ebuild b/gnome-extra/cinnamon-session/cinnamon-session-3.6.1-r2.ebuild
17 new file mode 100644
18 index 00000000000..19e69122266
19 --- /dev/null
20 +++ b/gnome-extra/cinnamon-session/cinnamon-session-3.6.1-r2.ebuild
21 @@ -0,0 +1,68 @@
22 +# Copyright 1999-2017 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=6
26 +inherit autotools eutils gnome2
27 +
28 +DESCRIPTION="Cinnamon session manager"
29 +HOMEPAGE="http://cinnamon.linuxmint.com/"
30 +SRC_URI="https://github.com/linuxmint/cinnamon-session/archive/${PV}.tar.gz -> ${P}.tar.gz"
31 +
32 +LICENSE="GPL-2+ FDL-1.1+ LGPL-2+"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~x86"
35 +IUSE="doc ipv6 systemd"
36 +
37 +COMMON_DEPEND="
38 + >=dev-libs/dbus-glib-0.88
39 + >=dev-libs/glib-2.37.3:2
40 + media-libs/libcanberra
41 + x11-libs/gdk-pixbuf:2
42 + >=x11-libs/gtk+-3:3
43 + x11-libs/cairo
44 + x11-libs/libICE
45 + x11-libs/libSM
46 + x11-libs/libX11
47 + x11-libs/libXau
48 + x11-libs/libXcomposite
49 + x11-libs/libXext
50 + x11-libs/libXrender
51 + x11-libs/libXtst
52 + x11-libs/pango[X]
53 + virtual/opengl
54 + systemd? ( >=sys-apps/systemd-183
55 + sys-auth/polkit )
56 + !systemd? ( >=sys-power/upower-pm-utils-0.9.23
57 + sys-auth/polkit[elogind] )
58 +
59 +"
60 +RDEPEND="${COMMON_DEPEND}
61 + >=gnome-extra/cinnamon-desktop-2.6[systemd=]
62 + !systemd? ( sys-auth/elogind[policykit] )
63 +"
64 +DEPEND="${COMMON_DEPEND}
65 + dev-libs/libxslt
66 + >=dev-util/intltool-0.40.6
67 + virtual/pkgconfig
68 + doc? ( app-text/xmlto )
69 +
70 + gnome-base/gnome-common
71 +"
72 +
73 +src_prepare() {
74 + # make upower and logind check non-automagic
75 + eapply "${FILESDIR}/${PN}-3.0.1-automagic.patch"
76 + eapply "${FILESDIR}/${PN}-3.6.1-elogind.patch"
77 +
78 + eautoreconf
79 + gnome2_src_prepare
80 +}
81 +
82 +src_configure() {
83 + gnome2_src_configure \
84 + --disable-gconf \
85 + --disable-static \
86 + --enable-logind \
87 + $(use_enable doc docbook-docs) \
88 + $(use_enable ipv6)
89 +}