diff options
author | Matteo Bernardini | 2024-02-29 13:02:57 +0100 |
---|---|---|
committer | Matteo Bernardini | 2024-04-05 22:53:51 +0200 |
commit | 4dc6d6b4c08b424ec7cc8c4b0489c53bafca306f (patch) | |
tree | cf77853d825bd8cbe2ecac9870e77aeaa95cd245 /office/scribus/scribus.SlackBuild | |
parent | ca3cfecb6f0115a65c4c9ecc03fa1f7aa1c840a3 (diff) | |
download | slackbuilds-scribus.tar.gz |
office/scribus: Updated for version 1.6.1.scribus
Needed by the newer poppler in current
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'office/scribus/scribus.SlackBuild')
-rw-r--r-- | office/scribus/scribus.SlackBuild | 11 |
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 |