summaryrefslogtreecommitdiff
path: root/artistic/gimp-art/PKGBUILD
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-09-01 03:06:55 -0300
committerMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-09-01 03:06:55 -0300
commit3b27c438a87266de7eaadd689048163b77b3d81f (patch)
treece1f477618b64285e82367ae6a5a4af01fee45a2 /artistic/gimp-art/PKGBUILD
parent553b1008dd7c9a3805d30cfa8905635cb58efc26 (diff)
downloadabslibre-3b27c438a87266de7eaadd689048163b77b3d81f.tar.gz
abslibre-3b27c438a87266de7eaadd689048163b77b3d81f.tar.bz2
abslibre-3b27c438a87266de7eaadd689048163b77b3d81f.zip
gimp-art: add package to artistic
Diffstat (limited to 'artistic/gimp-art/PKGBUILD')
-rw-r--r--artistic/gimp-art/PKGBUILD98
1 files changed, 98 insertions, 0 deletions
diff --git a/artistic/gimp-art/PKGBUILD b/artistic/gimp-art/PKGBUILD
new file mode 100644
index 000000000..4236ce271
--- /dev/null
+++ b/artistic/gimp-art/PKGBUILD
@@ -0,0 +1,98 @@
+# $Id$
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+_pkgname=gimp
+pkgname=gimp-art
+pkgver=2.8.2
+pkgrel=1
+pkgdesc='GNU Image Manipulation Program (changed splash artwork)'
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+url=http://www.$_pkgname.org/
+license=(
+ GPL
+ LGPL
+)
+depends=(
+ babl
+ dbus-glib
+ desktop-file-utils
+ gegl
+ hicolor-icon-theme
+ jasper
+ lcms
+ libexif
+ libmng
+ librsvg
+ libxmu
+ libxpm
+ libwmf
+ pygtk
+)
+makedepends=(
+ alsa-lib
+ curl
+ ghostscript
+ intltool
+ iso-codes
+ libwebkit
+ poppler-glib
+)
+optdepends=(
+ 'alsa-lib: for MIDI event controller module'
+ 'curl: for URI support'
+ 'ghostscript: for postscript support'
+ 'gutenprint: for sophisticated printing only as gimp has built-in cups print support'
+ 'libwebkit: for the help browser'
+ 'poppler-glib: for pdf support'
+)
+options=(
+ '!libtool'
+ '!makeflags'
+)
+conflicts=(
+ $_pkgname
+ $_pkgname-devel
+)
+install=$_pkgname.install
+source=(
+ ftp://ftp.$_pkgname.org/pub/$_pkgname/v${pkgver%.*}/$_pkgname-$pkgver.tar.bz2
+ $_pkgname-splash-artwork.png
+ $_pkgname-splash-artwork.license
+)
+sha512sums=(
+ 82a15072aba97d41a7dd74920f5db4e89442ff83841ac614f6fadfd964bdb8d3ae478ac0ba2e906bcf4569c8de00a1616fd6d626032f093060f28df3655d9111
+ 1a2930e612b339f49aa85f98275c24202e056f2fff5c1fda94e662bfd45ed5b6226e6ab1947f3daf758f4e5106fd3f7e4f286d63b258f008b6a5d9e5cd6f0611
+ d3f055ce278f25b33a6b11f3b031ae801206390fa1f62e3383daf35570e5f68b98ddfac30dea71d89d4916eaf3263e642ad06805c3175f620412e546784335ac
+)
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+
+ ## Add artwork splash image ##
+ install -Dm644 $srcdir/$_pkgname-splash-artwork.png \
+ $srcdir/$_pkgname-$pkgver/data/images/$_pkgname-splash.png
+
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
+ --enable-mp --enable-$_pkgname-console --enable-python --without-aa \
+ --with-gif-compression=lzw --with-libcurl --without-gvfs
+ make
+}
+
+package() {
+ cd $srcdir/$_pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' $pkgdir/usr/lib/$_pkgname/${pkgver::2}0/plug-ins/*.py
+
+ ## Add artwork splash license ##
+ install -Dm644 $srcdir/$_pkgname-splash-artwork.license \
+ $pkgdir/usr/share/licenses/$_pkgname/$_pkgname-splash-artwork.license
+
+ rm $pkgdir/usr/share/man/man1/$_pkgname-console.1
+ ln -s $_pkgname-console-${pkgver%.*}.1.gz $pkgdir/usr/share/man/man1/$_pkgname-console.1.gz
+ ln -s ${_pkgname}tool-${pkgver::2}0 $pkgdir/usr/bin/${_pkgname}tool
+ ln -sf ${_pkgname}tool-${pkgver::2}0.1.gz $pkgdir/usr/share/man/man1/${_pkgname}tool.1.gz
+}