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:
parent
d6b9be9a36
commit
25a1dede15
1 changed files with 3 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue