summaryrefslogtreecommitdiffstats
path: root/office/scribus/scribus.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/scribus/scribus.SlackBuild')
-rw-r--r--office/scribus/scribus.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/office/scribus/scribus.SlackBuild b/office/scribus/scribus.SlackBuild
index c7e17f62e8..6d34b625b8 100644
--- a/office/scribus/scribus.SlackBuild
+++ b/office/scribus/scribus.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for scribus
# Copyright 2006 Martin Lefebvre <dadexter@gmail.com>
-# Copyright 2008-2021 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2024 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -29,7 +29,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=scribus
-VERSION=${VERSION:-1.5.7}
+VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -68,6 +68,8 @@ else
LIBDIRSUFFIX=""
fi
+if pkg-config --exists libpodofo ; then PODOFO="On" ; else PODOFO="Off" ; fi
+
set -e
rm -rf $PKG
@@ -83,13 +85,12 @@ 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 {} \;
-# thanks archlinux!
-patch -p1 < $CWD/harfbuzz-3.0.0.patch
-
cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DWANT_CPP17=1 \
+ -DWITH_PODOFO=$PODOFO \
-DLIB_SUFFIX=${LIBDIRSUFFIX}
make