libgexiv2: enable gir
This commit is contained in:
parent
41187d4a49
commit
88abaa8e03
|
@ -1,13 +1,14 @@
|
||||||
# Template file for 'libgexiv2'
|
# Template file for 'libgexiv2'
|
||||||
pkgname=libgexiv2
|
pkgname=libgexiv2
|
||||||
version=0.10.10
|
version=0.10.10
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname/lib/}-${version}"
|
wrksrc="${pkgname/lib/}-${version}"
|
||||||
build_style=meson
|
build_style=meson
|
||||||
|
build_helper="gir"
|
||||||
configure_args="-Ddisable-introspection=$(vopt_if gir false true)
|
configure_args="-Ddisable-introspection=$(vopt_if gir false true)
|
||||||
-Ddisable-vala=$(vopt_if vala false true) -Denable-gtk-doc=false"
|
-Ddisable-vala=$(vopt_if vala false true) -Denable-gtk-doc=false"
|
||||||
hostmakedepends="pkg-config glib-devel $(vopt_if gir 'gobject-introspection')"
|
hostmakedepends="pkg-config glib-devel $(vopt_if vala 'vala')"
|
||||||
makedepends="libglib-devel exiv2-devel $(vopt_if gir 'vala-devel')"
|
makedepends="libglib-devel exiv2-devel"
|
||||||
short_desc="GObject-based wrapper around the Exiv2 library"
|
short_desc="GObject-based wrapper around the Exiv2 library"
|
||||||
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
|
@ -16,9 +17,12 @@ distfiles="${GNOME_SITE}/gexiv2/${version%.*}/${pkgname/lib/}-${version}.tar.xz"
|
||||||
checksum=7d9ad7147ab51ab691edf043c44a0a44de4088c48a12d9c23c26939710e66ce1
|
checksum=7d9ad7147ab51ab691edf043c44a0a44de4088c48a12d9c23c26939710e66ce1
|
||||||
|
|
||||||
build_options="gir vala"
|
build_options="gir vala"
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
|
||||||
build_options_default="gir vala"
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
fi
|
x86_64-musl) build_options_default+=" gir vala" ;;
|
||||||
|
*-musl) ;;
|
||||||
|
*) build_options_default+=" gir vala" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
libgexiv2-devel_package() {
|
libgexiv2-devel_package() {
|
||||||
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
||||||
|
|
Loading…
Reference in New Issue