summaryrefslogtreecommitdiffstats
path: root/development/tea
diff options
context:
space:
mode:
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 b4c4450e6c..be64d66032 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 bd1dfcd8fb..e817953904 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"