summaryrefslogtreecommitdiffstats
path: root/extra/inkscape/Pkgfile
blob: 8fe593d288e57d605fa90e26912fbd7412e6e818 (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: logiciel libre d'édition de graphismes vectoriels utilisant le format de fichiers SVG
# URL: http://inkscape.org
# Maintainer: NuTyX core team
# Packager: skingrapher at legtux dot org
# Depends on: pangomm, cairomm, gtkmm, boost, boehm-gc, imagemagick, gsl, gnome-vfs, libwpg, poppler-glib, librsvg
name=inkscape
version=0.47
release=1
source=(http://downloads.sourceforge.net/$name/files/$name-$version.tar.bz2\
	http://launchpadlibrarian.net/36057611/inkscape-poppler-0.12.2.patch)

build() {
	sed -i "s|(Gf\x\*)this| NULL|g" inkscape-poppler-0.12.2.patch
	cd $name-*
        CFLAGS="${CFLAGS} -I/usr/include/ImageMagick" \
	CXXFLAGS="${CXXFLAGS} -I/usr/include/ImageMagick" \
	patch -Np1 -i ../inkscape-poppler-0.12.2.patch
	./configure --prefix=/usr \
	--enable-lcms \
	--with-xft \
	--with-python \
	--with-perl \
	--with-gnome-vfs
        
	make
        make DESTDIR=$PKG install
}