summaryrefslogtreecommitdiffstats
path: root/gimp/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'gimp/Pkgfile')
-rw-r--r--gimp/Pkgfile37
1 files changed, 37 insertions, 0 deletions
diff --git a/gimp/Pkgfile b/gimp/Pkgfile
new file mode 100644
index 000000000..6a1b98da7
--- /dev/null
+++ b/gimp/Pkgfile
@@ -0,0 +1,37 @@
+# Description: Programme de retouche et manipulation d'image GNU
+# URL: http://www.gimp.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: gtk, pygtk, curl, libgtkhtml, libexif, xorg-libxmu, xorg-libxpm, openexr, gegl, poppler-glib, libmng, alsa-lib
+# Run on: gtk,pygtk,curl,libgtkhtml,libexif,xorg-libxmu,xorg-libxpm,openexr,gegl,poppler-glib,libmng,alsa-lib
+
+name=gimp
+version=2.6.11
+release=2
+source=(ftp://ftp.gimp.org/pub/gimp/v2.6/gimp-$version.tar.bz2 \
+ http://nutyx.meticul.eu/files/patchs/gimp/gimp-splash-2009-2.png
+ http://nutyx.meticul.eu/files/patchs/gimp/gimp-2.6.11-libpng-1.5.1-2.patch
+ gimp-poppler.patch)
+
+
+build() {
+ cd $name-$version
+ patch -Np1 -i ../gimp-2.6.11-libpng-1.5.1-2.patch
+ patch -p1 < ../gimp-poppler.patch
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-mp \
+ --enable-gimp-console \
+ --enable-gimp-remote \
+ --enable-python \
+ --with-gif-compression=lzw \
+ --without-aa
+ make
+ make DESTDIR=$PKG install
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' $PKG/usr/lib/gimp/2.0/plug-ins/*.py
+ rm -f $PKG/usr/share/gimp/2.0/images/gimp-splash.png
+ install -m664 ../gimp-splash-2009-2.png $PKG/usr/share/gimp/2.0/images/gimp-splash.png
+}
+
+