aboutsummaryrefslogtreecommitdiff
path: root/office/texstudio/texstudio.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-08-07 13:56:58 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-14 21:17:58 +0700
commitf29ebb889e8d453033565124fbc6c9236ff927f1 (patch)
tree2c567227794c1c29bbf0c3484bc0cc02f2c8dc81 /office/texstudio/texstudio.SlackBuild
parent47e1cc0af6d9d9e158747eafb3663600026def1b (diff)
office/texstudio: Updated for version 3.1.2 (using qt5).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/texstudio/texstudio.SlackBuild')
-rw-r--r--office/texstudio/texstudio.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/office/texstudio/texstudio.SlackBuild b/office/texstudio/texstudio.SlackBuild
index 31c132600ba45..f97254e360424 100644
--- a/office/texstudio/texstudio.SlackBuild
+++ b/office/texstudio/texstudio.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=texstudio
-VERSION=${VERSION:-2.12.22}
+VERSION=${VERSION:-3.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,8 +82,8 @@ find -L . \
# Fix .desktop item.
sed -i -e '/^Encoding/d' -e "/^Icon/s|=.*|=$PRGNAM|" utilities/texstudio.desktop
-# Use Qt5 if QT5GUI is yes, otherwise, default to Qt4.
-if [ "${QT5GUI:-no}" == "yes" ]; then
+# Use Qt4 if QT5GUI is no, otherwise, default to Qt5.
+if [ "${QT5GUI:-yes}" == "yes" ]; then
qmake-qt5 LIBS+="-L/usr/lib${LIBDIRSUFFIX}" QMAKE_CFLAGS+="$SLKCFLAGS" \
QMAKE_CXXFLAGS+="$SLKCFLAGS" CONFIG-=debug -o Makefile $PRGNAM.pro
else