mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
meson: hls: Only build when any crypto_dep is found
https://bugzilla.gnome.org/show_bug.cgi?id=773114
This commit is contained in:
parent
2ea67f0da2
commit
67d0eefb81
1 changed files with 13 additions and 11 deletions
|
@ -25,14 +25,16 @@ else
|
|||
endif
|
||||
endif
|
||||
|
||||
gsthls = library('gsthls',
|
||||
hls_sources,
|
||||
c_args : gst_plugins_bad_args + hls_cargs,
|
||||
link_args : noseh_link_args,
|
||||
include_directories : [configinc],
|
||||
dependencies : [gstpbutils_dep, gsttag_dep, gstvideo_dep,
|
||||
gstadaptivedemux_dep, gsturidownloader_dep,
|
||||
hls_crypto_dep],
|
||||
install : true,
|
||||
install_dir : plugins_install_dir,
|
||||
)
|
||||
if hls_crypto_dep.found()
|
||||
gsthls = library('gsthls',
|
||||
hls_sources,
|
||||
c_args : gst_plugins_bad_args + hls_cargs,
|
||||
link_args : noseh_link_args,
|
||||
include_directories : [configinc],
|
||||
dependencies : [gstpbutils_dep, gsttag_dep, gstvideo_dep,
|
||||
gstadaptivedemux_dep, gsturidownloader_dep,
|
||||
hls_crypto_dep],
|
||||
install : true,
|
||||
install_dir : plugins_install_dir,
|
||||
)
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue