Commit 006688af authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

meson: install .pc file for static gstreamer plugin

parent 5dd82134
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment