summaryrefslogtreecommitdiffstats
path: root/extra/gimp/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-03-25 17:59:11 +0100
committersibel <lesibel@free.fr>2011-03-25 17:59:11 +0100
commitc36eccc2b20e89f7a839bfde9734a902132d8663 (patch)
tree36e336c6e8c72df61be2541113c77cd4de9ebc60 /extra/gimp/Pkgfile
parentde2acb6799083931fae9ab1360d267cc289b298e (diff)
downloadnutyx-pakxe-c36eccc2b20e89f7a839bfde9734a902132d8663.tar.gz
nutyx-pakxe-c36eccc2b20e89f7a839bfde9734a902132d8663.tar.bz2
nutyx-pakxe-c36eccc2b20e89f7a839bfde9734a902132d8663.tar.xz
nutyx-pakxe-c36eccc2b20e89f7a839bfde9734a902132d8663.zip
gimp , pas fini
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
}