libgsf: needs (may need) automake

Also remove build option gir and always enable introspection.
This commit is contained in:
Jürgen Buchmüller 2020-12-29 18:00:11 +01:00
parent bd4351aace
commit b1143ad99d

View file

@ -4,9 +4,8 @@ version=1.14.47
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static $(vopt_enable gir introspection)"
hostmakedepends="glib-devel intltool pkg-config
$(vopt_if gir 'gobject-introspection')"
configure_args="--disable-static --enable-introspection"
hostmakedepends="automake glib-devel intltool pkg-config"
makedepends="gdk-pixbuf-devel libxml2-devel"
checkdepends="perl-XML-Parser unzip"
short_desc="Structured File Library"
@ -16,10 +15,6 @@ homepage="https://www.gnome.org/"
distfiles="${GNOME_SITE}/libgsf/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=d188ebd3787b5375a8fd38ee6f761a2007de5e98fa0cf5623f271daa67ba774d
# Package build options
build_options="gir"
build_options_default="gir"
libgsf-devel_package() {
depends="libglib-devel libxml2-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
@ -28,8 +23,6 @@ libgsf-devel_package() {
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove usr/share/gir-1.0
}
}