gwenhywfar: add --without-cocoa option

and build with cocoa gui by default

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Alexis Hildebrandt 2014-04-26 11:50:01 +02:00 committed by Jack Nagel
parent d6b9be9a36
commit 25a1dede15

View file

@ -19,10 +19,13 @@ class Gwenhywfar < Formula
depends_on 'gtk+' => :optional
depends_on 'qt' => :optional
option 'without-cocoa', 'Build without cocoa support'
def install
guis = []
guis << "gtk2" if build.with? "gtk+"
guis << "qt4" if build.with? "qt"
guis << "cocoa" if build.with? "cocoa"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",