diff --git a/srcpkgs/spice-gtk/template b/srcpkgs/spice-gtk/template index 27a39474e8..99c3900e5e 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}"