Commit 324be2f0 authored by Ed Reel's avatar Ed Reel Committed by Chris Thurber

Add qtfm package (#3299)

* Add qtfm package

* Add pre-built binaries
parent 9a47205e
require 'package'
class Qtfm < Package
description 'Lightweight desktop independent Qt file manager'
homepage 'https://qtfm.eu/'
version '6.1.9'
source_url 'https://github.com/rodlie/qtfm/archive/6.1.9.tar.gz'
source_sha256 'ff7ab3244999653fd7f8fb9dc1bd06a599d18faaa7c17b1bc4e2d8830ba9feb5'
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'
depends_on 'imagemagick7'
depends_on 'ffmpeg'
depends_on 'sommelier'
def self.build
Dir.mkdir 'build'
Dir.chdir 'build' do
system 'qmake',
"PREFIX=#{CREW_PREFIX}",
"LIBDIR=#{CREW_LIB_PREFIX}",
'CONFIG+=with_includes',
'CONFIG+=with_magick',
'CONFIG+=with_ffmpeg',
'CONFIG+=sharedlib',
'..'
system 'make', "-j#{CREW_NPROC}"
end
end
def self.install
Dir.chdir 'build' do
system 'make', "INSTALL_ROOT=#{CREW_DEST_DIR}", 'install'
end
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