[arch-commits] Commit in gthumb/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 18 08:08:07 UTC 2019
Date: Saturday, May 18, 2019 @ 08:08:07
Author: foutrelis
Revision: 353572
archrelease: copy trunk to staging-x86_64
Added:
gthumb/repos/staging-x86_64/
gthumb/repos/staging-x86_64/PKGBUILD
(from rev 353571, gthumb/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: gthumb/repos/staging-x86_64/PKGBUILD (from rev 353571, gthumb/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-05-18 08:08:07 UTC (rev 353572)
@@ -0,0 +1,44 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Tobias Kieslich <tobias at justdreams.de>
+
+pkgname=gthumb
+pkgver=3.7.2
+pkgrel=2
+pkgdesc="Image browser and viewer for the GNOME Desktop"
+url="https://wiki.gnome.org/Apps/gthumb"
+arch=(x86_64)
+license=(GPL)
+depends=(dconf librsvg clutter-gtk gst-plugins-base-libs gsettings-desktop-schemas libwebp
+ libsecret libsoup webkit2gtk json-glib gtk3-print-backends)
+makedepends=(libchamplain exiv2 brasero libraw liboauth docbook-xsl yelp-tools meson git)
+optdepends=('libraw: read RAW files'
+ 'exiv2: metadata support'
+ 'libchamplain: map viewer'
+ 'brasero: burn discs'
+ 'liboauth: web albums')
+_commit=8cf7822bf3e2b02494490fee5bc1b30821503519 # tags/3.7.2^0
+source=("git+https://gitlab.gnome.org/GNOME/gthumb.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build -D libchamplain=true
+ ninja -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
More information about the arch-commits
mailing list