aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-06-08 14:28:59 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-06-11 04:58:57 +0000
commitf5f15e65aacbd6a60be0dc37446f67b2b628fd61 (patch)
treef31a0b4910e06f0fc46ab00d6610a21847dbd373
parent1be753b63d51b28f202d0651b8e8c9ffce9abf5d (diff)
downloadaports-f5f15e65aacbd6a60be0dc37446f67b2b628fd61.tar.gz
aports-f5f15e65aacbd6a60be0dc37446f67b2b628fd61.tar.bz2
aports-f5f15e65aacbd6a60be0dc37446f67b2b628fd61.tar.xz
community/gexiv2: upgrade to 0.12.0
* Adopt maintainership * Enable GIR, VAPI, PyGobject2&3 * Enable tests Closes GH-8663
-rw-r--r--community/gexiv2/APKBUILD32
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"