You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.5 KiB
70 lines
1.5 KiB
6 years ago
|
# Copyright 1999-2019 Gentoo Authors
|
||
6 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=6
|
||
|
inherit meson 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"
|
||
6 years ago
|
IUSE="doc elogind ipv6 systemd"
|
||
|
REQUIRED_USE="^^ ( elogind systemd )"
|
||
6 years ago
|
|
||
|
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]
|
||
6 years ago
|
>=x11-libs/xapps-1.0.4
|
||
6 years ago
|
virtual/opengl
|
||
|
systemd? ( >=sys-apps/systemd-183
|
||
|
sys-auth/polkit )
|
||
6 years ago
|
elogind? ( sys-power/upower
|
||
6 years ago
|
sys-auth/polkit[elogind] )
|
||
|
"
|
||
|
|
||
|
RDEPEND="${COMMON_DEPEND}
|
||
|
>=gnome-extra/cinnamon-desktop-2.6[systemd=]
|
||
6 years ago
|
elogind? ( sys-auth/elogind[policykit] )
|
||
6 years ago
|
"
|
||
|
DEPEND="${COMMON_DEPEND}
|
||
|
dev-libs/libxslt
|
||
|
>=dev-util/intltool-0.40.6
|
||
|
virtual/pkgconfig
|
||
|
doc? ( app-text/xmlto )
|
||
|
|
||
|
gnome-base/gnome-common
|
||
|
"
|
||
|
|
||
|
src_prepare() {
|
||
|
eapply "${FILESDIR}/${PN}-3.8.0-elogind.patch" \
|
||
|
"${FILESDIR}/${PN}-3.8.0-elogind2.patch"
|
||
|
gnome2_src_prepare
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
meson_src_configure \
|
||
|
-Dwith-gconf=false \
|
||
|
-Dwith-docbook=$(usex doc true false) \
|
||
|
-Dwith-ipv6=$(usex ipv6 true false)
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
meson_src_install
|
||
|
}
|