diff options
Diffstat (limited to 'extra/inkscape')
-rw-r--r-- | extra/inkscape/.md5sum | 3 | ||||
-rw-r--r-- | extra/inkscape/Pkgfile | 18 |
2 files changed, 15 insertions, 6 deletions
diff --git a/extra/inkscape/.md5sum b/extra/inkscape/.md5sum index 9062d8eaa..4a1daf080 100644 --- a/extra/inkscape/.md5sum +++ b/extra/inkscape/.md5sum @@ -1 +1,2 @@ -ea89469b58ccf5f56713c34e4ec4ba31 inkscape-current.tar.bz2 +7b497c8f673e40b05295a29f6e2111f4 inkscape-0.47.tar.bz2 +4b4867ad0aac2f9683e4dd7c9fd9a0e9 inkscape-poppler-0.12.2.patch 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 |