mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
meson: Do not forget to install headers
This commit is contained in:
parent
fe49fd0d56
commit
53e878ea8b
1 changed files with 10 additions and 4 deletions
|
@ -17,6 +17,9 @@ gstvalidate_sources = [
|
||||||
'media-descriptor-parser.c',
|
'media-descriptor-parser.c',
|
||||||
'gst-validate-media-info.c',
|
'gst-validate-media-info.c',
|
||||||
'validate.c',
|
'validate.c',
|
||||||
|
]
|
||||||
|
|
||||||
|
gstvalidate_headers = [
|
||||||
'validate.h',
|
'validate.h',
|
||||||
'gst-validate-types.h',
|
'gst-validate-types.h',
|
||||||
'gst-validate-bin-monitor.h',
|
'gst-validate-bin-monitor.h',
|
||||||
|
@ -36,10 +39,13 @@ gstvalidate_sources = [
|
||||||
'gst-validate-runner.h',
|
'gst-validate-runner.h',
|
||||||
'gst-validate-scenario.h',
|
'gst-validate-scenario.h',
|
||||||
'gst-validate-utils.h',
|
'gst-validate-utils.h',
|
||||||
'gst-validate-media-info.h']
|
'gst-validate-media-info.h'
|
||||||
|
]
|
||||||
|
|
||||||
|
install_headers(gstvalidate_headers, subdir : 'gstreamer-1.0/gst/validate')
|
||||||
|
|
||||||
gstvalidate = shared_library('gstvalidate-1.0',
|
gstvalidate = shared_library('gstvalidate-1.0',
|
||||||
sources: gstvalidate_sources,
|
sources: gstvalidate_sources + gstvalidate_headers,
|
||||||
version : libversion,
|
version : libversion,
|
||||||
soversion : soversion,
|
soversion : soversion,
|
||||||
include_directories : [inc_dirs],
|
include_directories : [inc_dirs],
|
||||||
|
@ -50,7 +56,7 @@ gstvalidate = shared_library('gstvalidate-1.0',
|
||||||
gst_pbutils_dep, mathlib, json_dep])
|
gst_pbutils_dep, mathlib, json_dep])
|
||||||
|
|
||||||
gstvalidateplugin = shared_library('gstvalidateplugin',
|
gstvalidateplugin = shared_library('gstvalidateplugin',
|
||||||
sources: gstvalidate_sources,
|
sources: gstvalidate_sources + gstvalidate_headers,
|
||||||
include_directories : [inc_dirs],
|
include_directories : [inc_dirs],
|
||||||
install: true,
|
install: true,
|
||||||
c_args : [gst_c_args] + ['-D__GST_VALIDATE_PLUGIN', '-D_GNU_SOURCE'],
|
c_args : [gst_c_args] + ['-D__GST_VALIDATE_PLUGIN', '-D_GNU_SOURCE'],
|
||||||
|
@ -70,7 +76,7 @@ if build_gir
|
||||||
'--cflags-end']
|
'--cflags-end']
|
||||||
endif
|
endif
|
||||||
validate_gen_sources = [gnome.generate_gir(gstvalidate,
|
validate_gen_sources = [gnome.generate_gir(gstvalidate,
|
||||||
sources : gstvalidate_sources,
|
sources : gstvalidate_sources + gstvalidate_headers,
|
||||||
nsversion : '1.0',
|
nsversion : '1.0',
|
||||||
namespace : 'GstValidate',
|
namespace : 'GstValidate',
|
||||||
symbol_prefix : 'gst_',
|
symbol_prefix : 'gst_',
|
||||||
|
|
Loading…
Reference in a new issue