diff options
| author | Florian Zwoch | 2014-12-25 23:35:46 +0100 |
|---|---|---|
| committer | Jack Nagel | 2014-12-30 23:06:13 -0500 |
| commit | 839150bdbdc24ee2e290107973130881a64de94f (patch) | |
| tree | ea1efa483ae33034f7179c921878646a02d46efb /Library/Formula | |
| parent | 10cfaeb6b270849458e99794fe1e9ed20863857d (diff) | |
| download | homebrew-839150bdbdc24ee2e290107973130881a64de94f.tar.bz2 | |
gst-plugins-bad: add option to build applemedia elements
Closes #35284.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gst-plugins-bad.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/gst-plugins-bad.rb b/Library/Formula/gst-plugins-bad.rb index 1fbf22a45..a69827a57 100644 --- a/Library/Formula/gst-plugins-bad.rb +++ b/Library/Formula/gst-plugins-bad.rb @@ -34,16 +34,19 @@ class GstPluginsBad < Formula depends_on 'rtmpdump' => :optional depends_on 'schroedinger' => :optional + option 'with-applemedia', 'Build with applemedia support' + def install args = %W[ --prefix=#{prefix} - --disable-apple_media --disable-yadif --disable-sdl --disable-debug --disable-dependency-tracking ] + args << "--disable-apple_media" if build.without? "applemedia" + if build.head? ENV["NOCONFIGURE"] = "yes" system "./autogen.sh" |
