Commit 18ba1ae0 authored by vincowl's avatar vincowl Committed by GitHub

[Qtfm] Update to 6.2.0 (#4302)

* [qtfm] Update to 6.2.0

* Correction of include missings due to QT-5.15

* Simplify make arguments

* simplify sed lines
parent c8bdbfc9
......@@ -3,22 +3,14 @@ require 'package'
class Qtfm < Package
description 'Lightweight desktop independent Qt file manager'
homepage 'https://qtfm.eu/'
version '6.1.9'
version '6.2.0'
compatibility 'all'
source_url 'https://github.com/rodlie/qtfm/archive/6.1.9.tar.gz'
source_sha256 'ff7ab3244999653fd7f8fb9dc1bd06a599d18faaa7c17b1bc4e2d8830ba9feb5'
source_url 'https://github.com/rodlie/qtfm/archive/6.2.0.tar.gz'
source_sha256 '58c6af502b606e63f96e8aec96b65ca9125be18ecdd5e4680ccaf50e9c40b064'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/qtfm-6.1.9-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/qtfm-6.1.9-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/qtfm-6.1.9-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/qtfm-6.1.9-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'ea056bde713fb33aca3e3517ec75c56522e94a2427b93fa443a8a84f1194dd41',
armv7l: 'ea056bde713fb33aca3e3517ec75c56522e94a2427b93fa443a8a84f1194dd41',
i686: 'd5bf9ef2fbcb40e70cfc555e4db5da5221e1943fcf25e92e7e7c78aa780384d0',
x86_64: '4f2c3627f10189a5b801e05b048039b6ee7884f211c655694d96ad1351e240e1',
})
depends_on 'qtbase'
......@@ -26,6 +18,11 @@ class Qtfm < Package
depends_on 'ffmpeg'
depends_on 'sommelier'
def self.patch
system "sed -i '12i#include <QPainterPath>' libfm/iconlist.h"
system "sed -i '14i#include <QPainterPath>' libfm/iconview.h"
end
def self.build
Dir.mkdir 'build'
Dir.chdir 'build' do
......@@ -34,10 +31,11 @@ class Qtfm < Package
"LIBDIR=#{CREW_LIB_PREFIX}",
'CONFIG+=with_includes',
'CONFIG+=with_magick',
'CONFIG+=magick7',
'CONFIG+=with_ffmpeg',
'CONFIG+=sharedlib',
'..'
system 'make', "-j#{CREW_NPROC}"
system 'make'
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment