summaryrefslogtreecommitdiff
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.SlackBuild17
1 files changed, 4 insertions, 13 deletions
diff --git a/source/l/poppler/poppler.SlackBuild b/source/l/poppler/poppler.SlackBuild
index 892a0db2..5902adf3 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 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2006, 2007, 2008, 2009, 2010, 2012, 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -77,23 +77,15 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-# At least for now, we will revert this patch since we have
-# things that depend on it:
-xzcat $CWD/poppler.remove.qt4.frontend.diff.xz | patch -p1 -R --verbose || exit 1
-
-# Revert a change to SplashPath.h (in 0.63.0) that breaks compiling the qt4 frontend:
-zcat $CWD/poppler.splashpath.h.revert.diff.gz | patch -p1 --verbose || exit 1
-
-mkdir build
-cd build
+mkdir cmake-build
+cd cmake-build
CXXFLAGS="$SLKCFLAGS -std=c++11 -fpermissive" \
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_MANDIR=/usr/man \
-DBUILD_SHARED_LIBS=ON \
- -DENABLE_QT4=ON \
- -DENABLE_QT5=OFF \
+ -DENABLE_QT5=ON \
-DENABLE_XPDF_HEADERS=ON \
-DENABLE_CMS=lcms2 \
-DENABLE_DCTDECODER=libjpeg \
@@ -149,4 +141,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BUILD.txz
-