summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Cooley <chytraeu@sdf.org>2019-07-06 06:23:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-07-06 06:23:55 +0700
commitd63a68380dd266d55a715e457cf69aa575331099 (patch)
tree2c539d1d62d76e03eafdceaff4e3395b5410561a
parentd5d5add2261da8dd429ba222ebd136117c3f2306 (diff)
downloadslackbuilds-d63a68380dd266d55a715e457cf69aa575331099.tar.gz
office/qpdfview-qt5: Fix build on -current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--office/qpdfview-qt5/qpdfview-qt5.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/office/qpdfview-qt5/qpdfview-qt5.SlackBuild b/office/qpdfview-qt5/qpdfview-qt5.SlackBuild
index 19fce1209d..2811b721d9 100644
--- a/office/qpdfview-qt5/qpdfview-qt5.SlackBuild
+++ b/office/qpdfview-qt5/qpdfview-qt5.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=qpdfview-qt5
SRCNAM=qpdfview
VERSION=${VERSION:-0.4.18beta1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -74,6 +74,9 @@ find -L . \
sed -i "s|/usr/lib/qpdfview|/usr/lib${LIBDIRSUFFIX}/qpdfview|" qpdfview.pri
+# From Arch pkgbuild. Fix build with texlive in Slackware current.
+sed -e 's|2.0.0|1.21.0|' -i application.pro
+
# Add localizations
lrelease-qt5 qpdfview.pro