Skip to content
Snippets Groups Projects
Commit 5a4116dc authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

0.10.7-1

parent 8196d164
No related branches found
No related tags found
No related merge requests found
......@@ -2,37 +2,40 @@
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgname=libgexiv2
pkgver=0.10.6
pkgrel=2
pkgdesc='GObject-based wrapper around the Exiv2 library'
url='https://wiki.gnome.org/Projects/gexiv2'
arch=('x86_64')
license=('GPL2')
depends=('exiv2' 'glib2')
makedepends=('python-gobject' 'python2-gobject' 'gobject-introspection' 'setconf' 'vala')
source=("https://download.gnome.org/sources/${pkgname/lib/}/${pkgver%.*}/${pkgname/lib/}-$pkgver.tar.xz")
sha256sums=('132788919667254b42c026ab39ab3c3a5be59be8575c05fa4b371ca8aed55825')
pkgver=0.10.7
pkgrel=1
pkgdesc="GObject-based wrapper around the Exiv2 library"
url="https://wiki.gnome.org/Projects/gexiv2"
arch=(x86_64)
license=(GPL2)
depends=(exiv2 glib2)
makedepends=(python-gobject python2-gobject gobject-introspection vala git meson)
_commit=574141b66c269b34237275591f3bd5fa1ee16184 # tags/gexiv2-0.10.7^0
source=("git+https://git.gnome.org/browse/gexiv2#commit=$_commit")
sha256sums=('SKIP')
prepare() {
cd "${pkgname/lib/}-$pkgver"
pkgver() {
cd gexiv2
git describe --tags | sed 's/^gexiv2-//;s/-/+/g'
}
# fix FS#51673
setconf Makefile.am typelibdir '$(libdir)/girepository-1.0'
autoreconf -vi
prepare() {
cd gexiv2
}
build() {
cd "${pkgname/lib/}-$pkgver"
arch-meson gexiv2 build \
-Denable-gtk-doc=true
ninja -C build
}
# In order for the build process to include any python-related files,
# 'import gi; print(gi._overridesdir)' must work with either python or
# python2. The gi module is provided by python-gobject and python2-gobject.
./configure --prefix=/usr --enable-introspection
make
check() {
cd build
meson test
}
package() {
make -C "${pkgname/lib/}-$pkgver" DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" ninja -C build install
}
# vim: ts=2 sw=2 et:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment