diff --git a/srcpkgs/libgexiv2/template b/srcpkgs/libgexiv2/template index 13e219ae7d0..4a4131b67db 100644 --- a/srcpkgs/libgexiv2/template +++ b/srcpkgs/libgexiv2/template @@ -1,23 +1,23 @@ # Template file for 'libgexiv2' pkgname=libgexiv2 -version=0.10.8 -revision=2 +version=0.10.9 +revision=1 wrksrc="${pkgname/lib/}-${version}" -build_style=gnu-configure -configure_args="$(vopt_if gir '--enable-introspection --enable-vala')" -hostmakedepends="pkg-config glib-devel gtk-doc - $(vopt_if gir 'gobject-introspection vala-devel')" -makedepends="libglib-devel exiv2-devel" +build_style=meson +configure_args="-Ddisable-introspection=$(vopt_if gir false true) + -Ddisable-vala=$(vopt_if vala false true) -Denable-gtk-doc=false" +hostmakedepends="pkg-config glib-devel $(vopt_if gir 'gobject-introspection')" +makedepends="libglib-devel exiv2-devel $(vopt_if gir 'vala-devel')" short_desc="GObject-based wrapper around the Exiv2 library" maintainer="Juan RP " -license="GPL-2" +license="GPL-2.0-or-later" homepage="https://wiki.gnome.org/Projects/gexiv2" distfiles="${GNOME_SITE}/gexiv2/${version%.*}/${pkgname/lib/}-${version}.tar.xz" -checksum=81c528fd1e5e03577acd80fb77798223945f043fd1d4e06920c71202eea90801 +checksum=8806234aa6fd1c345d46bf07a14e82771415071ca5ff63615b1ea62bd2fec0ed -build_options="gir" +build_options="gir vala" if [ -z "$CROSS_BUILD" ]; then - build_options_default="gir" + build_options_default="gir vala" fi libgexiv2-devel_package() { @@ -27,8 +27,7 @@ libgexiv2-devel_package() { vmove usr/include vmove usr/lib/*.so vmove usr/lib/pkgconfig - vmove usr/share/gtk-doc - if [ -z "$CROSS_BUILD" ]; then + if [ "$build_option_vala" ]; then vmove usr/share/vala fi if [ "$build_option_gir" ]; then