summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2018-08-31 17:19:02 +1000
committerMatthew Waters <matthew@centricular.com>2018-08-31 18:08:55 +1000
commit515e2d765a63b60c3811efc7654b55df028c878a (patch)
tree63aa47a876a3a0c0c49455589daf8119e8bb9f1e
parent7dc7607475eabce18b8c70c86d1e88a3836ff517 (diff)
meson: add pkg-config file for the webrtc plugin
-rw-r--r--ext/webrtc/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/webrtc/meson.build b/ext/webrtc/meson.build
index 1d64aa943..04145eb05 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