Commit 52f428a3 authored by Felipe Borges's avatar Felipe Borges 💬
Browse files

appdata, build: Match appdata with app-id

This is relevant for Flatpak builds with the "development" profile
where the appdata info wasn't macthing the application-id, which
in this case, is suffixed with the ".Devel" branch name.
parent 4620f558
Pipeline #398768 passed with stages
in 2 minutes and 18 seconds
......@@ -20,8 +20,14 @@ if desktop_utils.found()
)
endif
appstream_conf = configuration_data()
appstream_conf.set('app-id', application_id)
appstream_file = i18n.merge_file(
input: 'org.gnome.Connections.appdata.xml.in',
input: configure_file(
input: 'org.gnome.Connections.appdata.xml.in',
output: 'org.gnome.Connections.appdata.xml.in',
configuration: appstream_conf
),
output: '@0@.appdata.xml'.format(application_id),
po_dir: '../po',
install: true,
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2020 Red Hat, Inc -->
<component type="desktop">
<id>org.gnome.Connections.desktop</id>
<id>@app-id@.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license>
<name>Connections</name>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment