summaryrefslogtreecommitdiffstats
path: root/extra/gimp/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gimp/Pkgfile')
-rw-r--r--extra/gimp/Pkgfile18
1 files changed, 12 insertions, 6 deletions
diff --git a/extra/gimp/Pkgfile b/extra/gimp/Pkgfile
index f8b848b74..3d3660537 100644
--- a/extra/gimp/Pkgfile
+++ b/extra/gimp/Pkgfile
@@ -9,19 +9,25 @@ name=gimp
version=2.6.11
release=1
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-splash-2009-2.png
+ gimp-2.6.11-libpng-1.5.1.patch)
build() {
cd $name-$version
+ patch -Np1 -i ../gimp-2.6.11-libpng-1.5.1.patch
+
./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --sysconfdir=/etc \
- --without-aa \
- --disable-print
+ --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
}