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

36 lines
1.2 KiB
Bash

# Template file for 'gnome-settings-daemon'
pkgname=gnome-settings-daemon
version=3.28.0
revision=1
build_style=meson
hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel itstool"
makedepends="colord-devel libxklavier-devel alsa-lib-devel
gtk+3-devel libcanberra-devel pulseaudio-devel nss-devel libnotify-devel
startup-notification-devel gnome-desktop-devel libgnomekbd-devel
xf86-input-wacom-devel libwacom-devel librsvg-devel
ibus-devel cups-devel libgudev-devel upower-devel polkit-devel
libgweather-devel geoclue2-devel NetworkManager-devel
gsettings-desktop-schemas-devel"
depends="pulseaudio hicolor-icon-theme"
short_desc="GNOME settings daemon"
maintainer="Enno Boland <gottox@voidlinux.eu>"
homepage="http://www.gnome.org"
license="GPL-3"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=de3eeef55c8736cbb8c25fcda2e861879a3b612931758fe1387f61a288636cdc
pre_configure() {
# XXX workaround wrong paths for build
if [ "$CROSS_BUILD" ]; then
sed -i "s#^GEOCLUE_DBUS_INTERFACE_XML=#\0${XBPS_CROSS_BASE}#" configure
fi
}
gnome-settings-daemon-devel_package() {
depends="libglib-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}