Browse Source

xap/inkscape: Upgraded to inkscape-0.92.0.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
e7feaad15c
  1. 1
      xap/inkscape/inkscape-0.91.tar.bz2.sha1
  2. 1
      xap/inkscape/inkscape-0.92.0.tar.bz2.sha1
  3. 22
      xap/inkscape/inkscape.SlackBuild

1
xap/inkscape/inkscape-0.91.tar.bz2.sha1

@ -1 +0,0 @@
9941ee467af570ac71a70f965cd9c48d4993b8f3 inkscape-0.91.tar.bz2

1
xap/inkscape/inkscape-0.92.0.tar.bz2.sha1

@ -0,0 +1 @@
8f576bc828138e9c3c835a458c3cefd5801a907a inkscape-0.92.0.tar.bz2

22
xap/inkscape/inkscape.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008-2016 Damien Goutte-Gattat
# Copyright (C) 2008-2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,9 +27,9 @@
# Source package infos
NAMESRC=${NAMESRC:-inkscape}
VERSION=${VERSION:-0.91}
VERSION=${VERSION:-0.92.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-https://inkscape.org/en/gallery/item/3860/download/}
WGET=${WGET:-https://inkscape.org/en/gallery/item/10552/download/}
# Built package infos
NAMEPKG=${NAMEPKG:-inkscape}
@ -57,12 +57,14 @@ if [ ! -d $TMP ]; then
fi
# Compilation flags
LIBDIRSUFFIX=
case "$ARCH" in
i?86)
CPUOPT="-O2 -march=$ARCH -mtune=i686"
;;
x86_64)
CPUOPT="-O2 -fPIC";
LIBDIRSUFFIX=64
;;
*)
CPUOPT="-O2"
@ -84,10 +86,12 @@ tar xf $CWD/$ARCHIVE
cd $NAME
# Compile
./autogen.sh
CFLAGS=$CPUOPT \
CXXFLAGS="$CPUOPT -std=c++11" \
CXXFLAGS=$CPUOPT \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man \
--disable-dependency-tracking \
--disable-static \
@ -102,10 +106,12 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING{,.LIB} ChangeLog NEWS README TRANSLATORS \
doc/HACKING.txt doc/README.document doc/architecture* \
doc/class-hierarchy.dia doc/coordinates.txt doc/keys.README \
doc/keys.en.html doc/refcounting.txt $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING ChangeLog LGPL2.1.txt NEWS README \
TRANSLATORS doc/HACKING.txt doc/LOGGING.txt doc/README.document \
doc/architecture* doc/class-hierarchy.dia doc/coordinates.txt \
doc/extension_system.txt doc/keys.README doc/keys.en.html doc/keys.css \
doc/markers_design.txt doc/nr-filter-interface.txt doc/refcounting.txt \
doc/spsvgview.txt $PKG/usr/doc/$NAME
# Copy slack-desc and doinst.sh files
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save