aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorFlorian Zwoch2014-12-25 23:35:46 +0100
committerJack Nagel2014-12-30 23:06:13 -0500
commit839150bdbdc24ee2e290107973130881a64de94f (patch)
treeea1efa483ae33034f7179c921878646a02d46efb /Library/Formula
parent10cfaeb6b270849458e99794fe1e9ed20863857d (diff)
downloadhomebrew-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.rb5
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"