Commit 21294f90 authored by Matthew Waters's avatar Matthew Waters 🐨 Committed by Thibault Saunier
Browse files

nle: install pkg-config file for plugin

parent 6b738b7a
......@@ -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)
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