summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/qtfm/README6
-rw-r--r--system/qtfm/qtfm.SlackBuild18
-rw-r--r--system/qtfm/qtfm.info6
3 files changed, 19 insertions, 11 deletions
diff --git a/system/qtfm/README b/system/qtfm/README
index 24cbd05f25..8df24e1809 100644
--- a/system/qtfm/README
+++ b/system/qtfm/README
@@ -1,2 +1,4 @@
-QtFM is a small, lightweight file manager for Linux/BSD based on
-pure Qt and works great with minimal desktop environments like Fluxbox/Openbox.
+QtFM is a small, lightweight file manager for Linux/BSD based on pure Qt
+and works great with minimal desktop environments like Fluxbox/Openbox.
+
+Optional dependency: qt5 is recommended.
diff --git a/system/qtfm/qtfm.SlackBuild b/system/qtfm/qtfm.SlackBuild
index a3e1a94248..d2e3cf4b58 100644
--- a/system/qtfm/qtfm.SlackBuild
+++ b/system/qtfm/qtfm.SlackBuild
@@ -25,7 +25,7 @@
# Modified by Ole-André Rodlie, <ole.andre.rodlie@gmail.com>
PRGNAM=qtfm
-VERSION=${VERSION:-6.1.0}
+VERSION=${VERSION:-6.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,12 +66,18 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-qmake \
+if pkg-config --exists Qt5Core; then
+ QMAKE="qmake-qt5"
+else
+ QMAKE="qmake"
+fi
+
+$QMAKE \
PREFIX=/usr \
DOCDIR=/usr/doc \
MANDIR=/usr/man \
diff --git a/system/qtfm/qtfm.info b/system/qtfm/qtfm.info
index 964ce30a10..fcaeb47f1d 100644
--- a/system/qtfm/qtfm.info
+++ b/system/qtfm/qtfm.info
@@ -1,8 +1,8 @@
PRGNAM="qtfm"
-VERSION="6.1.0"
+VERSION="6.1.1"
HOMEPAGE="https://qtfm.eu"
-DOWNLOAD="https://github.com/rodlie/qtfm/archive/6.1.0/qtfm-6.1.0.tar.gz"
-MD5SUM="79cabf71f2647ccf90cd37f6114e837d"
+DOWNLOAD="https://github.com/rodlie/qtfm/archive/6.1.1/qtfm-6.1.1.tar.gz"
+MD5SUM="876e7111daf7b9ab4eb27cf53a0e94fc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""