[arch-commits] Commit in libgexiv2/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun Dec 24 14:14:11 UTC 2017


    Date: Sunday, December 24, 2017 @ 14:14:10
  Author: heftig
Revision: 275761

archrelease: copy trunk to community-x86_64

Added:
  libgexiv2/repos/community-x86_64/PKGBUILD
    (from rev 275760, libgexiv2/trunk/PKGBUILD)
Deleted:
  libgexiv2/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   81 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 42 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-24 14:13:51 UTC (rev 275760)
+++ PKGBUILD	2017-12-24 14:14:10 UTC (rev 275761)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Ionut Biru <ibiru at 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' 'i686')
-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')
-
-prepare() {
-  cd "${pkgname/lib/}-$pkgver"
-
-  # fix FS#51673
-  setconf Makefile.am typelibdir '$(libdir)/girepository-1.0'
-  autoreconf -vi
-}
-
-build() {
-  cd "${pkgname/lib/}-$pkgver"
-
-  # 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
-}
-
-package() {
-  make -C "${pkgname/lib/}-$pkgver" DESTDIR="$pkgdir" install
-}
-
-# vim: ts=2 sw=2 et:

Copied: libgexiv2/repos/community-x86_64/PKGBUILD (from rev 275760, libgexiv2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-24 14:14:10 UTC (rev 275761)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=libgexiv2
+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')
+
+pkgver() {
+  cd gexiv2
+  git describe --tags | sed 's/^gexiv2-//;s/-/+/g'
+}
+
+prepare() {
+  cd gexiv2
+}
+
+build() {
+  arch-meson gexiv2 build \
+    -Denable-gtk-doc=true
+  ninja -C build
+}
+
+check() {
+  cd build
+  meson test
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list