summaryrefslogtreecommitdiff
path: root/nonprism/gthumb
diff options
context:
space:
mode:
Diffstat (limited to 'nonprism/gthumb')
-rw-r--r--nonprism/gthumb/PKGBUILD30
1 files changed, 19 insertions, 11 deletions
diff --git a/nonprism/gthumb/PKGBUILD b/nonprism/gthumb/PKGBUILD
index f6c0a2eb9..d8f254e35 100644
--- a/nonprism/gthumb/PKGBUILD
+++ b/nonprism/gthumb/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 272604 2016-07-28 13:58:36Z heftig $
+# $Id: PKGBUILD 278304 2016-10-12 08:13:57Z heftig $
# Maintainer (Arch): Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor (Arch): Jan de Groot <jgc@archlinux.org>
# Contributor (Arch): Tobias Kieslich <tobias@justdreams.de>
@@ -6,8 +6,8 @@
# Contributor: Márcio Silva <coadde@parabola.nu>
pkgname=gthumb
-pkgver=3.4.3
-pkgrel=2.nonprism1
+pkgver=3.4.4.1
+pkgrel=1.nonprism1
pkgdesc="Image browser and viewer for the GNOME Desktop, without support for unsafe and dangerous for privacy protocols"
url="https://wiki.gnome.org/Apps/gthumb"
arch=(i686 x86_64)
@@ -17,25 +17,33 @@ conflicts=(${pkgname}-nonprism)
depends=(dconf librsvg clutter-gtk gst-plugins-base-libs gsettings-desktop-schemas libwebp
libsecret libsoup webkit2gtk json-glib)
makedepends=(intltool libchamplain exiv2 itstool brasero libraw liboauth docbook-xsl
- yelp-tools flex)
+ yelp-tools flex gnome-common git)
optdepends=('libraw: read RAW files'
'exiv2: metadata support'
'libchamplain: map viewer'
'brasero: burn discs'
'liboauth: web albums')
-options=('!emptydirs')
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+_commit=849e68f5ba606c25988a1e9e6669519734a7449a # gthumb-3-4
+source=("git://git.gnome.org/gthumb#commit=$_commit"
nonprism.patch)
-sha256sums=('c10fd12f3bfea31c390c74e8e08f86f16e2159fbd6c806daa025423e0ded825d'
+sha256sums=('SKIP'
'b1cd2463ab6475ce91a2b2e83dfcb1835ffaa9640c59d7bcfbe611163327fa45')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
prepare() {
- cd $pkgname-$pkgver
+ cd $pkgname
+ # Fixup tags for pkgver()
+ git tag -f 3.4.4.1 849e68f5ba606c25988a1e9e6669519734a7449a
+ NOCONFIGURE=1 ./autogen.sh
patch -Np1 -i ../nonprism.patch
}
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
@@ -47,11 +55,11 @@ build() {
}
check() {
- cd $pkgname-$pkgver
+ cd $pkgname
make check
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}