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.
83 lines
2.1 KiB
83 lines
2.1 KiB
10 years ago
|
# Copyright 1999-2014 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-2.2.2.ebuild,v 1.1 2014/05/06 03:08:29 tetromino Exp $
|
||
|
|
||
|
EAPI="5"
|
||
|
GNOME2_LA_PUNT="yes"
|
||
|
|
||
|
inherit autotools eutils gnome2
|
||
|
|
||
|
DESCRIPTION="Cinnamon's settings daemon"
|
||
|
HOMEPAGE="http://cinnamon.linuxmint.com/"
|
||
|
SRC_URI="https://github.com/linuxmint/cinnamon-settings-daemon/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-2+"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE="+colord cups input_devices_wacom smartcard systemd"
|
||
|
|
||
|
# udev is non-optional since lots of plugins, not just gudev, pull it in
|
||
|
RDEPEND="
|
||
|
>=dev-libs/glib-2.38:2
|
||
|
>=gnome-base/libgnomekbd-2.91.1
|
||
|
>=gnome-base/librsvg-2.36.2
|
||
|
>=gnome-extra/cinnamon-desktop-1.0:0=
|
||
|
media-libs/fontconfig
|
||
|
>=media-libs/lcms-2.2:2
|
||
|
media-libs/libcanberra:0=[gtk3]
|
||
|
>=media-sound/pulseaudio-0.9.16:0=
|
||
|
sys-apps/dbus
|
||
|
>=sys-auth/polkit-0.97
|
||
|
>=sys-power/upower-0.9.11
|
||
|
x11-libs/gdk-pixbuf:2
|
||
|
>=x11-libs/gtk+-3.7.8:3
|
||
|
>=x11-libs/libnotify-0.7.3:0=
|
||
|
x11-libs/libX11
|
||
|
x11-libs/libXext
|
||
|
x11-libs/libXfixes
|
||
|
x11-libs/libXi
|
||
|
x11-libs/libxklavier
|
||
|
virtual/udev[gudev]
|
||
|
|
||
|
colord? ( >=x11-misc/colord-0.1.9:= )
|
||
|
cups? ( >=net-print/cups-1.4[dbus] )
|
||
|
input_devices_wacom? (
|
||
|
>=dev-libs/libwacom-0.7
|
||
|
x11-drivers/xf86-input-wacom
|
||
|
x11-libs/libXtst )
|
||
|
smartcard? ( >=dev-libs/nss-3.11.2 )
|
||
|
systemd? ( sys-apps/systemd:0= )
|
||
|
!systemd? ( sys-auth/consolekit:0= )
|
||
|
"
|
||
|
DEPEND="${RDEPEND}
|
||
|
dev-libs/libxml2:2
|
||
|
>=dev-util/intltool-0.37.1
|
||
|
x11-proto/kbproto
|
||
|
virtual/pkgconfig
|
||
|
"
|
||
|
|
||
|
src_prepare() {
|
||
|
# make colord and wacom optional
|
||
|
epatch "${FILESDIR}/${PN}-2.2.2-optional.patch"
|
||
|
epatch_user
|
||
|
|
||
|
eautoreconf
|
||
|
gnome2_src_prepare
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
DOCS="AUTHORS ChangeLog MAINTAINERS README"
|
||
|
|
||
|
# no point in disabling gudev since other plugins pull it in
|
||
|
gnome2_src_configure \
|
||
|
--disable-static \
|
||
|
--enable-gudev \
|
||
|
--enable-man \
|
||
|
--enable-polkit \
|
||
|
$(use_enable colord color) \
|
||
|
$(use_enable cups) \
|
||
|
$(use_enable smartcard smartcard-support) \
|
||
|
$(use_enable systemd) \
|
||
|
$(use_enable input_devices_wacom wacom)
|
||
|
}
|