diff options
author | Scott D Phillips <scott.d.phillips@intel.com> | 2016-10-21 00:37:03 -0700 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2016-10-24 00:51:21 +0100 |
commit | 67d0eefb8154f34c19a65bab6730819e0d6486c5 (patch) | |
tree | cbe005cc6b19d92b50c20fd98e0667866b04ade7 | |
parent | 2ea67f0da2d8789427a099cee848b3d5543cbbeb (diff) | |
download | gstreamer-plugins-bad-67d0eefb8154f34c19a65bab6730819e0d6486c5.tar.gz |
meson: hls: Only build when any crypto_dep is found
https://bugzilla.gnome.org/show_bug.cgi?id=773114
-rw-r--r-- | ext/hls/meson.build | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/ext/hls/meson.build b/ext/hls/meson.build index 081a0968a..f3ea432c0 100644 --- a/ext/hls/meson.build +++ b/ext/hls/meson.build @@ -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 |