void-packages/srcpkgs/gnome-settings-daemon/template

39 lines
1.3 KiB
Bash

# Template file for 'gnome-settings-daemon'
pkgname=gnome-settings-daemon
version=3.30.1.2
revision=1
build_style=meson
hostmakedepends="docbook-xsl glib-devel libglib-devel libxslt perl pkg-config"
makedepends="NetworkManager-devel alsa-lib-devel colord-devel cups-devel
geoclue2-devel gnome-desktop-devel ibus-devel libcanberra-devel libgnomekbd-devel
libgweather-devel libnotify-devel librsvg-devel libwacom-devel nss-devel
polkit-devel pulseaudio-devel startup-notification-devel upower-devel
xf86-input-wacom-devel"
depends="hicolor-icon-theme pulseaudio"
checkdepends="elogind libnotify python3-dbusmock python3-gobject
python3-pycodestyle"
short_desc="GNOME settings daemon"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-3.0-or-later"
homepage="https://gitlab.gnome.org/GNOME/gnome-settings-daemon"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*.*}/${pkgname}-${version}.tar.xz"
checksum=5cdcf64f6e41fe1816e719850709e8e7a53a11460955f2be77fcee9c80812d1d
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" polkit"
fi
post_extract() {
# drop flaky test
sed "/test(/d" -i plugins/color/meson.build
}
gnome-settings-daemon-devel_package() {
depends="libglib-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}