diff options
| author | Samuel John | 2013-07-15 12:13:12 +0200 |
|---|---|---|
| committer | Samuel John | 2013-07-15 12:13:31 +0200 |
| commit | 5c152108876cc2c19b492532c0276b0c97c72108 (patch) | |
| tree | 2025b2104957b2e0ddbe8f921bdbcd1a65adb3d5 /Library | |
| parent | 610322edbad8e45f85c3e9a555434cf4ad760e42 (diff) | |
| download | homebrew-5c152108876cc2c19b492532c0276b0c97c72108.tar.bz2 | |
qt5: head branch is no longer 'master'
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/qt5.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/qt5.rb b/Library/Formula/qt5.rb index 2a225e6b7..68fd99eb3 100644 --- a/Library/Formula/qt5.rb +++ b/Library/Formula/qt5.rb @@ -5,7 +5,7 @@ class Qt5 < Formula url 'http://download.qt-project.org/official_releases/qt/5.1/5.1.0/single/qt-everywhere-opensource-src-5.1.0.tar.gz' sha1 '12d706124dbfac3d542dd3165176a978d478c085' - head 'git://gitorious.org/qt/qt5.git', :branch => 'master' + head 'git://gitorious.org/qt/qt5.git', :branch => 'stable' keg_only "Qt 5 conflicts Qt 4 (which is currently much more widely used)." @@ -43,7 +43,8 @@ class Qt5 < Formula args << "-I#{Formula.factory('d-bus').include}/dbus-1.0" end - unless build.include? 'with-demos-examples' + unless build.include? 'with-demos-examples' or build.head? + # In latest head `-nomake demos` is no longer recognized args << "-nomake" << "demos" << "-nomake" << "examples" end @@ -89,7 +90,7 @@ class Qt5 < Formula end end - def test + test do system "#{bin}/qmake", "--version" end |
