gnome-settings-daemon: fix cross build.

This commit is contained in:
Enno Boland 2015-08-30 22:08:59 +02:00
parent b5ae869b5c
commit 3eb2dbd062
1 changed files with 8 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# Template file for 'gnome-settings-daemon'
pkgname=gnome-settings-daemon
version=3.16.3
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile --enable-cups"
hostmakedepends="pkg-config intltool libxslt docbook-xsl"
hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel"
makedepends="geocode-glib-devel colord-devel libxklavier-devel
gtk+3-devel libcanberra-devel pulseaudio-devel nss-devel libnotify-devel
startup-notification-devel gnome-desktop-devel libgnomekbd-devel
@ -19,6 +19,12 @@ license="GPL-3"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=8752f79ba2ee76701744b4806140d1b88c665ad7cd44e7ff58b4e78e1063daea
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"