summaryrefslogtreecommitdiffstats
path: root/extra/inkscape/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/inkscape/Pkgfile')
-rw-r--r--extra/inkscape/Pkgfile18
1 files changed, 13 insertions, 5 deletions
diff --git a/extra/inkscape/Pkgfile b/extra/inkscape/Pkgfile
index fe445b39b..8fe593d28 100644
--- a/extra/inkscape/Pkgfile
+++ b/extra/inkscape/Pkgfile
@@ -2,17 +2,25 @@
# URL: http://inkscape.org
# Maintainer: NuTyX core team
# Packager: skingrapher at legtux dot org
-# Depends on: pangomm, cairomm, gtkmm, boost, boehm-gc, imagemagick
+# Depends on: pangomm, cairomm, gtkmm, boost, boehm-gc, imagemagick, gsl, gnome-vfs, libwpg, poppler-glib, librsvg
name=inkscape
-version=0.46
+version=0.47
release=1
-source=(http://inkscape.modevia.com/svn-snap/$name-current.tar.bz2)
+source=(http://downloads.sourceforge.net/$name/files/$name-$version.tar.bz2\
+ http://launchpadlibrarian.net/36057611/inkscape-poppler-0.12.2.patch)
build() {
-cd $name-*
+ 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" \
- ./configure --prefix=/usr --enable-lcms --with-xft --with-python --with-perl --with-gnome-vfs
+ 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