diff --git a/validate/config.h.meson b/validate/config.h.meson index 86366d9133..0dd7a600b8 100644 --- a/validate/config.h.meson +++ b/validate/config.h.meson @@ -9,3 +9,8 @@ /* directory where plugins are located */ #mesondefine VALIDATEPLUGINDIR +#mesondefine GST_LICENSE +#mesondefine VERSION +#mesondefine PACKAGE +#mesondefine GST_PACKAGE_NAME +#mesondefine GST_PACKAGE_ORIGIN diff --git a/validate/gst/validate/meson.build b/validate/gst/validate/meson.build index 9d748835e1..4f568d7460 100644 --- a/validate/gst/validate/meson.build +++ b/validate/gst/validate/meson.build @@ -38,7 +38,7 @@ gstvalidate_sources = [ 'gst-validate-utils.h', 'gst-validate-media-info.h'] -gstvalidate = shared_library('gstvalidate', +gstvalidate = shared_library('gstvalidate-1.0', sources: gstvalidate_sources, version : libversion, soversion : soversion, @@ -48,6 +48,15 @@ gstvalidate = shared_library('gstvalidate', dependencies : [gst_dep, glib_dep, gio_dep, gmodule_dep, gst_pbutils_dep, mathlib, json_dep]) +gstvalidate = shared_library('gstvalidateplugin', + sources: gstvalidate_sources, + include_directories : [inc_dirs], + install: true, + c_args : [gst_c_args] + ['-D__GST_VALIDATE_PLUGIN'], + install_dir : '@0@/gstreamer-1.0'.format(get_option('libdir')), + dependencies : [gst_dep, glib_dep, gio_dep, gmodule_dep, + gst_pbutils_dep, mathlib, json_dep]) + validate_gen_sources = [] if build_gir gst_validate_gir_extra_args = gir_init_section + [ '--c-include=gst/validate/validate.h' ] diff --git a/validate/meson.build b/validate/meson.build index d370e06a98..504ef98a13 100644 --- a/validate/meson.build +++ b/validate/meson.build @@ -2,6 +2,11 @@ inc_dirs = include_directories('.') json_dep = dependency('json-glib-1.0') cdata = configuration_data() +cdata.set('GST_LICENSE', '"LGPL"') +cdata.set('VERSION', '"@0@"'.format(gst_version)) +cdata.set('PACKAGE', '"gst-validate"') +cdata.set('GST_PACKAGE_NAME', '"GStreamer Validate"') +cdata.set('GST_PACKAGE_ORIGIN', '"Unknown package origin"') cdata.set('GST_API_VERSION', '"@0@"'.format(apiversion)) cdata.set('VALIDATEPLUGINDIR', '"@0@/@1@/gstreamer-1.0/validate"'.format(get_option('prefix'),get_option('libdir'))) cdata.set('GST_DATADIR', '"@0@/@1@"'.format(prefix, get_option('datadir')))