diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-02-02 12:00:03 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-02-02 12:42:22 +0100 |
commit | 30253c7d9ca4bafd798c2cca8f43b8c19fbbb0b3 (patch) | |
tree | d946388b9ddfbacb057bff329235bb8f4c35ee35 /data | |
parent | b9796be69805a9abdbdef07985ea640e4ca11c57 (diff) | |
download | totem-30253c7d9ca4bafd798c2cca8f43b8c19fbbb0b3.tar.gz |
data: Fix appdata filename in devel profile
Diffstat (limited to 'data')
-rw-r--r-- | data/appdata/meson.build | 13 | ||||
-rw-r--r-- | data/appdata/org.gnome.Totem.appdata.xml.in | 79 | ||||
-rw-r--r-- | data/appdata/org.gnome.Totem.appdata.xml.in.in | 4 |
3 files changed, 12 insertions, 84 deletions
diff --git a/data/appdata/meson.build b/data/appdata/meson.build index c2e646327..c9014299d 100644 --- a/data/appdata/meson.build +++ b/data/appdata/meson.build @@ -1,8 +1,15 @@ -appdata = 'org.gnome.Totem.appdata.xml' +source_appdata = 'org.gnome.Totem.appdata.xml' +dest_appdata = application_id + '.appdata.xml' + +appdata_in = configure_file( + input: source_appdata + '.in.in', + output: source_appdata + '.in', + configuration: desktop_conf +) appdata_file = i18n.merge_file ( - input: appdata + '.in', - output: appdata, + input: appdata_in, + output: dest_appdata, install: true, install_dir: join_paths(totem_datadir, 'metainfo'), po_dir: po_dir,) diff --git a/data/appdata/org.gnome.Totem.appdata.xml.in b/data/appdata/org.gnome.Totem.appdata.xml.in deleted file mode 100644 index c73543cd5..000000000 --- a/data/appdata/org.gnome.Totem.appdata.xml.in +++ /dev/null @@ -1,79 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- Copyright 2013 Richard Hughes <richard@hughsie.com> - Copyright 2013 William Jon McCann <william.jon.mccann@gmail.com> --> -<component type="desktop-application"> - <id>org.gnome.Totem.desktop</id> - <name>Videos</name> - <summary>Play movies</summary> - <metadata_license>CC0-1.0</metadata_license> - <project_license>GPL-2.0+</project_license><!-- with the GStreamer exception --> - <description> - <p> - Videos is the official movie player of the GNOME desktop environment. - It features a searchable list of local videos, and DVDs, as well as local - network video shares (using UPnP/DLNA) and video highlights from a number - of web sites. - </p> - <p> - Videos comes with added functionality such as a subtitle downloader, - the ability to speed up or down playback, create screenshot galleries, - and support for recording DVDs. - </p> - </description> - <url type="homepage">https://wiki.gnome.org/Apps/Videos</url> - <url type="bugtracker">https://gitlab.gnome.org/GNOME/totem/issues</url> - <url type="donation">https://www.gnome.org/friends/</url> - <url type="translate">https://l10n.gnome.org/module/totem/</url> - <url type="help">https://help.gnome.org/users/totem/stable/</url> - <screenshots> - <screenshot type="default" width="1024" height="576">https://gitlab.gnome.org/GNOME/totem/raw/master/data/appdata/ss-videos.png</screenshot> - <screenshot width="1024" height="576">https://gitlab.gnome.org/GNOME/totem/raw/master/data/appdata/ss-player.png</screenshot> - </screenshots> - <update_contact>hadess@hadess.net</update_contact> - <developer_name>The GNOME developers</developer_name> - <project_group>GNOME</project_group> - <translation type="gettext">totem</translation> - <launchable type="desktop-id">org.gnome.Totem.desktop</launchable> - <releases> - <release version="3.38.0" date="2020-09-10"> - <description> - <p> - This new version does not rely on Tracker running on the host, - and updates translations. - </p> - </description> - </release> - <release version="3.34.1" date="2019-10-04"> - <description> - <p> - This new version fixes the top bar icon appearing as a square, - and updates translations. - </p> - </description> - </release> - <release version="3.34.0" date="2019-09-06"> - <description> - <p> - We are proud to announce Videos 3.34.0 as the latest stable version. - </p> - <p> - This new version fixes a number of bugs, adds an "Open Containing Folder" plugin, - and removes the obsolete Brasero and LIRC plugins. - </p> - </description> - </release> - <release version="3.32.0" date="2019-03-08"> - <description> - <p> - We are proud to announce Videos 3.32.0 as the latest stable version. - </p> - </description> - </release> - </releases> - <kudos> - <kudo>HiDpiIcon</kudo> - <kudo>ModernToolkit</kudo> - <kudo>UserDocs</kudo> - </kudos> - <content_rating type="oars-1.1" /> -</component> diff --git a/data/appdata/org.gnome.Totem.appdata.xml.in.in b/data/appdata/org.gnome.Totem.appdata.xml.in.in index c73543cd5..b766ad10a 100644 --- a/data/appdata/org.gnome.Totem.appdata.xml.in.in +++ b/data/appdata/org.gnome.Totem.appdata.xml.in.in @@ -2,7 +2,7 @@ <!-- Copyright 2013 Richard Hughes <richard@hughsie.com> Copyright 2013 William Jon McCann <william.jon.mccann@gmail.com> --> <component type="desktop-application"> - <id>org.gnome.Totem.desktop</id> + <id>@application_id@.desktop</id> <name>Videos</name> <summary>Play movies</summary> <metadata_license>CC0-1.0</metadata_license> @@ -33,7 +33,7 @@ <developer_name>The GNOME developers</developer_name> <project_group>GNOME</project_group> <translation type="gettext">totem</translation> - <launchable type="desktop-id">org.gnome.Totem.desktop</launchable> + <launchable type="desktop-id">@application_id@.desktop</launchable> <releases> <release version="3.38.0" date="2020-09-10"> <description> |