diff options
author | Thibault Saunier <thibault.saunier@osg.samsung.com> | 2017-02-15 18:31:38 -0300 |
---|---|---|
committer | Thibault Saunier <thibault.saunier@osg.samsung.com> | 2017-02-15 18:36:55 -0300 |
commit | aa006f78c4bece3ef59eae10c901e486885b2bde (patch) | |
tree | 99f1b0afd1a5cb6a6d3440310b3114ee9406097c | |
parent | 53e878ea8b48f5ad89eb0756f39a315506caba84 (diff) |
meson: Fix Gir *_prefix value to be the sames as with autotools
We want to be able to do GstValidate.Monitor and not
GstValidate.ValidateMonitor.
And do not pass header to the list of sources to build libraries as
it is not needed.
-rw-r--r-- | validate/gst/validate/meson.build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/validate/gst/validate/meson.build b/validate/gst/validate/meson.build index 89b316b..81effb1 100644 --- a/validate/gst/validate/meson.build +++ b/validate/gst/validate/meson.build @@ -45,7 +45,7 @@ gstvalidate_headers = [ install_headers(gstvalidate_headers, subdir : 'gstreamer-1.0/gst/validate') gstvalidate = shared_library('gstvalidate-1.0', - sources: gstvalidate_sources + gstvalidate_headers, + sources: gstvalidate_sources, version : libversion, soversion : soversion, include_directories : [inc_dirs], @@ -56,7 +56,7 @@ gstvalidate = shared_library('gstvalidate-1.0', gst_pbutils_dep, mathlib, json_dep]) gstvalidateplugin = shared_library('gstvalidateplugin', - sources: gstvalidate_sources + gstvalidate_headers, + sources: gstvalidate_sources, include_directories : [inc_dirs], install: true, c_args : [gst_c_args] + ['-D__GST_VALIDATE_PLUGIN', '-D_GNU_SOURCE'], @@ -79,8 +79,8 @@ if build_gir sources : gstvalidate_sources + gstvalidate_headers, nsversion : '1.0', namespace : 'GstValidate', - symbol_prefix : 'gst_', - identifier_prefix : 'Gst', + symbol_prefix : 'gst_validate', + identifier_prefix : 'GstValidate', export_packages : 'gst-validate-' + apiversion, includes : ['GObject-2.0', 'GLib-2.0', |