[easytag/wip/application-window: 19/25] Add AppData XML using APPDATA_XML macro
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/application-window: 19/25] Add AppData XML using APPDATA_XML macro
- Date: Mon, 3 Feb 2014 17:10:06 +0000 (UTC)
commit def8b9ca8a8056b935636bd4d96ba5e114b0a35a
Author: David King <amigadave amigadave com>
Date: Wed Jan 22 17:37:28 2014 +0000
Add AppData XML using APPDATA_XML macro
.gitignore | 1 +
Makefile.am | 8 ++++++++
configure.ac | 3 +++
data/easytag.appdata.xml.in | 23 +++++++++++++++++++++++
po/POTFILES.in | 1 +
5 files changed, 36 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fbc3ca8..44fc72f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,6 +13,7 @@ config.h.in
config.log
config.status
configure
+/data/easytag.appdata.xml
/data/easytag.desktop
/doc/easytag.1
/doc/version.xml
diff --git a/Makefile.am b/Makefile.am
index ccc7105..36935d3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,7 @@
ACLOCAL_AMFLAGS = -I m4
DISTCHECK_CONFIGURE_FLAGS = \
+ --enable-appdata-check \
--enable-flac \
--enable-id3v23 \
--enable-ogg \
@@ -158,6 +159,11 @@ easytag-win32-installer.nsi: easytag-win32-installer.nsi.in Makefile
$(AM_V_at)$(MKDIR_P) $(@D)
$(AM_V_at)touch $@
+ APPDATA_XML_RULES@
+ INTLTOOL_XML_RULE@
+appdata_in_files = data/easytag.appdata.xml.in
+appdata_XML = $(appdata_in_files:.appdata.xml.in=.appdata.xml)
+
@INTLTOOL_DESKTOP_RULE@
desktopdir = $(datadir)/applications
desktop_in_files = data/easytag.desktop.in
@@ -234,6 +240,7 @@ uninstall-update-icon-cache:
test -n "$(DESTDIR)" || $(UPDATE_ICON_CACHE) "$(iconthemedir)"
dist_noinst_DATA = \
+ $(appdata_in_files) \
$(desktop_in_files) \
$(easytag_headers) \
src/id3lib/patch_id3lib_3.8.3_UTF16_writing_bug.diff \
@@ -270,6 +277,7 @@ TESTS = \
endif
CLEANFILES = \
+ $(appdata_XML) \
$(check_SCRIPTS) \
$(desktop_DATA) \
$(easytag_rc) \
diff --git a/configure.ac b/configure.ac
index 38b75d7..f5bb18d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,6 +27,9 @@ AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Package name for ge
AS_IF([test "x$USE_NLS" != "xno"],
[AC_DEFINE([ENABLE_NLS], [1], [Native Language support is enabled])])
+dnl AppData
+APPDATA_XML
+
dnl -------------------------------
dnl Checks for programs.
dnl -------------------------------
diff --git a/data/easytag.appdata.xml.in b/data/easytag.appdata.xml.in
new file mode 100644
index 0000000..01fef04
--- /dev/null
+++ b/data/easytag.appdata.xml.in
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2013 David King <amigadave amigadave com> -->
+<application>
+ <id type="desktop">easytag.desktop</id>
+ <licence>CC0</licence>
+<!-- Both taken from the desktop file.
+ <name>EasyTAG</name>
+ <summary></summary>
+-->
+ <description>
+ <_p>View and edit tags for MP3, MP2, MP4/AAC, FLAC, Ogg Vorbis,
+ MusePack, Monkey's Audio and WavPack files.</_p>
+ <_p>Look up albums in online databases, bulk edit tags, create
+ playlists and rename a collection of files.</_p>
+ <_p>A simple and nice GTK+ interface makes tagging easier under
+ GNU/Linux and Windows.</_p>
+ </description>
+ <url type="homepage">https://wiki.gnome.org/Apps/EasyTAG</url>
+ <screenshots>
+ <screenshot type="default">http://amigadave.com/temp/easytag-default.png</screenshot>
+ </screenshots>
+ <updatecontact>amigadave amigadave com</updatecontact>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 221a0ea..ffc86ce 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,3 +1,4 @@
+data/easytag.appdata.xml.in
data/easytag.desktop.in
src/about.c
src/ape_tag.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]