From f604bcc7454eec84aea9a61296e2c3d870405540 Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Mon, 6 Nov 2023 07:06:02 -0800 Subject: user/gexiv2: new package --- user/gexiv2/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 user/gexiv2/APKBUILD diff --git a/user/gexiv2/APKBUILD b/user/gexiv2/APKBUILD new file mode 100644 index 000000000..70f4dd182 --- /dev/null +++ b/user/gexiv2/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Síle Ekaterin Liszka +# Maintainer: Síle Ekaterin Liszka +pkgname=gexiv2 +pkgver=0.14.2 +pkgrel=0 +pkgdesc="GObject-based Exiv2 wrapper" +url="https://gitlab.gnome.org/GNOME/gexiv2" +arch="all" +license="GPL-2.0-only" +depends="" +makedepends="meson ninja exiv2-dev glib-dev gobject-introspection-dev gtk-doc py3-pygobject vala-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="https://download.gnome.org/sources/gexiv2/0.14/gexiv2-$pkgver.tar.xz" + +build() { + meson setup \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + --wrap-mode=nofallback \ + -Dgtk_doc=true \ + . output + meson compile -C output +} + +check() { + meson test -C output +} + +package() { + DESTDIR="$pkgdir" meson install -C output +} + +sha512sums="16536be5180d5f13f549a68f5b701343a1246eca99083e43e6fc700b151614ea80696f931fcbc721b05955173e3206819b593e5b0fcd8ad4fd7d3b287d9c1441 gexiv2-0.14.2.tar.xz" -- cgit v1.2.3-70-g09d2