Add a compatibility JSON-based flatpak manifest

GNOME Builder doesn't support YAML manifests, so generate one and
commit it.

Revert this once GNOME/gnome-builder#520 is fixed and deployed.
This commit is contained in:
Michael Gratton 2019-10-25 11:48:09 +11:00
parent d0773078f0
commit f7f72143e0
22 changed files with 6154 additions and 0 deletions

View file

@ -185,6 +185,17 @@ files(iso_639_xml, iso_3166_xml) # Check to make sure these exist
# Post-install scripts
meson.add_install_script(join_paths('build-aux', 'post_install.py'))
# GNOME Builder doesn't support YAML manifests, so generate a JSON
# version from the YAML and commit it. :( GNOME/gnome-builder#520
yaml_to_json = find_program('build-aux' / 'yaml_to_json.py')
custom_target(
'org.gnome.Geary.json',
build_by_default: true,
command: [yaml_to_json, '@INPUT@', meson.source_root(), '@OUTPUT@'],
input: files('org.gnome.Geary.yml'),
output: 'org.gnome.Geary.json'
)
# Subfolders
subdir('desktop')
subdir('help')