diff options
Diffstat (limited to 'community/inkscape')
-rw-r--r-- | community/inkscape/APKBUILD | 20 | ||||
-rw-r--r-- | community/inkscape/fix-crash.patch | 16 |
2 files changed, 8 insertions, 28 deletions
diff --git a/community/inkscape/APKBUILD b/community/inkscape/APKBUILD index b0ef24a350..d8da441299 100644 --- a/community/inkscape/APKBUILD +++ b/community/inkscape/APKBUILD @@ -1,9 +1,9 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=inkscape -pkgver=0.92.1 -pkgrel=2 +pkgver=0.92.2 +pkgrel=0 pkgdesc="A vector-based drawing program - svg compliant" -url="http://inkscape.sourceforge.net/" +url="https://inkscape.org/" arch="all" license="GPL LGPL" makedepends=" @@ -25,12 +25,10 @@ makedepends=" tar " depends="desktop-file-utils" -checkdepends="bash" +checkdepends="bash py-lxml py-numpy" subpackages="$pkgname-doc $pkgname-lang $pkgname-view" -source="https://launchpad.net/inkscape/${pkgver%.*}.x/$pkgver/+download/inkscape-$pkgver.tar.bz2 - fix-crash.patch - " -builddir="$srcdir"/$pkgname-$pkgver +source="https://launchpad.net/inkscape/${pkgver%.*}.x/$pkgver/+download/inkscape-$pkgver.tar.bz2" +builddir="$srcdir/$pkgname-$pkgver" prepare() { default_prepare @@ -57,7 +55,7 @@ build() { check() { cd "$builddir" - make check + PATH="$PATH:." make check } package() { @@ -79,6 +77,4 @@ doc() { "$subpkgdir"/usr/share/inkscape } -sha512sums="f8f3bfb812a214216c3ffac7064a4619f847cf9810417c782481dba12e6c6a44123c8b8a9289fbf5287f2e6b6df39a641d94a000d842faee5ff808eec86187a0 inkscape-0.92.1.tar.bz2 -5611130bde0734b2dbc3d7c56c84d2ffe929f8eaaa739501a25dab6a695ef051e9acf74280479fa8e1c058a429f3f48b9800c0935ec07e81b1b86174f548cb84 fix-crash.patch" - +sha512sums="e790cafb7cc2be2eb75f04ac4c18ae8558ae997f4261c38dac9c2a3383c7a12a0f4a090956770d1341b212fc9698d31d212f2c1609421907255f8af650569b30 inkscape-0.92.2.tar.bz2" diff --git a/community/inkscape/fix-crash.patch b/community/inkscape/fix-crash.patch deleted file mode 100644 index 7cb5991297..0000000000 --- a/community/inkscape/fix-crash.patch +++ /dev/null @@ -1,16 +0,0 @@ -From: Timo Teräs <timo.teras@iki.fi> - -Remove redundant object instantiation which yields returning c_str to -temporary stack object. - ---- inkscape-0.92.1/src/libnrtype/FontFactory.cpp 2015-12-23 19:36:15.310394043 +0200 -+++ inkscape-0.92.1/src/libnrtype/FontFactory.cpp 2015-12-23 19:35:31.876527221 +0200 -@@ -196,7 +196,7 @@ - const char *pangoFamily = pango_font_description_get_family(fontDescr); - - if (pangoFamily && ((it = fontNameMap.find(pangoFamily)) != fontNameMap.end())) { -- return ((Glib::ustring)it->second).c_str(); -+ return it->second.c_str(); - } - - return pangoFamily; |