cinnamon-desktop: fix crossbuild.

This commit is contained in:
Enno Boland 2015-07-05 12:06:38 +02:00
parent a87d80143e
commit 2c9618b7b7
1 changed files with 8 additions and 1 deletions

View File

@ -15,6 +15,11 @@ homepage="http://cinnamon.linuxmint.com/"
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
checksum=a004790f46d1960592f9462cbf6d394d9a5c66b31bb13cc295ed8acb1135924a
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
@ -26,6 +31,8 @@ cinnamon-desktop-devel_package() {
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}