diff --git a/srcpkgs/cinnamon-desktop/template b/srcpkgs/cinnamon-desktop/template index 08ac8c202d3..aceb2ceda96 100644 --- a/srcpkgs/cinnamon-desktop/template +++ b/srcpkgs/cinnamon-desktop/template @@ -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 } }