gtk-mac-integration: add python bindings
Closes Homebrew/homebrew#40953. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
5fd7bbd83e
commit
f194357caa
1 changed files with 4 additions and 3 deletions
|
@ -7,16 +7,17 @@ class GtkMacIntegration < Formula
|
|||
depends_on "pkg-config" => :build
|
||||
depends_on "gtk+"
|
||||
depends_on "gtk+3" => :recommended
|
||||
depends_on "gobject-introspection"
|
||||
depends_on "pygtk"
|
||||
|
||||
def install
|
||||
args = %W[
|
||||
--disable-debug
|
||||
--disable-dependency-tracking
|
||||
--disable-silent-rules
|
||||
--prefix=#{prefix}
|
||||
--with-gtk2
|
||||
--enable-python=no
|
||||
--enable-introspection=no
|
||||
--enable-python=yes
|
||||
--enable-introspection=yes
|
||||
]
|
||||
|
||||
args << ((build.without? "gtk+3") ? "--without-gtk3" : "--with-gtk3")
|
||||
|
|
Loading…
Reference in a new issue