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 "pkg-config" => :build
|
||||||
depends_on "gtk+"
|
depends_on "gtk+"
|
||||||
depends_on "gtk+3" => :recommended
|
depends_on "gtk+3" => :recommended
|
||||||
|
depends_on "gobject-introspection"
|
||||||
|
depends_on "pygtk"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
args = %W[
|
args = %W[
|
||||||
--disable-debug
|
|
||||||
--disable-dependency-tracking
|
--disable-dependency-tracking
|
||||||
--disable-silent-rules
|
--disable-silent-rules
|
||||||
--prefix=#{prefix}
|
--prefix=#{prefix}
|
||||||
--with-gtk2
|
--with-gtk2
|
||||||
--enable-python=no
|
--enable-python=yes
|
||||||
--enable-introspection=no
|
--enable-introspection=yes
|
||||||
]
|
]
|
||||||
|
|
||||||
args << ((build.without? "gtk+3") ? "--without-gtk3" : "--with-gtk3")
|
args << ((build.without? "gtk+3") ? "--without-gtk3" : "--with-gtk3")
|
||||||
|
|
Loading…
Reference in a new issue