
We want it in the `nice/` subdir so that it gets picked up correctly during uninstalled builds, such as in the gstreamer monorepo. The `NICE_CHECK_VERSION` macro was non-functional in the monorepo because of this.
23 lines
637 B
Meson
23 lines
637 B
Meson
gst_nice_sources = [
|
|
'gstnicesrc.c',
|
|
'gstnicesink.c',
|
|
'gstnice.c',
|
|
]
|
|
|
|
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: [libnice_dep, gst_dep],
|
|
install_dir: gst_plugins_install_dir,
|
|
install: true)
|
|
plugins = [libgstnice]
|
|
|
|
# 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
|