aboutsummaryrefslogtreecommitdiff
path: root/graphics/inkscape/inkscape.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-08-10 09:21:15 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-14 21:18:00 +0700
commit841ae7d17209f19e94603ddac9a0023330f99e80 (patch)
treef2096fdc9b2e366d2cdfe941aabcf6ca579166d0 /graphics/inkscape/inkscape.SlackBuild
parent27e9d5d32f3b800fecd7e6aab27f09f80ad5be09 (diff)
graphics/inkscape: Updated for version 1.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/inkscape/inkscape.SlackBuild')
-rw-r--r--graphics/inkscape/inkscape.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/graphics/inkscape/inkscape.SlackBuild b/graphics/inkscape/inkscape.SlackBuild
index d2ff1c4ffd916..3c5182be7250c 100644
--- a/graphics/inkscape/inkscape.SlackBuild
+++ b/graphics/inkscape/inkscape.SlackBuild
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=inkscape
-VERSION=${VERSION:-1.0.2}
-EXTRAVER=${EXTRAVER:-2021-01-15_e86c870879}
+VERSION=${VERSION:-1.1}
+EXTRAVER=${EXTRAVER:-2021-05-24_c4e8f9ed74}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,8 +80,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 < $CWD/glib-2.68.patch
-
# strip invalid tag
sed -i /url/d org.inkscape.Inkscape.appdata.xml.in
@@ -119,6 +117,12 @@ cd build
make install DESTDIR=$PKG
cd ..
+# From this version on inkscape install its separate library in
+# /usr/lib$LIBDIRSUFFIX/$PRGNAM that's not on the binary LD_LIBRARY_PATH
+# at runtime: just create an handy symlink without moving it in case
+# something else look for it there
+( cd $PKG/usr/lib$LIBDIRSUFFIX ; ln -s $PRGNAM/* . )
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true