qt5: move to new qt url
Strict audit fixes as well. Also moves the bug reports to the new URL, because the old one won’t redirect due to the broken Qt SSL cert on the old website now, so people just run into awful looking cert failures. Closes Homebrew/homebrew#36939. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
0f87114488
commit
5066415690
1 changed files with 11 additions and 8 deletions
|
@ -11,8 +11,8 @@ end
|
|||
|
||||
class Qt5 < Formula
|
||||
homepage "http://qt-project.org/"
|
||||
url "http://qtmirror.ics.com/pub/qtproject/official_releases/qt/5.4/5.4.0/single/qt-everywhere-opensource-src-5.4.0.tar.xz"
|
||||
mirror "http://download.qt-project.org/official_releases/qt/5.4/5.4.0/single/qt-everywhere-opensource-src-5.4.0.tar.xz"
|
||||
url "https://download.qt.io/official_releases/qt/5.4/5.4.0/single/qt-everywhere-opensource-src-5.4.0.tar.xz"
|
||||
mirror "http://qtmirror.ics.com/pub/qtproject/official_releases/qt/5.4/5.4.0/single/qt-everywhere-opensource-src-5.4.0.tar.xz"
|
||||
sha1 "2f5558b87f8cea37c377018d9e7a7047cc800938"
|
||||
|
||||
bottle do
|
||||
|
@ -28,9 +28,12 @@ class Qt5 < Formula
|
|||
option :universal
|
||||
option "with-docs", "Build documentation"
|
||||
option "with-examples", "Build examples"
|
||||
option "developer", "Build and link with developer options"
|
||||
option "with-developer", "Build and link with developer options"
|
||||
option "with-oci", "Build with Oracle OCI plugin"
|
||||
|
||||
deprecated_option "developer" => "with-developer"
|
||||
deprecated_option "qtdbus" => "with-d-bus"
|
||||
|
||||
# Snow Leopard is untested and support has been removed in 5.4
|
||||
# https://qt.gitorious.org/qt/qtbase/commit/5be81925d7be19dd0f1022c3cfaa9c88624b1f08
|
||||
depends_on :macos => :lion
|
||||
|
@ -42,12 +45,11 @@ class Qt5 < Formula
|
|||
# There needs to be an OpenSSL dep here ideally, but qt keeps ignoring it.
|
||||
# Keep nagging upstream for a fix to this problem, and revision when possible.
|
||||
# https://github.com/Homebrew/homebrew/pull/34929
|
||||
# https://bugreports.qt-project.org/browse/QTBUG-42161
|
||||
# https://bugreports.qt.io/browse/QTBUG-42161
|
||||
# https://bugreports.qt.io/browse/QTBUG-43456
|
||||
|
||||
depends_on OracleHomeVar if build.with? "oci"
|
||||
|
||||
deprecated_option "qtdbus" => "with-d-bus"
|
||||
|
||||
def install
|
||||
ENV.universal_binary if build.universal?
|
||||
|
||||
|
@ -84,12 +86,13 @@ class Qt5 < Formula
|
|||
args << "-plugin-sql-oci"
|
||||
end
|
||||
|
||||
args << "-developer-build" if build.include? "developer"
|
||||
args << "-developer-build" if build.with? "developer"
|
||||
|
||||
system "./configure", *args
|
||||
system "make"
|
||||
ENV.j1
|
||||
system "make install"
|
||||
system "make", "install"
|
||||
|
||||
if build.with? "docs"
|
||||
system "make", "docs"
|
||||
system "make", "install_docs"
|
||||
|
|
Loading…
Reference in a new issue