diff --git a/data/meson.build b/data/meson.build index bb016e8..e85f326 100644 --- a/data/meson.build +++ b/data/meson.build @@ -27,6 +27,8 @@ install_data( appdata_conf = configuration_data() appdata_conf.set('app-id', application_id) appdata_conf.set('gettext-package', gettext_package) +appdata_conf.set('version', version) +appdata_conf.set('current_date', current_date) appdata_file = i18n.merge_file ( input: configure_file( input: '@0@.appdata.xml.in.in'.format(base_id), diff --git a/data/org.freedesktop.dabrain34.GstPipelineStudio.appdata.xml.in.in b/data/org.freedesktop.dabrain34.GstPipelineStudio.appdata.xml.in.in index e45b58b..652b627 100644 --- a/data/org.freedesktop.dabrain34.GstPipelineStudio.appdata.xml.in.in +++ b/data/org.freedesktop.dabrain34.GstPipelineStudio.appdata.xml.in.in @@ -1,5 +1,5 @@ - + @app-id@ CC0 @@ -27,7 +27,7 @@ @gettext-package@ @app-id@.desktop - + none diff --git a/meson.build b/meson.build index 6d72aa1..d99258e 100644 --- a/meson.build +++ b/meson.build @@ -5,6 +5,9 @@ project('gst_pipeline_studio', ], license: 'GPL-3.0-or-later', ) +python_mod = import('python') +python3 = python_mod.find_installation() +current_date = run_command(python3, '-c', 'import datetime; print(datetime.datetime.now().strftime("%Y-%m-%d"), end ="")').stdout() i18n = import('i18n') dependency('glib-2.0', version: '>= 2.66')