summaryrefslogtreecommitdiffstats
path: root/extra/inkscape/Pkgfile
blob: 1829aa3672bc9ab3ea1c4939c021364cea0cb9b0 (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
# 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: djvulibre,  pangomm, cairomm, gtkmm, boost, boehm-gc, imagemagick, gsl, libwpg, poppler-glib, librsvg, gtkspell, desktop-file-utils, popt, pyxml, libxslt, hicolor-icon-theme
# Run on: pangomm,cairomm,gtkmm,boost,boehm-gc,imagemagick,gsl,libwpg,poppler-glib,librsvg,gtkspell,desktop-file-utils,popt,pyxml,libxslt

name=inkscape
version=0.48.1
release=1
source=(http://downloads.sourceforge.net/$name/files/$name-$version.tar.bz2\
	http://nutyx.meticul.eu/files/patchs/$name/$name-0.48.{0-libpng-1,1-gcc-4.6-1}.patch)
        
build() {
	cd $name-$version
	patch -Np1 -i ../inkscape-0.48.0-libpng-1.patch
	patch -Np1 -i ../inkscape-0.48.1-gcc-4.6-1.patch
	./configure --prefix=/usr \
	--enable-lcms \
	--with-xft \
	--with-python \
	--with-perl \
	--enable-poppler-cairo \
	--disable-dependency-tracking
        
	make
        make DESTDIR=$PKG install
}