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:
parent
d0773078f0
commit
f7f72143e0
22 changed files with 6154 additions and 0 deletions
11
meson.build
11
meson.build
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue