[rygel/wip/meson: 8/12] meson: Fix "Missing VERSION" messages



commit f8f2363c1e64399f860cd7432a440fb3d25a217c
Author: Jens Georg <mail jensge org>
Date:   Sun Sep 9 14:18:49 2018 +0200

    meson: Fix "Missing VERSION" messages

 meson.build | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/meson.build b/meson.build
index 0f21f2cf..afddcc9a 100644
--- a/meson.build
+++ b/meson.build
@@ -26,6 +26,7 @@ conf.set('GETTEXT_PACKAGE', '"rygel"')
 conf.set('PACKAGE_NAME', '"Rygel"')
 conf.set('PACKAGE_STRING', '"Rygel @0@"'.format(meson.project_version()))
 conf.set('PACKAGE_VERSION', '"@0@"'.format(meson.project_version()))
+conf.set('VERSION', '"@0@"'.format(meson.project_version()))
 conf.set('PACKAGE_URL', '"http://www.rygel-project.org";')
 conf.set('ENGINE_DIR', '"@0@"'.format(rygel_enginedir))
 conf.set('PRESET_DIR', '"@0@"'.format(rygel_presetdir))
@@ -114,6 +115,7 @@ pc_conf.set('prefix', get_option('prefix'))
 pc_conf.set('exec_prefix', '${prefix}')
 pc_conf.set('libdir', join_paths(get_option('prefix'), get_option('libdir')))
 pc_conf.set('includedir', join_paths('${prefix}', get_option('includedir')))
+pc_conf.set('VERSION', '"@0@"'.format(meson.project_version()))
 pc_conf.set('RYGEL_PLUGIN_DIR', rygel_plugindir)
 pc_conf.set('RYGEL_MEDIA_ENGINE_DIR', rygel_enginedir)
 pc_conf.set('RYGEL_PLUGIN_LINKER_FLAGS', '')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]