diff --git a/srcpkgs/libostree/template b/srcpkgs/libostree/template index fc27bc06d5e..da3d8805586 100644 --- a/srcpkgs/libostree/template +++ b/srcpkgs/libostree/template @@ -1,12 +1,13 @@ # Template file for 'libostree' pkgname=libostree -version=2018.8 -revision=3 +version=2018.9 +revision=1 build_style=gnu-configure -configure_args="--with-builtin-grub2-mkconfig --with-openssl" +configure_args="--with-builtin-grub2-mkconfig --with-openssl + $(vopt_enable gir introspection)" hostmakedepends="bison docbook-xsl glib-devel libxslt pkg-config" makedepends="e2fsprogs-devel fuse-devel glib-devel gpgme-devel libarchive-devel - libsoup-devel" + libsoup-devel $(vopt_if gir 'gobject-introspection')" checkdepends="attr-progs cpio elfutils python3-yaml" short_desc="Operating system and container binary deployment and upgrades" maintainer="Duncaen " @@ -14,7 +15,12 @@ license="LGPL-2.0-or-later" homepage="https://ostree.readthedocs.io/en/latest/" changelog="https://github.com/ostreedev/ostree/releases" distfiles="https://github.com/ostreedev/ostree/releases/download/v${version}/libostree-${version}.tar.xz" -checksum=beef6debb0065bf1dc7538cd036c5f0348ac102ca4ad6d8651feff146130a844 +checksum=9a3c17af133e6d381bb997473c6371ef8f048c1cfb6bd0acdb5662ede712aa5a + +build_options="gir" +if [ -z "$CROSS_BUILD" ]; then + build_options_default="gir" +fi post_install() { vinstall bash/ostree 644 usr/share/bash-completion/completions @@ -27,5 +33,8 @@ libostree-devel_package() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.so" + if [ "$build_option_gir" ]; then + vmove usr/share/gir-1.0 + fi } }