mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
nle: install pkg-config file for plugin
This commit is contained in:
parent
6b738b7aa4
commit
21294f907e
2 changed files with 8 additions and 1 deletions
|
@ -120,6 +120,13 @@ gir_init_section = [ '--add-init-section=' + \
|
|||
ges_c_args = ['-DHAVE_CONFIG_H', '-DG_LOG_DOMAIN="GES"']
|
||||
plugins_install_dir = '@0@/gstreamer-1.0'.format(get_option('libdir'))
|
||||
|
||||
pkgconfig = import('pkgconfig')
|
||||
plugins_pkgconfig_install_dir = join_paths(plugins_install_dir, 'pkgconfig')
|
||||
if get_option('default_library') == 'shared'
|
||||
# If we don't build static plugins there is no need to generate pc files
|
||||
plugins_pkgconfig_install_dir = disabler()
|
||||
endif
|
||||
|
||||
if gst_dep.type_name() == 'internal'
|
||||
gst_debug_disabled = not subproject('gstreamer').get_variable('gst_debug')
|
||||
else
|
||||
|
|
|
@ -14,4 +14,4 @@ nle = library('gstnle', nle_sources,
|
|||
install : true,
|
||||
install_dir : plugins_install_dir,
|
||||
)
|
||||
|
||||
pkgconfig.generate(nle, install_dir : plugins_pkgconfig_install_dir)
|
||||
|
|
Loading…
Reference in a new issue