Permalink
Browse files

qt 4.8.7

Bump to latest (and final) Qt 4 release. This drops the separate patch
that is now included in the new release. Also moves to the HTTPS mirror
recently adopted in the 'qt5' formula and fixes an indentation error.

Closes Homebrew/legacy-homebrew#40510.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
  • Loading branch information...
UniqMartin authored and tdsmith committed Jun 8, 2015
1 parent 5e67b45 commit 4d4f98b8ce94c9e46b2a5bb2dad05b09e79e5872
Showing with 9 additions and 15 deletions.
  1. +9 −15 Formula/qt.rb
View
@@ -3,15 +3,9 @@ class Qt < Formula
homepage "https://www.qt.io/"
stable do
url "https://download.qt.io/official_releases/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz"
mirror "http://qtmirror.ics.com/pub/qtproject/official_releases/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz"
sha256 "8b14dd91b52862e09b8e6a963507b74bc2580787d171feda197badfa7034032c"
# This patch should be able to be removed with the next stable Qt4 release.
patch do
url "https://raw.githubusercontent.com/DomT4/scripts/440e3cafde5bf6ec6f50cd28fa5bf89c280f1b53/Homebrew_Resources/Qt/qt4patch.diff"
sha256 "b0e597a95b40efe36b093230d0fe3c0461aaa24eb6ff01e084e37e1f61f88114"
end
url "https://download.qt.io/official_releases/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz"
mirror "https://www.mirrorservice.org/sites/download.qt-project.org/official_releases/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz"
sha256 "e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0"
end
bottle do
@@ -46,13 +40,13 @@ def install
"-cocoa", "-fast", "-release"]
if ENV.compiler == :clang
args << "-platform"
args << "-platform"
if MacOS.version >= :mavericks
args << "unsupported/macx-clang-libc++"
else
args << "unsupported/macx-clang"
end
if MacOS.version >= :mavericks
args << "unsupported/macx-clang-libc++"
else
args << "unsupported/macx-clang"
end
end
args << "-plugin-sql-mysql" if build.with? "mysql"

0 comments on commit 4d4f98b

Please sign in to comment.