diff options
Diffstat (limited to 'community/gexiv2/APKBUILD')
-rw-r--r-- | community/gexiv2/APKBUILD | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/community/gexiv2/APKBUILD b/community/gexiv2/APKBUILD index bf09449f22..c3afa19aed 100644 --- a/community/gexiv2/APKBUILD +++ b/community/gexiv2/APKBUILD @@ -1,31 +1,39 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> # Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> pkgname=gexiv2 -pkgver=0.10.8 -pkgrel=1 +pkgver=0.12.0 +pkgrel=0 pkgdesc="a 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 glib-dev libtool m4 sed" +makedepends="exiv2-dev meson py-gobject3 py-gobject 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() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ + meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --disable-introspection - make + --localstatedir=/var \ + --buildtype=release \ + -Dgtk_doc=true \ + -Dintrospection=true \ + -Dvapi=true \ + . output + ninja -C output +} + +check() { + ninja -C output test } package() { - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" ninja -C output install } -sha512sums="4c25cf6884495151947a70e62a096f3279223673bece4d4ff02720b2820aaad9e80c8715e02bf46c3f5598f582fdf07b4b3ddabd017d53001245e3381a4cc286 gexiv2-0.10.8.tar.xz" +sha512sums="c89e7d307359c718dff1f3991acb4ece66bce985a3d8bee1c8fccf4ce39187af62684c87eaae9b0425a6fdbf147b7330902041d9588e52a4bad1da4255d245e9 gexiv2-0.12.0.tar.xz" |