# 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, gtkspell, desktop-file-utils, popt, pyxml, libxslt name=inkscape version=0.47 release=2 source=(http://downloads.sourceforge.net/$name/files/$name-$version.tar.bz2 inkscape-0.47-gcc45.patch 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 patch -Np1 -i ../inkscape-0.47-gcc45.patch ./configure --prefix=/usr \ --enable-lcms \ --with-xft \ --with-python \ --with-perl \ --with-gnome-vfs make make DESTDIR=$PKG install }