diff --git a/srcpkgs/inkscape/template b/srcpkgs/inkscape/template index 98fee091e5a..f6c736b60dd 100644 --- a/srcpkgs/inkscape/template +++ b/srcpkgs/inkscape/template @@ -1,27 +1,28 @@ # Template file for 'inkscape'. pkgname=inkscape -version=0.91 -revision=21 +version=0.92.0 +revision=1 build_style=gnu-configure configure_args="--enable-lcms --enable-poppler-cairo --without-gnome-vfs --disable-static" -hostmakedepends="pkg-config intltool" +hostmakedepends="automake pkg-config libtool intltool gettext-devel + glib-devel" makedepends=" popt-devel libpng-devel gsl-devel gc-devel gtkmm2-devel libxslt-devel lcms2-devel poppler-glib-devel boost-devel libmagick-devel - libvisio-devel libwpg-devel libcdr-devel dbus-glib-devel libgomp-devel" + libvisio-devel libwpg-devel libcdr-devel dbus-glib-devel libgomp-devel + potrace-devel" depends="desktop-file-utils hicolor-icon-theme python-lxml" short_desc="Vector-based drawing program" maintainer="Juan RP " homepage="http://inkscape.org/" license="GPL-2, LGPL-2.1" -distfiles="https://inkscape.global.ssl.fastly.net/media/resources/file/${pkgname}-${version}.tar.bz2" -checksum=4d901f8a9e1924404e797ad23b8b0c495a9d155448816d95a55974314e1f141b +distfiles="https://inkscape.org/en/gallery/item/10552/${pkgname}-${version}.tar.bz2" +checksum=b8b4c159a00448d465384533e5a70d3f33e5f9c6b74c76ea5d636ddd6dd7ba56 # Use c++11 mode and reduce log spam due to gcc6 warnings CXXFLAGS="-std=c++11 -Wno-deprecated -Wno-misleading-indentation -Wno-cast-align" pre_configure() { - sed -i src/ui/clipboard.cpp \ - -e 's;ScopedPtr;make_unique_ptr_gfree;' + ./autogen.sh } diff --git a/srcpkgs/inkscape/update b/srcpkgs/inkscape/update index 41f967a52b3..1900116bf49 100644 --- a/srcpkgs/inkscape/update +++ b/srcpkgs/inkscape/update @@ -1 +1 @@ -site="https://inkscape.org/en/download/" +pattern='Current stable version: \K([\d\.]+)'