diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-04-19 13:32:41 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-04-19 13:32:41 -0300 |
commit | 42c85d5130c96b05a6f590ee2110a4fbaacfe596 (patch) | |
tree | d3a23b569f367cc7ffc158d688157dfbed86f524 /nonprism/gthumb-nonprism/PKGBUILD | |
parent | b5f00d0a0727d16705c67a3ae18ebc740750463a (diff) | |
download | abslibre-42c85d5130c96b05a6f590ee2110a4fbaacfe596.tar.gz abslibre-42c85d5130c96b05a6f590ee2110a4fbaacfe596.tar.bz2 abslibre-42c85d5130c96b05a6f590ee2110a4fbaacfe596.zip |
gthumb-nonprism: add new package to [nonprism]
Diffstat (limited to 'nonprism/gthumb-nonprism/PKGBUILD')
-rw-r--r-- | nonprism/gthumb-nonprism/PKGBUILD | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/nonprism/gthumb-nonprism/PKGBUILD b/nonprism/gthumb-nonprism/PKGBUILD new file mode 100644 index 000000000..b82aa6448 --- /dev/null +++ b/nonprism/gthumb-nonprism/PKGBUILD @@ -0,0 +1,60 @@ +# $Id: PKGBUILD 209693 2014-04-01 12:03:03Z jgc $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor: Jan de Groot <jgc@archlinux.org> +# Contributor: Tobias Kieslich <tobias@justdreams.de> +# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> +# Contributor (Parabola): Márcio Silva <coadde@parabola.nu> + +_pkgname=gthumb +pkgname=gthumb-nonprism +pkgver=3.2.7 +pkgrel=2 +pkgdesc="Image browser and viewer for the GNOME Desktop, without support for unsafe and dangerous for privacy protocols" +arch=(i686 x86_64) +license=(GPL) +url="http://live.gnome.org/gthumb" +replaces=$_pkgname +conflicts=$_pkgname +provides=$_pkgname=$pkgver +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 + nonprism.patch) +sha256sums=('36b179873d7219e5ce34584a9c3a9486d519aa9866f558a050ca85ebd122c44e' + '7706181514c9cfe0241329e9b14778dfa2797ddc1feb206b1cd9f07f9be31490') + +prepare() { + cd $_pkgname-$pkgver + patch -Np1 -i $srcdir/nonprism.patch +} + +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 +} |