Commit fc662780 authored by satmandu's avatar satmandu Committed by GitHub

Merge pull request #4875 from uberhacker/update-qtbase-package

Update qtbase from 5.15.1 to 5.15.2
parents 15e67f97 0af45c36
......@@ -2,23 +2,23 @@ require 'package'
class Qtbase < Package
description 'Qt Base (Core, Gui, Widgets, Network, ...)'
homepage 'https://github.com/qt/qtbase'
version '5.15.1'
homepage 'https://code.qt.io/cgit/qt/qtbase'
version '5.15.2'
compatibility 'all'
source_url 'http://download.qt.io/official_releases/qt/5.15/5.15.1/submodules/qtbase-everywhere-src-5.15.1.tar.xz'
source_sha256 '33960404d579675b7210de103ed06a72613bfc4305443e278e2d32a3eb1f3d8c'
source_url 'file:///dev/null'
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/qtbase-5.15.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/qtbase-5.15.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/qtbase-5.15.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/qtbase-5.15.1-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/qtbase-5.15.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/qtbase-5.15.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/qtbase-5.15.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/qtbase-5.15.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '435c4acd25637c6d7f547ca12ff327f5019abe2fda9ba2e27babbe5d7da41abc',
armv7l: '435c4acd25637c6d7f547ca12ff327f5019abe2fda9ba2e27babbe5d7da41abc',
i686: 'b0c8d00a7330421b3ee08bd25d4db907119a50a70006f145b61f34fadc850169',
x86_64: 'bacd7fe55f8eb855ad3c09769f588c69185971269c3ec845e15f7163a2300c35',
aarch64: 'b528840c58650096eccde40d60b8d3283badbd14ecd251969512e6158611147b',
armv7l: 'b528840c58650096eccde40d60b8d3283badbd14ecd251969512e6158611147b',
i686: '4054ed51b94ad9a9ec21cd89f0ee147aaecff572c6c2218bf8018ae2be7b4de1',
x86_64: '6f01b89c997bd5649a46103f6208fb521e3cf60ea8643adc66acbf6d758e97a0',
})
depends_on 'alsa_plugins'
......@@ -38,6 +38,8 @@ class Qtbase < Package
depends_on 'protobuf'
def self.build
system "git clone --branch v#{version} --depth 1 git://code.qt.io/qt/qtbase.git"
Dir.chdir 'qtbase' do
system './configure',
"--prefix=#{CREW_PREFIX}/share/Qt-5",
"--libdir=#{CREW_LIB_PREFIX}",
......@@ -56,12 +58,15 @@ class Qtbase < Package
'-no-openssl'
system 'make'
end
end
def self.install
Dir.chdir 'qtbase' do
system 'make', "INSTALL_ROOT=#{CREW_DEST_DIR}", 'install'
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
Dir.chdir "#{CREW_DEST_PREFIX}/share/Qt-5/bin" do
system "find . -type f -exec ln -s #{CREW_PREFIX}/share/Qt-5/bin/{} #{CREW_DEST_PREFIX}/bin/{} \\;"
end
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