blob: ce6c15658fdb840b829ffd074e67d64f9b057af9 (
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
28
29
30
|
# Description: The GIMP
# URL: http://www.gimp.org/
# Maintainer: Erich Eckner, crux at eckner dot net
# Packager: Simone Rota, sip at crux dot nu
# Depends on: libart_lgpl, xorg-libxmu, xorg-libxpm, gegl, babl, libmypaint
# Nice to have: gimp-print, libsdl, ghostscript, librsvg, libmng, gexiv2
name=gimp
version=2.9.8
release=1
source=(http://ftp.gimp.org/pub/gimp/v${version%.*}/gimp-$version.tar.bz2 cve-2013-1913)
build() {
cd gimp-$version
patch -p1 -i ../cve-2013-1913
sed -i -e '/$(helpbrowser)/d' plug-ins/Makefile.in
./configure --prefix=/usr \
--mandir=/usr/share/man \
--disable-static \
--disable-python \
--disable-nls \
--without-webkit LIBS="-lm"
make
make DESTDIR=$PKG install
ln -s gimp-${version%.*} $PKG/usr/bin/gimp
rm -rf $PKG/usr/share/{gtk-doc,locale}
}
|