diff --git a/srcpkgs/qtfm/patches/make_it_build_fixes.patch b/srcpkgs/qtfm/patches/make_it_build_fixes.patch new file mode 100644 index 0000000000..b0814377ad --- /dev/null +++ b/srcpkgs/qtfm/patches/make_it_build_fixes.patch @@ -0,0 +1,12 @@ +diff -Naur src/mymodel.cpp qtfm.new/src/mymodel.cpp +--- src/mymodel.cpp 2017-10-28 22:06:56.289345197 +0200 ++++ qtfm.new/src/mymodel.cpp 2017-10-28 22:07:36.822507089 +0200 +@@ -220,7 +220,7 @@ + + if(item) return item->absoluteFilePath(); + +- return false; ++ return "This won't work"; + } + + //--------------------------------------------------------------------------------------- diff --git a/srcpkgs/qtfm/template b/srcpkgs/qtfm/template new file mode 100644 index 0000000000..7e5920c1bc --- /dev/null +++ b/srcpkgs/qtfm/template @@ -0,0 +1,19 @@ +# Template file for 'qtfm' +pkgname=qtfm +version=5.9 +revision=1 +build_style=qmake +hostmakedepends="unzip" +makedepends="file-devel qt5-devel" +depends="desktop-file-utils" +maintainer="cr6git " +short_desc="Lightweight file manager for Linux desktops based on pure Qt" +homepage="https://www.linux-apps.com/content/show.php/QtFM?content=158787" +license="GPL-2" +distfiles="https://dl.opendesktop.org/api/files/download/id/1466643163/158787-qtfm.zip" +checksum=07ffd61dd5d4aa7c16f1c544804517b621e3ef1a30eeda97c087219a3cb35128 +wrksrc="qtfm" + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-devel" +fi