diff options
| author | T.J. Purtell | 2014-11-16 18:13:48 -0800 |
|---|---|---|
| committer | Mike McQuaid | 2014-11-17 10:19:32 +0000 |
| commit | 2dc205a1b1dfc7cf136510cf3717362fa4163407 (patch) | |
| tree | 4690341786c0a36058e0675cd7a299edc15f09d7 /Library | |
| parent | 136b68c669e9c70ecfd5a7b9fc52371cc03129c8 (diff) | |
| download | homebrew-2dc205a1b1dfc7cf136510cf3717362fa4163407.tar.bz2 | |
gtk+3, pango: add universal support.
Closes #34248.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gtk+3.rb | 4 | ||||
| -rw-r--r-- | Library/Formula/pango.rb | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/gtk+3.rb b/Library/Formula/gtk+3.rb index b43acd55a..058d45598 100644 --- a/Library/Formula/gtk+3.rb +++ b/Library/Formula/gtk+3.rb @@ -11,6 +11,8 @@ class Gtkx3 < Formula sha1 "cee7dfbdecacadd2b8dea994ce698364fd2045c6" => :mountain_lion end + option :universal + depends_on :x11 => ['2.5', :recommended] # needs XInput2, introduced in libXi 1.3 depends_on 'pkg-config' => :build depends_on 'glib' @@ -40,6 +42,8 @@ class Gtkx3 < Formula end def install + ENV.universal_binary if build.universal? + args = %W[ --disable-debug --disable-dependency-tracking diff --git a/Library/Formula/pango.rb b/Library/Formula/pango.rb index a4c59df84..3c4206c80 100644 --- a/Library/Formula/pango.rb +++ b/Library/Formula/pango.rb @@ -21,6 +21,8 @@ class Pango < Formula sha1 "ea288645c2ca58b4addf29c0140fb3ecec6ea3ab" => :mountain_lion end + option :universal + depends_on 'pkg-config' => :build depends_on 'glib' depends_on 'cairo' @@ -35,6 +37,8 @@ class Pango < Formula end def install + ENV.universal_binary if build.universal? + args = %W[ --disable-dependency-tracking --disable-silent-rules |
