Switch from appdata-tools to appdata-utils

This commit is contained in:
Michael Catanzaro 2014-11-24 18:26:14 -06:00
parent 655236943b
commit cc1927dd99
3 changed files with 11 additions and 8 deletions

View file

@ -18,6 +18,8 @@ LT_INIT
GLIB_GSETTINGS
APPSTREAM_XML
dnl ###########################################################################
dnl Dependencies
dnl ###########################################################################
@ -49,7 +51,6 @@ PKG_CHECK_MODULES(TEST, [
AC_CHECK_HEADERS([linux/prctl.h])
AM_CONDITIONAL([WITH_PRCTL], [test x$ac_cv_header_linux_prctl_h = xyes])
AC_PATH_PROG([APPDATA_VALIDATE], [appdata-validate], [/bin/true])
AC_PATH_PROG([DESKTOP_FILE_VALIDATE], [desktop-file-validate], [/bin/true])
dnl ###########################################################################

View file

@ -5,9 +5,9 @@ desktop_in_files = gnome-chess.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
appdatadir = $(datadir)/appdata
appdata_in_files = gnome-chess.appdata.xml.in
appdata_DATA = $(appdata_in_files:.appdata.xml.in=.appdata.xml)
appstream_in_files = gnome-chess.appdata.xml.in
appstream_XML = $(appstream_in_files:.appdata.xml.in=.appdata.xml)
@APPSTREAM_XML_RULES@
@INTLTOOL_XML_RULE@
uidir = $(pkgdatadir)
@ -25,17 +25,18 @@ dist_pkgsysconf_DATA = engines.conf
dist_man_MANS = gnome-chess.6
check-local: $(appdata_DATA) $(desktop_DATA)
$(APPDATA_VALIDATE) $(appdata_DATA)
check-local: $(desktop_DATA)
$(DESKTOP_FILE_VALIDATE) $(desktop_DATA)
EXTRA_DIST = \
$(appdata_in_files) \
$(appstream_in_files) \
$(desktop_in_files) \
$(gsettings_SCHEMAS)
CLEANFILES = \
$(appdata_DATA) \
$(appstream_XML) \
$(desktop_DATA)
DISTCHECK_CONFIGURE_FLAGS == --enable-appdata-check
-include $(top_srcdir)/git.mk

View file

@ -5,6 +5,7 @@
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+ and (GPL-2.0+ or GFDL-1.1)</project_license>
<_name>GNOME Chess</_name>
<_summary>Play the classic two-player board game of chess</_summary>
<description>
<_p>
GNOME Chess is a simple chess game. You can play against your computer at