diff options
| author | TingPing | 2014-08-12 11:47:28 -0400 |
|---|---|---|
| committer | Mike McQuaid | 2014-08-12 17:05:42 +0100 |
| commit | f1acf97f13e27076c111d3617681b20d1966bc77 (patch) | |
| tree | 769561fcf431d92b29f3bd54ae522be3f3adeb08 /Library/Formula | |
| parent | 784c714eda1132d2441c24813180b74a4c7449d4 (diff) | |
| download | homebrew-f1acf97f13e27076c111d3617681b20d1966bc77.tar.bz2 | |
libsecret: vala and gobject-introspection bindings
Mentioned in #31518
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libsecret.rb | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/Library/Formula/libsecret.rb b/Library/Formula/libsecret.rb index 5b1a297d8..d6fcd5946 100644 --- a/Library/Formula/libsecret.rb +++ b/Library/Formula/libsecret.rb @@ -15,14 +15,23 @@ class Libsecret < Formula depends_on "gnu-sed" => :build depends_on "intltool" => :build depends_on "gettext" => :build + depends_on "vala" => :optional + depends_on "gobject-introspection" => :recommended depends_on "glib" depends_on "libgcrypt" def install - system "./configure", "--disable-debug", - "--disable-dependency-tracking", - "--disable-silent-rules", - "--prefix=#{prefix}" + args = %W[ + --disable-debug + --disable-dependency-tracking + --disable-silent-rules + --prefix=#{prefix} + ] + + args << "--enable-gobject-introspection" if build.with? "gobject-introspection" + args << "--enable-vala" if build.with? "vala" + + system "./configure", *args # https://bugzilla.gnome.org/show_bug.cgi?id=734630 inreplace "Makefile", "sed", "gsed" |
