summaryrefslogtreecommitdiffstats
path: root/gimp/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /gimp/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
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
+}
+
+