diff options
author | Matteo Bernardini | 2018-07-28 07:58:42 +0200 |
---|---|---|
committer | Matteo Bernardini | 2018-07-28 07:58:42 +0200 |
commit | eb9f09f3aa50f7ba72b87af629558f74d5be6d10 (patch) | |
tree | c1c2c71c4a37f5fca8c5f677d996b2113f71c3bb /system/qtfm | |
parent | dfc1e15955c74e1614673fed21a3b14a27b6bbcc (diff) | |
download | slackbuilds-current-20180728.1.tar.gz |
20180728.1 global branch merge.current-20180728.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/qtfm')
-rw-r--r-- | system/qtfm/gcc6.patch | 12 | ||||
-rw-r--r-- | system/qtfm/qtfm.SlackBuild | 11 | ||||
-rw-r--r-- | system/qtfm/qtfm.info | 8 |
3 files changed, 23 insertions, 8 deletions
diff --git a/system/qtfm/gcc6.patch b/system/qtfm/gcc6.patch new file mode 100644 index 0000000000..18a5514dce --- /dev/null +++ b/system/qtfm/gcc6.patch @@ -0,0 +1,12 @@ +diff -Naur qtfm.orig/src/mymodel.cpp qtfm/src/mymodel.cpp +--- qtfm.orig/src/mymodel.cpp 2013-05-25 19:25:38.000000000 +0200 ++++ qtfm/src/mymodel.cpp 2017-05-31 17:12:54.877169485 +0200 +@@ -220,7 +220,7 @@ + + if(item) return item->absoluteFilePath(); + +- return false; ++ return ""; + } + + //--------------------------------------------------------------------------------------- diff --git a/system/qtfm/qtfm.SlackBuild b/system/qtfm/qtfm.SlackBuild index 59cb3c3203..d7a2e4eb1d 100644 --- a/system/qtfm/qtfm.SlackBuild +++ b/system/qtfm/qtfm.SlackBuild @@ -23,7 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=qtfm -VERSION=${VERSION:-5.5} +VERSION=${VERSION:-5.9} +SRCVER=${SRCVER:-158787} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,9 +60,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM +unzip $CWD/$SRCVER-$PRGNAM.zip +cd $PRGNAM chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -69,6 +70,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +patch -p1 < $CWD/gcc6.patch + # Set doc path to /usr/doc/$PRGNAM-$VERSION in qtfm.pro sed -i "s,usr/share/doc/$PRGNAM,usr/doc/$PRGNAM-$VERSION," qtfm.pro diff --git a/system/qtfm/qtfm.info b/system/qtfm/qtfm.info index f47835683e..e209d2cb6c 100644 --- a/system/qtfm/qtfm.info +++ b/system/qtfm/qtfm.info @@ -1,8 +1,8 @@ PRGNAM="qtfm" -VERSION="5.5" -HOMEPAGE="http://www.qtfm.org/" -DOWNLOAD="http://www.qtfm.org/qtfm-5.5.tar.gz" -MD5SUM="cc1d930503bf0dedc824d6f2abdda719" +VERSION="5.9" +HOMEPAGE="http://www.qtfm.org" +DOWNLOAD="https://dl.opendesktop.org/api/files/download/id/1466643163/158787-qtfm.zip" +MD5SUM="1a94bd7fbe99e87f530dc9bc1d7a8c45" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |