summaryrefslogtreecommitdiffstats
path: root/source/l/poppler/poppler.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/poppler/poppler.SlackBuild')
-rwxr-xr-xsource/l/poppler/poppler.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/l/poppler/poppler.SlackBuild b/source/l/poppler/poppler.SlackBuild
index 76768ad9b..1c8dd4909 100755
--- a/source/l/poppler/poppler.SlackBuild
+++ b/source/l/poppler/poppler.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2006, 2007, 2008, 2009, 2010, 2012, 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2006, 2007, 2008, 2009, 2010, 2012, 2017, 2018, 2020, 2023 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,6 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=poppler
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
+QT6OPT=${QT6OPT:--DENABLE_QT6=OFF}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -94,6 +95,7 @@ cmake \
-DENABLE_XPDF_HEADERS=ON \
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
-DENABLE_ZLIB=ON \
+ $QT6OPT \
.. || exit 1
make $NUMJOBS || make || exit 1