# Contributor: Rasmus Thomsen # Contributor: Natanael Copa # Maintainer: Rasmus Thomsen pkgname=gexiv2 pkgver=0.12.2 pkgrel=0 pkgdesc="GObject-based wrapper around the Exiv2 library" url="https://wiki.gnome.org/Projects/gexiv2" arch="all" license="GPL-2.0-or-later" makedepends="exiv2-dev meson py3-gobject3 glib-dev gtk-doc gobject-introspection-dev vala" subpackages="$pkgname-dev" source="https://download.gnome.org/sources/gexiv2/${pkgver%.*}/gexiv2-$pkgver.tar.xz" replaces="libgexiv2" build() { abuild-meson \ -Dgtk_doc=true \ -Dintrospection=true \ -Dvapi=true \ . output meson compile ${JOBS:+-j ${JOBS}} -C output } check() { meson test --no-rebuild -v -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums="850bf41f6180b0fdd050ab08da6e3bbd8d25ffc25a1f48e17a1d7a65771893cc79fba9cbd6718bf1754251ac4a4754983f0ab8f006a05f8c4a15085846d001a5 gexiv2-0.12.2.tar.xz"