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

Jan de Groot jgc at nymeria.archlinux.org
Tue Apr 1 12:03:09 UTC 2014


    Date: Tuesday, April 1, 2014 @ 14:03:08
  Author: jgc
Revision: 209694

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  gthumb/repos/gnome-unstable-i686/
  gthumb/repos/gnome-unstable-i686/PKGBUILD
    (from rev 209693, gthumb/trunk/PKGBUILD)
  gthumb/repos/gnome-unstable-i686/gthumb.install
    (from rev 209693, gthumb/trunk/gthumb.install)
  gthumb/repos/gnome-unstable-x86_64/
  gthumb/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 209693, gthumb/trunk/PKGBUILD)
  gthumb/repos/gnome-unstable-x86_64/gthumb.install
    (from rev 209693, gthumb/trunk/gthumb.install)

--------------------------------------+
 gnome-unstable-i686/PKGBUILD         |   51 +++++++++++++++++++++++++++++++++
 gnome-unstable-i686/gthumb.install   |   19 ++++++++++++
 gnome-unstable-x86_64/PKGBUILD       |   51 +++++++++++++++++++++++++++++++++
 gnome-unstable-x86_64/gthumb.install |   19 ++++++++++++
 4 files changed, 140 insertions(+)

Copied: gthumb/repos/gnome-unstable-i686/PKGBUILD (from rev 209693, gthumb/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2014-04-01 12:03:08 UTC (rev 209694)
@@ -0,0 +1,51 @@
+# $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.2.7
+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 webkitgtk json-glib)
+makedepends=(intltool libchamplain libopenraw exiv2 itstool brasero librsvg libopenraw liboauth docbook-xsl)
+optdepends=('libopenraw: 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=('36b179873d7219e5ce34584a9c3a9486d519aa9866f558a050ca85ebd122c44e')
+
+prepare() {
+  cd $pkgname-$pkgver
+}
+
+build() {
+  cd $pkgname-$pkgver
+  
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static \
+      --enable-libchamplain --enable-libopenraw
+  
+  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/gnome-unstable-i686/gthumb.install (from rev 209693, gthumb/trunk/gthumb.install)
===================================================================
--- gnome-unstable-i686/gthumb.install	                        (rev 0)
+++ gnome-unstable-i686/gthumb.install	2014-04-01 12:03:08 UTC (rev 209694)
@@ -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/gnome-unstable-x86_64/PKGBUILD (from rev 209693, gthumb/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2014-04-01 12:03:08 UTC (rev 209694)
@@ -0,0 +1,51 @@
+# $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.2.7
+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 webkitgtk json-glib)
+makedepends=(intltool libchamplain libopenraw exiv2 itstool brasero librsvg libopenraw liboauth docbook-xsl)
+optdepends=('libopenraw: 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=('36b179873d7219e5ce34584a9c3a9486d519aa9866f558a050ca85ebd122c44e')
+
+prepare() {
+  cd $pkgname-$pkgver
+}
+
+build() {
+  cd $pkgname-$pkgver
+  
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static \
+      --enable-libchamplain --enable-libopenraw
+  
+  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/gnome-unstable-x86_64/gthumb.install (from rev 209693, gthumb/trunk/gthumb.install)
===================================================================
--- gnome-unstable-x86_64/gthumb.install	                        (rev 0)
+++ gnome-unstable-x86_64/gthumb.install	2014-04-01 12:03:08 UTC (rev 209694)
@@ -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