diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2019-01-15 12:26:57 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2019-01-15 12:29:19 +0000 |
commit | 006688afe7d6ea76dcf6d4426cdf538315445c07 (patch) | |
tree | 74b26dba59a7760694822d82a881d6b22340c14d /gst | |
parent | 5dd82134f5d032176346acc6a955a3b39fba3fd4 (diff) | |
download | libnice-006688afe7d6ea76dcf6d4426cdf538315445c07.tar.gz |
meson: install .pc file for static gstreamer plugin
Diffstat (limited to 'gst')
-rw-r--r-- | gst/meson.build | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gst/meson.build b/gst/meson.build index 15a5079..091a37f 100644 --- a/gst/meson.build +++ b/gst/meson.build @@ -6,11 +6,18 @@ gst_nice_sources = [ gst_nice_args = ['-DGST_USE_UNSTABLE_API'] +gst_plugins_install_dir = join_paths(get_option('libdir'), 'gstreamer-1.0') + libgstnice = library('gstnice', gst_nice_sources, c_args : gst_nice_args, include_directories: nice_incs, dependencies: [nice_deps, gst_dep], link_with: libnice, - install_dir: join_paths(get_option('libdir'), 'gstreamer-1.0'), + install_dir: gst_plugins_install_dir, install: true) + +# Generate pc files for static plugins if we build static plugins +if get_option('default_library') != 'shared' + pkg.generate(libgstnice, install_dir: join_paths(gst_plugins_install_dir, 'pkgconfig')) +endif |