From 515e2d765a63b60c3811efc7654b55df028c878a Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Fri, 31 Aug 2018 17:19:02 +1000 Subject: [PATCH] meson: add pkg-config file for the webrtc plugin --- ext/webrtc/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/webrtc/meson.build b/ext/webrtc/meson.build index 1d64aa9..04145eb 100644 --- a/ext/webrtc/meson.build +++ b/ext/webrtc/meson.build @@ -18,7 +18,7 @@ libnice_dep = dependency('nice', version : '>=0.1.14', required : get_option('we default_options: ['tests=false']) if libnice_dep.found() - library('gstwebrtc', + gstwebrtc_plugin = library('gstwebrtc', webrtc_sources, c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'], include_directories : [configinc], @@ -26,4 +26,5 @@ if libnice_dep.found() install : true, install_dir : plugins_install_dir, ) + pkgconfig.generate(gstwebrtc_plugin, install_dir : plugins_pkgconfig_install_dir) endif -- 2.7.4