[easytag] Add AppData XML using APPDATA_XML macro
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Add AppData XML using APPDATA_XML macro
- Date: Sat, 8 Feb 2014 11:25:26 +0000 (UTC)
commit 02d199b2cac7c34b36cb534a48eda32172efb941
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 ++++++++
README | 1 +
configure.ac | 3 +++
data/easytag.appdata.xml.in | 23 +++++++++++++++++++++++
po/POTFILES.in | 1 +
6 files changed, 37 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 a8f6d19..0260c1c 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 \
@@ -148,6 +149,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
@@ -224,6 +230,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 \
@@ -260,6 +267,7 @@ TESTS = \
endif
CLEANFILES = \
+ $(appdata_XML) \
$(check_SCRIPTS) \
$(desktop_DATA) \
$(easytag_rc) \
diff --git a/README b/README
index 5b9ff40..df9af68 100644
--- a/README
+++ b/README
@@ -63,6 +63,7 @@ Installation
* wavpack (http://www.wavpack.com/) (if not deactivated by './configure --disable-wavpack')
* yelp-tools (https://git.gnome.org/browse/yelp-tools)
* libc 6 (glibc 2.1) or greater
+* appdata-tools (https://github.com/hughsie/appdata-tools)
* intltool (if not deactivated by './configure --disable-nls')
### Compilation instructions
diff --git a/configure.ac b/configure.ac
index f07fffc..7f73ed2 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 9ec12e7..2270e4d 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]