qt 5.10.1

mirror to Bintray and use Bintray mirror for primary

Closes #24084.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
ilovezfs 2018-02-13 06:08:22 -08:00 committed by FX Coudert
parent 23c2772c86
commit f8804f99ac

View file

@ -3,10 +3,10 @@
class Qt < Formula class Qt < Formula
desc "Cross-platform application and UI framework" desc "Cross-platform application and UI framework"
homepage "https://www.qt.io/" homepage "https://www.qt.io/"
url "https://download.qt.io/official_releases/qt/5.10/5.10.0/single/qt-everywhere-src-5.10.0.tar.xz" url "https://dl.bintray.com/homebrew/mirror/qt-5.10.1.tar.xz"
mirror "https://www.mirrorservice.org/sites/download.qt-project.org/official_releases/qt/5.10/5.10.0/single/qt-everywhere-src-5.10.0.tar.xz" mirror "https://download.qt.io/official_releases/qt/5.10/5.10.1/single/qt-everywhere-src-5.10.1.tar.xz"
sha256 "936d4cf5d577298f4f9fdb220e85b008ae321554a5fcd38072dc327a7296230e" mirror "https://www.mirrorservice.org/sites/download.qt-project.org/official_releases/qt/5.10/5.10.1/single/qt-everywhere-src-5.10.1.tar.xz"
revision 1 sha256 "05ffba7b811b854ed558abf2be2ddbd3bb6ddd0b60ea4b5da75d277ac15e740a"
head "https://code.qt.io/qt/qt5.git", :branch => "5.10", :shallow => false head "https://code.qt.io/qt/qt5.git", :branch => "5.10", :shallow => false
bottle do bottle do
@ -44,18 +44,6 @@ class Qt < Formula
sha256 "48ff18be2f4050de7288bddbae7f47e949512ac4bcd126c2f504be2ac701158b" sha256 "48ff18be2f4050de7288bddbae7f47e949512ac4bcd126c2f504be2ac701158b"
end end
# Remove for > 5.10.0
# Fix "error: 'loadFileURL:allowingReadAccessToURL:' is only available on
# macOS 10.11 or newer [-Werror,-Wunguarded-availability]"
# Reported 8 Dec 2017 https://bugreports.qt.io/browse/QTBUG-65075
# Equivalent to upstream fix from 8 Dec 2017 https://codereview.qt-project.org/#/c/213993/
if MacOS::Xcode.version >= "9.0"
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/9c97726e2b153099049326ade23fe24b52b778fe/qt/QTBUG-65075.diff"
sha256 "a51595868c6173ab53463107e0ee3355576002c32ab80897587c3607589cfd22"
end
end
def install def install
args = %W[ args = %W[
-verbose -verbose