aboutsummaryrefslogtreecommitdiff
path: root/graphics/inkscape
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-04-18 12:41:23 +0200
committerMatteo Bernardini <ponce@slackbuilds.org>2021-04-18 12:41:23 +0200
commit850328974813e252c879520dc2c96b6b91f444e7 (patch)
tree54eb7047c03286a03cb15fc5fb81bc21a1062900 /graphics/inkscape
parent297d3dd91cde9037fb5056a4c6a53496ca9a6b69 (diff)
graphics/inkscape: Updated for version 1.0.2.
Added new dependencies, switched to GraphicsMagick as imagemagick >= 7.x is not compatible. Most of the build hints are taken from fedora and AlienBOB (thanks!) Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/inkscape')
-rw-r--r--graphics/inkscape/README2
-rw-r--r--graphics/inkscape/inkscape.SlackBuild11
-rw-r--r--graphics/inkscape/inkscape.info8
3 files changed, 9 insertions, 12 deletions
diff --git a/graphics/inkscape/README b/graphics/inkscape/README
index 1d9e9dd712c61..61391c1df2300 100644
--- a/graphics/inkscape/README
+++ b/graphics/inkscape/README
@@ -7,5 +7,3 @@ Creative Commons meta-data, node editing, layers, complex path
operations, bitmap tracing, text-on-path, flowed text, direct XML
editing, and more. It imports formats such as JPEG, PNG, TIFF, and
others and exports PNG as well as multiple vector-based formats.
-
-Optional dependency: potrace (for bitmap tracing functionality).
diff --git a/graphics/inkscape/inkscape.SlackBuild b/graphics/inkscape/inkscape.SlackBuild
index 9380191a412c7..d61c6507a87d5 100644
--- a/graphics/inkscape/inkscape.SlackBuild
+++ b/graphics/inkscape/inkscape.SlackBuild
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=inkscape
-VERSION=${VERSION:-0.92.4}
+VERSION=${VERSION:-1.0.2}
+EXTRAVER=${EXTRAVER:-2021-01-15_e86c870879}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf ${PRGNAM}-${VERSION}_${EXTRAVER}
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
+cd ${PRGNAM}-${VERSION}_${EXTRAVER}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -111,11 +112,9 @@ cd ..
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING* INSTALL NEWS README TRANSLATORS doc/* \
+ AUTHORS COPYING* README* TRANSLATORS LICENSES *.md doc/* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -name "Makefile*" -exec rm {} \;
diff --git a/graphics/inkscape/inkscape.info b/graphics/inkscape/inkscape.info
index 39fe0759fd2cb..9e0d9b3bb939b 100644
--- a/graphics/inkscape/inkscape.info
+++ b/graphics/inkscape/inkscape.info
@@ -1,10 +1,10 @@
PRGNAM="inkscape"
-VERSION="0.92.4"
+VERSION="1.0.2"
HOMEPAGE="http://www.inkscape.org/"
-DOWNLOAD="https://inkscape.org/gallery/item/13330/inkscape-0.92.4.tar.bz2"
-MD5SUM="ac30f6d5747fd9c620c00dad500f414f"
+DOWNLOAD="https://inkscape.org/gallery/item/23820/inkscape-1.0.2.tar.xz"
+MD5SUM="ec90e0c1e4c7e3dba8f46b16c73462b3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lxml numpy"
+REQUIRES="GraphicsMagick gdl dos2unix double-conversion libcdr lxml numpy potrace pstoedit scour"
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"