[arch-commits] Commit in gthumb/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Wed Jan 11 13:15:52 UTC 2017
Date: Wednesday, January 11, 2017 @ 13:15:51
Author: arojas
Revision: 285669
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
gthumb/repos/staging-i686/
gthumb/repos/staging-i686/PKGBUILD
(from rev 285668, gthumb/trunk/PKGBUILD)
gthumb/repos/staging-x86_64/
gthumb/repos/staging-x86_64/PKGBUILD
(from rev 285668, gthumb/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 58 ++++++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 58 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 116 insertions(+)
Copied: gthumb/repos/staging-i686/PKGBUILD (from rev 285668, gthumb/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2017-01-11 13:15:51 UTC (rev 285669)
@@ -0,0 +1,58 @@
+# $Id$
+# 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.4.4.1
+pkgrel=2
+pkgdesc="Image browser and viewer for the GNOME Desktop"
+url="https://wiki.gnome.org/Apps/gthumb"
+arch=(i686 x86_64)
+license=(GPL)
+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 gnome-common git)
+optdepends=('libraw: read RAW files'
+ 'exiv2: metadata support'
+ 'libchamplain: map viewer'
+ 'brasero: burn discs'
+ 'liboauth: web albums')
+_commit=849e68f5ba606c25988a1e9e6669519734a7449a # gthumb-3-4
+source=("git://git.gnome.org/gthumb#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ # Fixup tags for pkgver()
+ git tag -f 3.4.4.1 849e68f5ba606c25988a1e9e6669519734a7449a
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static \
+ --enable-libchamplain
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+check() {
+ cd $pkgname
+ make check
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
Copied: gthumb/repos/staging-x86_64/PKGBUILD (from rev 285668, gthumb/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-01-11 13:15:51 UTC (rev 285669)
@@ -0,0 +1,58 @@
+# $Id$
+# 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.4.4.1
+pkgrel=2
+pkgdesc="Image browser and viewer for the GNOME Desktop"
+url="https://wiki.gnome.org/Apps/gthumb"
+arch=(i686 x86_64)
+license=(GPL)
+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 gnome-common git)
+optdepends=('libraw: read RAW files'
+ 'exiv2: metadata support'
+ 'libchamplain: map viewer'
+ 'brasero: burn discs'
+ 'liboauth: web albums')
+_commit=849e68f5ba606c25988a1e9e6669519734a7449a # gthumb-3-4
+source=("git://git.gnome.org/gthumb#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ # Fixup tags for pkgver()
+ git tag -f 3.4.4.1 849e68f5ba606c25988a1e9e6669519734a7449a
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static \
+ --enable-libchamplain
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+check() {
+ cd $pkgname
+ make check
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list