summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Fiskerstrand <k_f@gentoo.org>2017-11-28 19:45:20 +0100
committerKristian Fiskerstrand <k_f@gentoo.org>2017-11-28 19:47:56 +0100
commit67b7d1e8770ba7350a088c0c154032a15f6767df (patch)
tree16a61f6904183fbb1aec08c345fea5ec4b4f92fe /gnome-extra
parentnet-print/epson-inkjet-printer-escpr: bump to 1.6.17 (diff)
downloadgentoo-67b7d1e8770ba7350a088c0c154032a15f6767df.tar.gz
gentoo-67b7d1e8770ba7350a088c0c154032a15f6767df.tar.bz2
gentoo-67b7d1e8770ba7350a088c0c154032a15f6767df.zip
gnome-extra/cinnamon-session: use upower instead of upower-pm-utils
With version 3.6 and after switch to elogind, I don't have concerns switching to upower instead of upower-pm-utils Bug: https://bugs.gentoo.org/622080 Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/cinnamon-session/cinnamon-session-3.6.1-r3.ebuild68
1 files changed, 68 insertions, 0 deletions
diff --git a/gnome-extra/cinnamon-session/cinnamon-session-3.6.1-r3.ebuild b/gnome-extra/cinnamon-session/cinnamon-session-3.6.1-r3.ebuild
new file mode 100644
index 000000000000..9e6f0e7cb09f
--- /dev/null
+++ b/gnome-extra/cinnamon-session/cinnamon-session-3.6.1-r3.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils gnome2
+
+DESCRIPTION="Cinnamon session manager"
+HOMEPAGE="http://cinnamon.linuxmint.com/"
+SRC_URI="https://github.com/linuxmint/cinnamon-session/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+ FDL-1.1+ LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc ipv6 systemd"
+
+COMMON_DEPEND="
+ >=dev-libs/dbus-glib-0.88
+ >=dev-libs/glib-2.37.3:2
+ media-libs/libcanberra
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-3:3
+ x11-libs/cairo
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXcomposite
+ x11-libs/libXext
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/pango[X]
+ virtual/opengl
+ systemd? ( >=sys-apps/systemd-183
+ sys-auth/polkit )
+ !systemd? ( sys-power/upower
+ sys-auth/polkit[elogind] )
+"
+
+RDEPEND="${COMMON_DEPEND}
+ >=gnome-extra/cinnamon-desktop-2.6[systemd=]
+ !systemd? ( sys-auth/elogind[policykit] )
+"
+DEPEND="${COMMON_DEPEND}
+ dev-libs/libxslt
+ >=dev-util/intltool-0.40.6
+ virtual/pkgconfig
+ doc? ( app-text/xmlto )
+
+ gnome-base/gnome-common
+"
+
+src_prepare() {
+ # make upower and logind check non-automagic
+ eapply "${FILESDIR}/${PN}-3.0.1-automagic.patch"
+ eapply "${FILESDIR}/${PN}-3.6.1-elogind.patch"
+
+ eautoreconf
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --disable-gconf \
+ --disable-static \
+ --enable-logind \
+ $(use_enable doc docbook-docs) \
+ $(use_enable ipv6)
+}