diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 13 | ||||
-rw-r--r-- | data/ibus-anthy.appdata.xml.in | 2 |
2 files changed, 10 insertions, 5 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index d94ff54..433e88e 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -2,8 +2,8 @@ # # ibus-anthy - The Anthy engine for IBus # -# Copyright (c) 2010-2017 Takao Fujiwara <takao.fujiwara1@gmail.com> -# Copyright (c) 2010-2017 Red Hat, Inc. +# Copyright (c) 2010-2018 Takao Fujiwara <takao.fujiwara1@gmail.com> +# Copyright (c) 2010-2018 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -32,8 +32,9 @@ dictsdir = $(pkgdatadir)/dicts # http://www.freedesktop.org/software/appstream/docs/sect-Quickstart-Translation.html # https://blogs.gnome.org/hughsie/2016/01/25/appdata-and-the-gettext-domain/ appdata_in_files = ibus-anthy.appdata.xml.in -appdata_DATA = $(appdata_in_files:.xml.in=.xml) -appdatadir=$(datadir)/appdata +appdata_inter_files = $(appdata_in_files:.xml.in=.xml) +appdata_DATA = org.freedesktop.ibus.engine.anthy.appdata.xml +appdatadir=$(datadir)/metainfo @INTLTOOL_XML_RULE@ schemas_in_files = org.freedesktop.ibus.engine.anthy.gschema.xml.in @@ -41,11 +42,15 @@ schemas_DATA = $(schemas_in_files:.xml.in=.xml) schemasdir = $(datadir)/glib-2.0/schemas CLEANFILES = \ + $(appdata_inter_files) \ $(appdata_DATA) \ $(schemas_DATA) \ emoji.t \ $(NULL) +$(appdata_DATA): $(appdata_inter_files) + cp $< $@ + $(schemas_DATA): $(schemas_in_files) $(SED) -e "s|\@ANTHY_ZIPCODE_FILE\@|$(ANTHY_ZIPCODE_FILE)|g" \ -e "s|\@KASUMI_EXEC_FILE\@|$(KASUMI_EXEC_FILE)|g" \ diff --git a/data/ibus-anthy.appdata.xml.in b/data/ibus-anthy.appdata.xml.in index 2746489..c218a30 100644 --- a/data/ibus-anthy.appdata.xml.in +++ b/data/ibus-anthy.appdata.xml.in @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <component type="inputmethod"> - <id>ibus-anthy</id> + <id>org.freedesktop.ibus.engine.anthy</id> <metadata_license>GFDL-1.3</metadata_license> <project_license>GPL-2.0</project_license> <name>Anthy</name> |