mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
meson: Add a wrap file for libsrt2p
And allow fallback to it. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3708>
This commit is contained in:
parent
b3fb3c3f30
commit
cc3078d819
2 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
8
subprojects/libsrtp2.wrap
Normal file
8
subprojects/libsrtp2.wrap
Normal file
|
@ -0,0 +1,8 @@
|
|||
[wrap-git]
|
||||
directory = libsrtp
|
||||
url = https://github.com/cisco/libsrtp.git
|
||||
revision = b1f3b8b2db4386cae0778d80f507d6d75f56ad4f
|
||||
depth = 1
|
||||
|
||||
[provide]
|
||||
libsrtp2 = libsrtp2_dep
|
Loading…
Reference in a new issue