community/gexiv2: upgrade to 0.14.1, split python

This commit is contained in:
psykose 2023-05-06 09:25:31 +00:00
parent 433684eb9a
commit 268d4f1eb8

View File

@ -2,15 +2,22 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org> # Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev> # Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gexiv2 pkgname=gexiv2
pkgver=0.14.0 pkgver=0.14.1
pkgrel=2 pkgrel=0
pkgdesc="GObject-based wrapper around the Exiv2 library" pkgdesc="GObject-based wrapper around the Exiv2 library"
url="https://wiki.gnome.org/Projects/gexiv2" url="https://wiki.gnome.org/Projects/gexiv2"
arch="all" arch="all"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
makedepends="exiv2-dev meson py3-gobject3 glib-dev gtk-doc makedepends="
gobject-introspection-dev vala" exiv2-dev
subpackages="$pkgname-dev" glib-dev
gobject-introspection-dev
gtk-doc
meson
py3-gobject3
vala
"
subpackages="py3-$pkgname-pyc py3-$pkgname:py3 $pkgname-dev"
source="https://download.gnome.org/sources/gexiv2/${pkgver%.*}/gexiv2-$pkgver.tar.xz" source="https://download.gnome.org/sources/gexiv2/${pkgver%.*}/gexiv2-$pkgver.tar.xz"
replaces="libgexiv2" replaces="libgexiv2"
@ -19,6 +26,7 @@ build() {
-Dgtk_doc=true \ -Dgtk_doc=true \
-Dintrospection=true \ -Dintrospection=true \
-Dvapi=true \ -Dvapi=true \
-Dtests="$(want_check && echo true || echo false)" \
. output . output
meson compile ${JOBS:+-j ${JOBS}} -C output meson compile ${JOBS:+-j ${JOBS}} -C output
} }
@ -29,8 +37,13 @@ check() {
package() { package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output DESTDIR="$pkgdir" meson install --no-rebuild -C output
python3 -m compileall -qf "$pkgdir"/usr/lib
}
py3() {
amove usr/lib/python*
} }
sha512sums=" sha512sums="
d745ae2d8ddcf0c8a2a7980eaa489f9b520af54242c5e4ddded9c3ae4a579c824c8cb659bd7e985ffa09f9fe37bdf73d6d9181d456711e0953b73023eb0f9f50 gexiv2-0.14.0.tar.xz f510e49c0b2633bcc370ca21af0822032f04f5d5b57c7f76807797601b0a98b7749fdf68df37a405c9d90734adf75282a3dad59c24830874f64f7bd33152052d gexiv2-0.14.1.tar.xz
" "