[gnome-music/wip/jfelder/appdata-url: 2/2] appdata: Use url constants



commit cf6257f2fb25e5987d31144784fa3634f611a845
Author: Jean Felder <jfelder src gnome org>
Date:   Thu Jan 10 11:27:27 2019 +0100

    appdata: Use url constants

 data/meson.build                       | 2 ++
 data/org.gnome.Music.appdata.xml.in.in | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 03b63a4e..b85bdec7 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -44,6 +44,8 @@ endif
 # Merging the translations with the appdata file
 appdata_conf = configuration_data()
 appdata_conf.set('appid', APPLICATION_ID)
+appdata_conf.set('package_url', PACKAGE_URL)
+appdata_conf.set('package_url_bug', PACKAGE_URL_BUG)
 i18n.merge_file(
   'appdata',
   input: configure_file(
diff --git a/data/org.gnome.Music.appdata.xml.in.in b/data/org.gnome.Music.appdata.xml.in.in
index 6e8295c5..e5d8b537 100644
--- a/data/org.gnome.Music.appdata.xml.in.in
+++ b/data/org.gnome.Music.appdata.xml.in.in
@@ -28,8 +28,8 @@
     </screenshot>
   </screenshots>
   <project_group>GNOME</project_group>
-  <url type="homepage">https://wiki.gnome.org/Apps/Music</url>
-  <url type="bugtracker">https://gitlab.gnome.org/GNOME/gnome-music/issues</url>
+  <url type="homepage">@package_url@</url>
+  <url type="bugtracker">@package_url_bug@</url>
   <url type="donation">https://www.gnome.org/friends/</url>
   <url type="help">https://help.gnome.org/users/gnome-music/stable/</url>
   <kudos>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]