Skip to content

Commit 23564bd

Browse files
committed
gstreamer: add linbice dependency
This enables the nice plugins and also adds the webrtcbin plugins from gst-plugins-bad. Note, that this is different from the disabled libnice subproject. The subproject clones libnice and try to install it in the system, which we don't want. In contrast, adding the dependency just allows plugins to depend on the system installed one.
1 parent cee77d5 commit 23564bd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Formula/g/gstreamer.rb

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ class Gstreamer < Formula
22
desc "Development framework for multimedia applications"
33
homepage "https://gstreamer.freedesktop.org/"
44
license all_of: ["LGPL-2.0-or-later", "LGPL-2.1-or-later", "MIT"]
5+
revision 1
56

67
stable do
78
url "https://gitlab.freedesktop.org/gstreamer/gstreamer/-/archive/1.22.9/gstreamer-1.22.9.tar.gz"
@@ -62,6 +63,7 @@ class Gstreamer < Formula
6263
depends_on "jpeg-turbo"
6364
depends_on "json-glib"
6465
depends_on "lame"
66+
depends_on "libnice"
6567
depends_on "libogg"
6668
depends_on "libpng"
6769
depends_on "libpthread-stubs"
@@ -202,6 +204,11 @@ def install
202204
def caveats
203205
<<~EOS
204206
All gst-* GStreamer plugins are now bundled in this formula.
207+
208+
GStreamer plugins are located in `#{HOMEBREW_PREFIX}/lib/gstreamer-1.0`
209+
and `GST_PLUGIN_SYSTEM_PATH` needs to be set accordingly:
210+
export GST_PLUGIN_SYSTEM_PATH="#{HOMEBREW_PREFIX}/lib/gstreamer-1.0"
211+
205212
For GStreamer to find your own plugins, add their paths to `GST_PLUGIN_PATH`.
206213
For example, if you have plugins in `~/.local/lib/gstreamer-1.0`:
207214
export GST_PLUGIN_PATH="~/.local/lib/gstreamer-1.0"

0 commit comments

Comments
 (0)