aboutsummaryrefslogtreecommitdiff
path: root/office/texstudio/texstudio.SlackBuild
diff options
context:
space:
mode:
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