From e0869ceec9ce3946de734160fff0a479e2a889ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 6 Oct 2015 21:20:50 +0200 Subject: [PATCH] spice-gtk: fix wrong path for spice.proto --- srcpkgs/spice-gtk/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/spice-gtk/template b/srcpkgs/spice-gtk/template index 27a39474e83..99c3900e5e8 100644 --- a/srcpkgs/spice-gtk/template +++ b/srcpkgs/spice-gtk/template @@ -19,7 +19,6 @@ short_desc="GTK+ SPICE widget" maintainer="Juan RP " distfiles="http://spice-space.org/download/gtk/${pkgname}-${version}.tar.bz2" checksum=e23323fa399efba17b3c18475ef10a29815851be5e7dbedd246b28ee8eb1379c -nocross=yes build_options="gir" if [ -z "$CROSS_BUILD" ]; then @@ -30,6 +29,10 @@ pre_configure() { touch aclocal.m4 config.h.in Makefile.in libtoolize -f } +post_configure() { + # Fix wrong path /usr/lib32 when looking for spice.proto + find ${wrksrc} -name Makefile -exec sed -i "{}" -e "s;lib32/spice;lib/spice;g" \; +} spice-gtk-devel_package() { depends="gtk+3-devel pixman-devel libressl-devel ${sourcepkg}-${version}_${revision}"