From d881ea38e95b0d8f9c1b3474b9411481add85c29 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Tue, 8 Nov 2016 09:02:51 +0100 Subject: [PATCH] cinnamon-screensaver: fix cross build. --- srcpkgs/cinnamon-screensaver/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/cinnamon-screensaver/template b/srcpkgs/cinnamon-screensaver/template index e84ed0dfe6..de17d372c7 100644 --- a/srcpkgs/cinnamon-screensaver/template +++ b/srcpkgs/cinnamon-screensaver/template @@ -6,7 +6,7 @@ short_desc="The Cinnamon screensaver" build_style=gnu-configure configure_args="--disable-static --disable-schemas-compile --with-mit-ext" hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection - gettext-devel glib-devel intltool" + gettext-devel glib-devel intltool python3-devel" makedepends="dbus-glib-devel libgnomekbd-devel cinnamon-desktop-devel libXxf86misc-devel pam-devel webkit2gtk-devel python3-devel" depends="cinnamon-translations desktop-file-utils hicolor-icon-theme" @@ -16,6 +16,9 @@ license="GPL-3" homepage="http://cinnamon.linuxmint.com/" distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz" checksum=8ddf75571979968083cfbc089fce46f58c9447d250174e4ef5bd22e22ce0c756 +if [ "$CROSS_BUILD" ]; then + configure_args+=" --enable-introspection=no" +fi pre_configure() { NOCONFIGURE=1 ./autogen.sh