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.
94 lines
2.2 KiB
94 lines
2.2 KiB
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
|
inherit meson gnome2-utils xdg
|
||
|
|
||
|
DESCRIPTION="Cinnamon's settings daemon"
|
||
|
HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-settings-daemon"
|
||
|
SRC_URI="https://github.com/linuxmint/cinnamon-settings-daemon/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-2+"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||
|
IUSE="+colord cups input_devices_wacom smartcard systemd"
|
||
|
|
||
|
RDEPEND="
|
||
|
>=dev-libs/glib-2.40.0:2
|
||
|
dev-libs/libgudev:=
|
||
|
>=gnome-base/libgnomekbd-3.6
|
||
|
>=gnome-extra/cinnamon-desktop-4.8:0=
|
||
|
media-libs/fontconfig
|
||
|
>=media-libs/lcms-2.2:2
|
||
|
media-libs/libcanberra:0=[gtk3,pulseaudio]
|
||
|
>=media-sound/pulseaudio-0.9.16[glib]
|
||
|
>=sys-apps/dbus-1.1.2
|
||
|
dev-libs/dbus-glib
|
||
|
>=sys-auth/polkit-0.97
|
||
|
x11-libs/gdk-pixbuf:2
|
||
|
>=x11-libs/gtk+-3.14.0:3
|
||
|
>=x11-libs/libnotify-0.7.3:0=
|
||
|
x11-libs/libX11
|
||
|
x11-libs/libXext
|
||
|
x11-libs/libXfixes
|
||
|
x11-libs/libXi
|
||
|
>=x11-libs/libxklavier-5.0
|
||
|
>=sys-power/upower-0.9.11
|
||
|
|
||
|
colord? ( >=x11-misc/colord-0.1.27:= )
|
||
|
cups? (
|
||
|
>=net-print/cups-1.4[dbus]
|
||
|
app-admin/system-config-printer
|
||
|
net-print/cups-pk-helper )
|
||
|
input_devices_wacom? (
|
||
|
>=dev-libs/libwacom-0.7
|
||
|
>=gnome-base/librsvg-2.36.2
|
||
|
x11-drivers/xf86-input-wacom
|
||
|
x11-libs/libXtst )
|
||
|
smartcard? ( >=dev-libs/nss-3.11.2 )
|
||
|
systemd? ( sys-apps/systemd:0= )
|
||
|
!systemd? ( sys-auth/elogind:0= )
|
||
|
"
|
||
|
DEPEND="
|
||
|
${RDEPEND}
|
||
|
dev-libs/libxml2:2
|
||
|
x11-base/xorg-proto
|
||
|
"
|
||
|
BDEPEND="
|
||
|
dev-util/glib-utils
|
||
|
dev-util/gdbus-codegen
|
||
|
>=dev-util/intltool-0.37.1
|
||
|
virtual/pkgconfig
|
||
|
"
|
||
|
|
||
|
PATCHES=(
|
||
|
# Miscellaneous meson configuration/compilation fixes
|
||
|
# https://github.com/linuxmint/cinnamon-settings-daemon/pull/314
|
||
|
"${FILESDIR}/${PN}-4.8.5-build-fixes.patch"
|
||
|
)
|
||
|
|
||
|
src_configure() {
|
||
|
# gudev not optional on Linux platforms
|
||
|
local emesonargs=(
|
||
|
-Duse_gudev=enabled
|
||
|
-Duse_polkit=enabled
|
||
|
-Duse_logind=enabled
|
||
|
$(meson_feature colord use_color)
|
||
|
$(meson_feature cups use_cups)
|
||
|
$(meson_feature smartcard use_smartcard)
|
||
|
$(meson_feature input_devices_wacom use_wacom)
|
||
|
)
|
||
|
meson_src_configure
|
||
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
xdg_pkg_postinst
|
||
|
gnome2_schemas_update
|
||
|
}
|
||
|
|
||
|
pkg_postrm() {
|
||
|
xdg_pkg_postrm
|
||
|
gnome2_schemas_update
|
||
|
}
|