[arch-commits] Commit in gthumb/repos (6 files)

Jan de Groot jgc at archlinux.org
Tue Apr 12 08:35:52 UTC 2016


    Date: Tuesday, April 12, 2016 @ 10:35:51
  Author: jgc
Revision: 264700

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gthumb/repos/testing-i686/
  gthumb/repos/testing-i686/PKGBUILD
    (from rev 264699, gthumb/trunk/PKGBUILD)
  gthumb/repos/testing-i686/gthumb.install
    (from rev 264699, gthumb/trunk/gthumb.install)
  gthumb/repos/testing-x86_64/
  gthumb/repos/testing-x86_64/PKGBUILD
    (from rev 264699, gthumb/trunk/PKGBUILD)
  gthumb/repos/testing-x86_64/gthumb.install
    (from rev 264699, gthumb/trunk/gthumb.install)

-------------------------------+
 testing-i686/PKGBUILD         |   52 ++++++++++++++++++++++++++++++++++++++++
 testing-i686/gthumb.install   |   19 ++++++++++++++
 testing-x86_64/PKGBUILD       |   52 ++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/gthumb.install |   19 ++++++++++++++
 4 files changed, 142 insertions(+)

Copied: gthumb/repos/testing-i686/PKGBUILD (from rev 264699, gthumb/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-04-12 08:35:51 UTC (rev 264700)
@@ -0,0 +1,52 @@
+# $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.3
+pkgrel=1
+pkgdesc="Image browser and viewer for the GNOME Desktop"
+arch=(i686 x86_64)
+license=(GPL)
+url="http://live.gnome.org/gthumb"
+depends=(desktop-file-utils hicolor-icon-theme 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 gnome-common flex)
+optdepends=('libraw: read RAW files'
+            'exiv2: metadata support'
+            'libchamplain: map viewer'
+            'brasero: burn discs'
+            'liboauth: web albums')
+options=('!emptydirs')
+install=gthumb.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('c10fd12f3bfea31c390c74e8e08f86f16e2159fbd6c806daa025423e0ded825d')
+
+prepare() {
+  cd $pkgname-$pkgver
+}
+
+build() {
+  cd $pkgname-$pkgver
+  
+  ./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-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: gthumb/repos/testing-i686/gthumb.install (from rev 264699, gthumb/trunk/gthumb.install)
===================================================================
--- testing-i686/gthumb.install	                        (rev 0)
+++ testing-i686/gthumb.install	2016-04-12 08:35:51 UTC (rev 264700)
@@ -0,0 +1,19 @@
+post_install() {
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  if (( $(vercmp $2 2.90.1) < 0 )); then
+    gconfpkg --uninstall gthumb
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: gthumb/repos/testing-x86_64/PKGBUILD (from rev 264699, gthumb/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-04-12 08:35:51 UTC (rev 264700)
@@ -0,0 +1,52 @@
+# $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.3
+pkgrel=1
+pkgdesc="Image browser and viewer for the GNOME Desktop"
+arch=(i686 x86_64)
+license=(GPL)
+url="http://live.gnome.org/gthumb"
+depends=(desktop-file-utils hicolor-icon-theme 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 gnome-common flex)
+optdepends=('libraw: read RAW files'
+            'exiv2: metadata support'
+            'libchamplain: map viewer'
+            'brasero: burn discs'
+            'liboauth: web albums')
+options=('!emptydirs')
+install=gthumb.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('c10fd12f3bfea31c390c74e8e08f86f16e2159fbd6c806daa025423e0ded825d')
+
+prepare() {
+  cd $pkgname-$pkgver
+}
+
+build() {
+  cd $pkgname-$pkgver
+  
+  ./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-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: gthumb/repos/testing-x86_64/gthumb.install (from rev 264699, gthumb/trunk/gthumb.install)
===================================================================
--- testing-x86_64/gthumb.install	                        (rev 0)
+++ testing-x86_64/gthumb.install	2016-04-12 08:35:51 UTC (rev 264700)
@@ -0,0 +1,19 @@
+post_install() {
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  if (( $(vercmp $2 2.90.1) < 0 )); then
+    gconfpkg --uninstall gthumb
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list