This commit changes the app ID from `org.gnome.SettingsDevel` to `org.gnome.Settings.Devel`, as recommended by the GNOME Developer Documentation - https://developer.gnome.org/documentation/tutorials/application-id.html#application-id-for-flatpak-development. Additionally, some changes have been made in the buildsystem, to properly substitute the app ID depending on the profile in use.
25 lines
690 B
Meson
25 lines
690 B
Meson
appdata_conf = configuration_data()
|
|
appdata_conf.set('appid', application_id)
|
|
|
|
appdata_file = i18n.merge_file(
|
|
input: configure_file(
|
|
input: 'org.gnome.Settings.appdata.xml.in.in',
|
|
output: 'org.gnome.Settings.appdata.xml.in',
|
|
configuration: appdata_conf
|
|
),
|
|
output: '@0@.appdata.xml'.format(application_id),
|
|
po_dir: po_dir,
|
|
install: true,
|
|
install_dir: join_paths(control_center_datadir, 'metainfo')
|
|
)
|
|
|
|
# Validate Appdata
|
|
appstreamcli = find_program('appstreamcli', required: false)
|
|
if appstreamcli.found()
|
|
test(
|
|
'validate-appdata',
|
|
appstreamcli,
|
|
args: ['validate', '--no-net', '--explain', appdata_file.full_path()],
|
|
depends: appdata_file
|
|
)
|
|
endif
|