summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorfujiwarat <takao.fujiwara1@gmail.com>2015-03-26 18:44:00 +0900
committerfujiwarat <takao.fujiwara1@gmail.com>2015-03-26 18:44:00 +0900
commiteac962b0d73a6ae8dbbdf22419a0ecb5cad1dbaf (patch)
tree758a49e07748dd4db97caa18d5b1ae46330f8e3a /data
parent51ff84e0ffce0eb72dd093a890dd4f4cfdbc6c61 (diff)
downloadibus-anthy-eac962b0d73a6ae8dbbdf22419a0ecb5cad1dbaf.tar.gz
Added anthy.appdata.xml
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am19
-rw-r--r--data/anthy.appdata.xml.in21
2 files changed, 37 insertions, 3 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index d0bde2c..b643fd9 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -2,8 +2,8 @@
#
# ibus-anthy - The Anthy engine for IBus
#
-# Copyright (c) 2010-2014 Takao Fujiwara <takao.fujiwara1@gmail.com>
-# Copyright (c) 2010-2014 Red Hat, Inc.
+# Copyright (c) 2010-2015 Takao Fujiwara <takao.fujiwara1@gmail.com>
+# Copyright (c) 2010-2015 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
@@ -28,16 +28,29 @@ dicts_DATA = \
dictsdir = $(pkgdatadir)/dicts
+appdata_in_files = anthy.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdatadir=$(datadir)/appdata
+
+$(appdata_DATA): $(appdata_in_files) Makefile
+ $(AM_V_GEN) sed \
+ -e "s|_summary|summary|g" \
+ -e "s|_description|description|g" \
+ $< > $@.tmp && mv $@.tmp $@
+
+CLEANFILES = $(appdata_DATA)
+
if ENABLE_ZIPCODE
dicts_DATA += zipcode.t
zipcode.t: $(ANTHY_ZIPCODE_FILE)
$(PYTHON) zipcode-textdic.py $<
-CLEANFILES = zipcode.t
+CLEANFILES += zipcode.t
endif
EXTRA_DIST = \
+ $(appdata_in_files) \
emoji.t \
era.t \
oldchar.t \
diff --git a/data/anthy.appdata.xml.in b/data/anthy.appdata.xml.in
new file mode 100644
index 0000000..0c75a8f
--- /dev/null
+++ b/data/anthy.appdata.xml.in
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="inputmethod">
+ <id>anthy.xml</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <name>Anthy</name>
+ <_summary>Japanese input method</_summary>
+ <_description>
+ <p>
+ The Anthy input method is designed for entering Japanese text.
+ </p>
+ <p>
+ Input methods are typing systems allowing users to input complex languages.
+ They are necessary because these contain too many characters to simply be laid
+ out on a traditional keyboard.
+ </p>
+ </_description>
+ <url type="homepage">http://code.google.com/p/ibus/</url>
+ <url type="bugtracker">https://code.google.com/p/ibus/issues/list</url>
+ <url type="help">https://code.google.com/p/ibus/wiki/FAQ</url>
+ <update_contact><!-- upstream-contact_at_email.com --></update_contact>
+</component>