summaryrefslogtreecommitdiffstats
path: root/gimp/Pkgfile
blob: e718941ef0e91989a258adee3056885e8c2decd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Description: Programme de retouche et manipulation d'image GNU
# URL: http://www.gimp.org/
# Maintainer: git.gnome.org/browse/gimp/
# 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,ghostscript

name=gimp
version=2.8.0
release=2
source=(ftp://ftp.gimp.org/pub/gimp/v2.8/gimp-$version.tar.bz2)


build() {
	cd $name-$version

	PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
    		--enable-mp --enable-gimp-console --enable-gimp-remote \
    		--enable-python --with-gif-compression=lzw --with-libcurl \
    		--without-aa --without-hal --without-gvfs --without-gnomevfs

	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
}