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

Jan de Groot jgc at archlinux.org
Fri Jul 3 08:49:45 UTC 2015


    Date: Friday, July 3, 2015 @ 10:49:45
  Author: jgc
Revision: 241736

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

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

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

Copied: gthumb/repos/staging-i686/PKGBUILD (from rev 241735, gthumb/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-07-03 08:49:45 UTC (rev 241736)
@@ -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.0
+pkgrel=2
+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=('abd1afe457c65289af31c6db7037452faa3838356480857d8cdc19f0ecde4933')
+
+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' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: gthumb/repos/staging-i686/gthumb.install (from rev 241735, gthumb/trunk/gthumb.install)
===================================================================
--- staging-i686/gthumb.install	                        (rev 0)
+++ staging-i686/gthumb.install	2015-07-03 08:49:45 UTC (rev 241736)
@@ -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/staging-x86_64/PKGBUILD (from rev 241735, gthumb/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-07-03 08:49:45 UTC (rev 241736)
@@ -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.0
+pkgrel=2
+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=('abd1afe457c65289af31c6db7037452faa3838356480857d8cdc19f0ecde4933')
+
+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' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: gthumb/repos/staging-x86_64/gthumb.install (from rev 241735, gthumb/trunk/gthumb.install)
===================================================================
--- staging-x86_64/gthumb.install	                        (rev 0)
+++ staging-x86_64/gthumb.install	2015-07-03 08:49:45 UTC (rev 241736)
@@ -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