aboutsummaryrefslogtreecommitdiff
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
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>
-rw-r--r--office/texstudio/README5
-rw-r--r--office/texstudio/texstudio.SlackBuild6
-rw-r--r--office/texstudio/texstudio.info6
3 files changed, 6 insertions, 11 deletions
diff --git a/office/texstudio/README b/office/texstudio/README
index 401134bcc7fa..1aa94dc615ef 100644
--- a/office/texstudio/README
+++ b/office/texstudio/README
@@ -1,8 +1,3 @@
Texstudio is a free LaTeX editor that integrates many
tools needed to develop documents with LaTeX in just
one application.
-
-Note: Texstudio can be optionally compiled with
-poppler-qt5 by passing the argument QT5GUI=yes.
-
- QT5GUI=yes ./texstudio.SlackBuild
diff --git a/office/texstudio/texstudio.SlackBuild b/office/texstudio/texstudio.SlackBuild
index 31c132600ba4..f97254e36042 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
diff --git a/office/texstudio/texstudio.info b/office/texstudio/texstudio.info
index 6d6f70dbc40d..e2e011b7e845 100644
--- a/office/texstudio/texstudio.info
+++ b/office/texstudio/texstudio.info
@@ -1,8 +1,8 @@
PRGNAM="texstudio"
-VERSION="2.12.22"
+VERSION="3.1.2"
HOMEPAGE="http://texstudio.sourceforge.net/"
-DOWNLOAD="https://github.com/texstudio-org/texstudio/archive/2.12.22/texstudio-2.12.22.tar.gz"
-MD5SUM="7b586664a7490b411a5e0e9cc4e5ce87"
+DOWNLOAD="https://github.com/texstudio-org/texstudio/archive/3.1.2/texstudio-3.1.2.tar.gz"
+MD5SUM="7c6ed979ea5528f87122fdb0720942fe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""