diff options
Diffstat (limited to 'community/gexiv2/APKBUILD')
-rw-r--r-- | community/gexiv2/APKBUILD | 33 |
1 files changed, 24 insertions, 9 deletions
diff --git a/community/gexiv2/APKBUILD b/community/gexiv2/APKBUILD index 677ff432658..2647d1ee2cb 100644 --- a/community/gexiv2/APKBUILD +++ b/community/gexiv2/APKBUILD @@ -1,16 +1,23 @@ # Contributor: Rasmus Thomsen <oss@cogitri.dev> # Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gexiv2 -pkgver=0.12.2 -pkgrel=1 +pkgver=0.14.2 +pkgrel=4 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" +makedepends=" + exiv2-dev + glib-dev + gobject-introspection-dev + gtk-doc + meson + py3-gobject3 + vala + " +subpackages="py3-$pkgname-pyc py3-$pkgname:py3 $pkgname-dev $pkgname-doc" source="https://download.gnome.org/sources/gexiv2/${pkgver%.*}/gexiv2-$pkgver.tar.xz" replaces="libgexiv2" @@ -19,16 +26,24 @@ build() { -Dgtk_doc=true \ -Dintrospection=true \ -Dvapi=true \ + -Dtests="$(want_check && echo true || echo false)" \ . output - meson compile ${JOBS:+-j ${JOBS}} -C output + meson compile -C output } check() { - meson test --no-rebuild -v -C output + meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output + python3 -m compileall -qf "$pkgdir"/usr/lib } -sha512sums="850bf41f6180b0fdd050ab08da6e3bbd8d25ffc25a1f48e17a1d7a65771893cc79fba9cbd6718bf1754251ac4a4754983f0ab8f006a05f8c4a15085846d001a5 gexiv2-0.12.2.tar.xz" +py3() { + amove usr/lib/python* +} + +sha512sums=" +16536be5180d5f13f549a68f5b701343a1246eca99083e43e6fc700b151614ea80696f931fcbc721b05955173e3206819b593e5b0fcd8ad4fd7d3b287d9c1441 gexiv2-0.14.2.tar.xz +" |