cinnamon-desktop: fix crossbuild.
This commit is contained in:
parent
a87d80143e
commit
2c9618b7b7
1 changed files with 8 additions and 1 deletions
|
@ -15,6 +15,11 @@ homepage="http://cinnamon.linuxmint.com/"
|
||||||
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
|
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
|
||||||
checksum=a004790f46d1960592f9462cbf6d394d9a5c66b31bb13cc295ed8acb1135924a
|
checksum=a004790f46d1960592f9462cbf6d394d9a5c66b31bb13cc295ed8acb1135924a
|
||||||
|
|
||||||
|
build_options="gir"
|
||||||
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
build_options_default="gir"
|
||||||
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
}
|
}
|
||||||
|
@ -26,6 +31,8 @@ cinnamon-desktop-devel_package() {
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove usr/share/gir-1.0
|
if [ "$build_option_gir" ]; then
|
||||||
|
vmove usr/share/gir-1.0
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue