diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2023-01-14 12:29:03 +0530 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2023-01-25 11:38:52 +0000 |
commit | cc3078d81925b4f949b0e16a457c868f4d7f7960 (patch) | |
tree | 65aeac55282fddba95d0732103dfd45455b089e5 /subprojects | |
parent | b3fb3c3f30419b0986e26c25dee07fdac216ee07 (diff) |
meson: Add a wrap file for libsrt2p
And allow fallback to it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3708>
Diffstat (limited to 'subprojects')
-rw-r--r-- | subprojects/gst-plugins-bad/ext/srtp/meson.build | 2 | ||||
-rw-r--r-- | subprojects/libsrtp2.wrap | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/subprojects/gst-plugins-bad/ext/srtp/meson.build b/subprojects/gst-plugins-bad/ext/srtp/meson.build index 49eed5b0e2..908ead9661 100644 --- a/subprojects/gst-plugins-bad/ext/srtp/meson.build +++ b/subprojects/gst-plugins-bad/ext/srtp/meson.build @@ -12,7 +12,7 @@ if get_option('srtp').disabled() subdir_done() endif -srtp_dep = dependency('libsrtp2', version : '>= 2.1.0', required : false) +srtp_dep = dependency('libsrtp2', version : '>= 2.1.0', required : false, allow_fallback: true) if srtp_dep.found() srtp_cargs += ['-DHAVE_SRTP2'] else diff --git a/subprojects/libsrtp2.wrap b/subprojects/libsrtp2.wrap new file mode 100644 index 0000000000..bd54321d9d --- /dev/null +++ b/subprojects/libsrtp2.wrap @@ -0,0 +1,8 @@ +[wrap-git] +directory = libsrtp +url = https://github.com/cisco/libsrtp.git +revision = b1f3b8b2db4386cae0778d80f507d6d75f56ad4f +depth = 1 + +[provide] +libsrtp2 = libsrtp2_dep |