mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 20:09:01 +08:00
30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
|
diff --git a/subprojects/gst-plugins-bad/ext/srtp/meson.build b/subprojects/gst-plugins-bad/ext/srtp/meson.build
|
||
|
index 7f947191ae..b4a8e9c2a8 100644
|
||
|
--- a/subprojects/gst-plugins-bad/ext/srtp/meson.build
|
||
|
+++ b/subprojects/gst-plugins-bad/ext/srtp/meson.build
|
||
|
@@ -6,12 +6,14 @@ srtp_sources = [
|
||
|
'gstsrtpenc.c',
|
||
|
]
|
||
|
|
||
|
+gst_plugins_install_dir = join_paths(get_option('libdir'), 'gstreamer-1.0')
|
||
|
+
|
||
|
srtp_cargs = []
|
||
|
if get_option('srtp').disabled()
|
||
|
subdir_done()
|
||
|
endif
|
||
|
|
||
|
-srtp_dep = dependency('libsrtp2', version : '>= 2.1.0', required : false)
|
||
|
+srtp_dep = dependency('libSRTP', modules: ['libSRTP::srtp2'], version : '>= 2.1.0', required : false)
|
||
|
if srtp_dep.found()
|
||
|
srtp_cargs += ['-DHAVE_SRTP2']
|
||
|
else
|
||
|
@@ -37,7 +39,7 @@ if srtp_dep.found()
|
||
|
include_directories : [configinc],
|
||
|
dependencies : [gstrtp_dep, gstvideo_dep, srtp_dep],
|
||
|
install : true,
|
||
|
- install_dir : plugins_install_dir,
|
||
|
+ install_dir : gst_plugins_install_dir,
|
||
|
)
|
||
|
pkgconfig.generate(gstsrtp, install_dir : plugins_pkgconfig_install_dir)
|
||
|
plugins += [gstsrtp]
|