mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
macos: Native file updates
We ship a vpx wrap now, and we need to explicitly pass options to glib-networking and libnice. Also, ensure that we're building the right GL API/winsys/platform. This sets a default to protect us from stray Homebrew installations with XQuartz. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7192>
This commit is contained in:
parent
65ff618bb6
commit
08064af054
1 changed files with 13 additions and 3 deletions
|
@ -8,7 +8,6 @@ common_args = ['--sysroot=' + macosx_sdk, '-mmacosx-version-min=' + macosx_m
|
||||||
# Uncomment for arm64 macs:
|
# Uncomment for arm64 macs:
|
||||||
homebrew_prefix = '/opt/homebrew'
|
homebrew_prefix = '/opt/homebrew'
|
||||||
openssl_pc = homebrew_prefix / 'opt/openssl@1.1/lib/pkgconfig'
|
openssl_pc = homebrew_prefix / 'opt/openssl@1.1/lib/pkgconfig'
|
||||||
vpx_pc = homebrew_prefix / 'opt/libvpx/lib/pkgconfig'
|
|
||||||
|
|
||||||
[built-in options]
|
[built-in options]
|
||||||
c_args = common_args
|
c_args = common_args
|
||||||
|
@ -19,10 +18,11 @@ c_link_args = common_args
|
||||||
cpp_link_args = common_args
|
cpp_link_args = common_args
|
||||||
objc_link_args = common_args
|
objc_link_args = common_args
|
||||||
objcpp_link_args = common_args
|
objcpp_link_args = common_args
|
||||||
pkg_config_path = [openssl_pc, vpx_pc]
|
pkg_config_path = [openssl_pc]
|
||||||
force_fallback_for = ['zlib', 'libffi']
|
force_fallback_for = ['zlib', 'libffi', 'glib', 'libvpx']
|
||||||
|
|
||||||
[project options]
|
[project options]
|
||||||
|
ges = 'enabled'
|
||||||
rs = 'enabled'
|
rs = 'enabled'
|
||||||
libnice = 'enabled'
|
libnice = 'enabled'
|
||||||
tls = 'enabled'
|
tls = 'enabled'
|
||||||
|
@ -30,9 +30,19 @@ introspection = 'disabled'
|
||||||
python = 'disabled'
|
python = 'disabled'
|
||||||
qt5 = 'enabled'
|
qt5 = 'enabled'
|
||||||
|
|
||||||
|
[libnice:project options]
|
||||||
|
crypto-library = 'openssl'
|
||||||
|
|
||||||
|
[glib-networking:project options]
|
||||||
|
gnutls = 'disabled'
|
||||||
|
openssl = 'enabled'
|
||||||
|
|
||||||
[gst-plugins-base:project options]
|
[gst-plugins-base:project options]
|
||||||
gl = 'enabled'
|
gl = 'enabled'
|
||||||
pango = 'enabled'
|
pango = 'enabled'
|
||||||
|
gl_api = ['opengl']
|
||||||
|
gl_platform = ['cgl']
|
||||||
|
gl_winsys = ['cocoa']
|
||||||
|
|
||||||
[gst-plugins-bad:project options]
|
[gst-plugins-bad:project options]
|
||||||
applemedia = 'enabled'
|
applemedia = 'enabled'
|
||||||
|
|
Loading…
Reference in a new issue