From 5d47ec0345057938bcc66e8839ca855d5bae9243 Mon Sep 17 00:00:00 2001 From: Grzegorz Dzięgielewski Date: Wed, 8 Oct 2014 11:09:17 +0200 Subject: qt5: add --with-examples. Closes #33020. Signed-off-by: Mike McQuaid --- Library/Formula/qt5.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/qt5.rb b/Library/Formula/qt5.rb index ab1a41967..8d400e03a 100644 --- a/Library/Formula/qt5.rb +++ b/Library/Formula/qt5.rb @@ -35,6 +35,7 @@ class Qt5 < Formula option :universal option "with-docs", "Build documentation" + option "with-examples", "Build examples" option "developer", "Build and link with developer options" depends_on "pkg-config" => :build @@ -48,10 +49,11 @@ class Qt5 < Formula "-system-zlib", "-qt-libpng", "-qt-libjpeg", "-confirm-license", "-opensource", - "-nomake", "examples", "-nomake", "tests", "-release"] + args << "-nomake" << "examples" if build.without? "examples" + # https://bugreports.qt-project.org/browse/QTBUG-34382 args << "-no-xcb" -- cgit v1.2.3