qt: rename from qt5.
parent
fdb7c6e960
commit
b92c519bbd
|
@ -1 +0,0 @@
|
||||||
../Formula/qt5.rb
|
|
|
@ -0,0 +1 @@
|
||||||
|
../Formula/qt.rb
|
|
@ -1,9 +1,9 @@
|
||||||
# Patches for Qt5 must be at the very least submitted to Qt's Gerrit codereview
|
# Patches for Qt must be at the very least submitted to Qt's Gerrit codereview
|
||||||
# rather than their bug-report Jira. The latter is rarely reviewed by Qt.
|
# rather than their bug-report Jira. The latter is rarely reviewed by Qt.
|
||||||
class Qt5 < 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/"
|
||||||
revision 1
|
revision 2
|
||||||
head "https://code.qt.io/qt/qt5.git", :branch => "5.8", :shallow => false
|
head "https://code.qt.io/qt/qt5.git", :branch => "5.8", :shallow => false
|
||||||
|
|
||||||
stable do
|
stable do
|
||||||
|
@ -54,9 +54,9 @@ class Qt5 < Formula
|
||||||
# between the 5.5.1 and 5.6.0 releases. (Remove this as soon as feasible!)
|
# between the 5.5.1 and 5.6.0 releases. (Remove this as soon as feasible!)
|
||||||
#
|
#
|
||||||
# Core formulae known to fail without this patch (as of 2016-10-15):
|
# Core formulae known to fail without this patch (as of 2016-10-15):
|
||||||
# * gnuplot (with `--with-qt5` option)
|
# * gnuplot (with `--with-qt` option)
|
||||||
# * mkvtoolnix (with `--with-qt5` option, silent build failure)
|
# * mkvtoolnix (with `--with-qt` option, silent build failure)
|
||||||
# * poppler (with `--with-qt5` option)
|
# * poppler (with `--with-qt` option)
|
||||||
patch do
|
patch do
|
||||||
url "https://raw.githubusercontent.com/Homebrew/formula-patches/e8fe6567/qt5/restore-pc-files.patch"
|
url "https://raw.githubusercontent.com/Homebrew/formula-patches/e8fe6567/qt5/restore-pc-files.patch"
|
||||||
sha256 "48ff18be2f4050de7288bddbae7f47e949512ac4bcd126c2f504be2ac701158b"
|
sha256 "48ff18be2f4050de7288bddbae7f47e949512ac4bcd126c2f504be2ac701158b"
|
||||||
|
@ -123,14 +123,11 @@ class Qt5 < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
# Move `*.app` bundles into `libexec` to expose them to `brew linkapps` and
|
# Move `*.app` bundles into `libexec` to expose them to `brew linkapps` and
|
||||||
# because we don't like having them in `bin`. Also add a `-qt5` suffix to
|
# because we don't like having them in `bin`.
|
||||||
# avoid conflict with the `*.app` bundles provided by the `qt` formula.
|
# (Note: This move breaks invocation of Assistant via the Help menu
|
||||||
# (Note: This move/rename breaks invocation of Assistant via the Help menu
|
|
||||||
# of both Designer and Linguist as that relies on Assistant being in `bin`.)
|
# of both Designer and Linguist as that relies on Assistant being in `bin`.)
|
||||||
libexec.mkpath
|
libexec.mkpath
|
||||||
Pathname.glob("#{bin}/*.app") do |app|
|
Pathname.glob("#{bin}/*.app") {|app| mv app, libexec }
|
||||||
mv app, libexec/"#{app.basename(".app")}-qt5.app"
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def caveats; <<-EOS.undent
|
def caveats; <<-EOS.undent
|
|
@ -130,6 +130,7 @@
|
||||||
"ppl011": "ppl@0.11",
|
"ppl011": "ppl@0.11",
|
||||||
"protobuf250": "protobuf@2.5",
|
"protobuf250": "protobuf@2.5",
|
||||||
"protobuf260": "protobuf@2.6",
|
"protobuf260": "protobuf@2.6",
|
||||||
|
"qt5": "qt",
|
||||||
"qt55": "qt@5.5",
|
"qt55": "qt@5.5",
|
||||||
"racket": "minimal-racket",
|
"racket": "minimal-racket",
|
||||||
"rebar3": "rebar@3",
|
"rebar3": "rebar@3",
|
||||||
|
|
Loading…
Reference in New Issue