aboutsummaryrefslogtreecommitdiff
path: root/development/tea
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2021-04-17 11:07:40 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-24 23:21:10 +0700
commit342e5a0bdcbc15669b109f4b1272d41ad1a3c5d5 (patch)
treed83278678f48dd332f611afe7711544d08d737f2 /development/tea
parenta3da048e47c6422ac8d59f93ab931a8c7c729f00 (diff)
development/tea: Updated to reflect changes in 15.0 - uses qt5 by default
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/tea')
-rw-r--r--development/tea/README5
-rw-r--r--development/tea/tea.SlackBuild8
2 files changed, 10 insertions, 3 deletions
diff --git a/development/tea/README b/development/tea/README
index b4c4450e6c3b..be64d66032f8 100644
--- a/development/tea/README
+++ b/development/tea/README
@@ -1,2 +1,7 @@
TEA is the text editor for UNIX-like systems and Windows. With an
ultimate small size, TEA provides you hundreds of functions.
+
+TEA is by default built against qt5.
+It could be built against qt4 or even qt6, if they are installed, using:
+QT4=yes ./tea.SlackBuild
+QT6=yes ./tea.SlackBuild
diff --git a/development/tea/tea.SlackBuild b/development/tea/tea.SlackBuild
index bd1dfcd8fb1d..e81795390441 100644
--- a/development/tea/tea.SlackBuild
+++ b/development/tea/tea.SlackBuild
@@ -71,10 +71,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-if [ ${QT5:-yes} = yes ]; then
- QMAKE=qmake-qt5
+if [ ${QT4:-no} = yes ]; then
+ QMAKE=qmake-qt4
+elif [ ${QT6:-no} = yes ]; then
+ QMAKE=qmake-qt6
else
- QMAKE=qmake
+ QMAKE=qmake-qt5
fi
$QMAKE "PREFIX=/usr/bin" "QMAKE_CXXFLAGS+=$SLKCFLAGS" "QMAKE_CFLAGS+=$SLKCFLAGS"