meson: add pkg-config file for the webrtc plugin

This commit is contained in:
Matthew Waters 2018-08-31 17:19:02 +10:00
parent 7dc7607475
commit 515e2d765a

View file

@ -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