spice-gtk: fix wrong path for spice.proto

This commit is contained in:
Jürgen Buchmüller 2015-10-06 21:20:50 +02:00
parent cadf83a055
commit e0869ceec9
1 changed files with 4 additions and 1 deletions

View File

@ -19,7 +19,6 @@ short_desc="GTK+ SPICE widget"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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}"