pygtk: modernize optional dependency
Closes Homebrew/homebrew#28092. Note from Jack: I know renaming an option is bad form, but my gut says this is a little-used option and it's worth changing to fix the cases where it is causing breakage. See https://github.com/Homebrew/homebrew/issues/27485 for background. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
b499a1c371
commit
073959abdc
1 changed files with 1 additions and 2 deletions
|
@ -12,10 +12,9 @@ class Pygtk < Formula
|
|||
depends_on 'atk'
|
||||
depends_on 'pygobject'
|
||||
depends_on 'py2cairo'
|
||||
depends_on 'libglade' if build.include? 'glade'
|
||||
depends_on 'libglade' => :optional
|
||||
|
||||
option :universal
|
||||
option 'glade', 'Python bindigs for glade. (to `import gtk.glade`)'
|
||||
|
||||
def install
|
||||
ENV.append 'CFLAGS', '-ObjC'
|
||||
|
|
Loading…
Reference in a new issue