diff --git a/.gitignore b/.gitignore index 08f1457..ab40040 100644 --- a/.gitignore +++ b/.gitignore @@ -42,9 +42,14 @@ intltool-update.in # vim temp backup file .*.swp +# files for data +data/org.freedesktop.ibus.engine.hangul.metainfo.xml +data/org.freedesktop.ibus.engine.hangul.metainfo.xml.h + # files for po po/*.gmo po/*.pot +po/.intltool-merge-cache po/stamp-po po/stamp-it diff --git a/data/Makefile.am b/data/Makefile.am index 96a6b6b..dbd73f9 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -31,6 +31,11 @@ symboltable_DATA = \ symboltabledir = $(datadir)/ibus-hangul/data +appstream_in_files = org.freedesktop.ibus.engine.hangul.metainfo.xml.in +appstream_DATA = $(appstream_in_files:.xml.in=.xml) +appstreamdir=$(datadir)/metainfo +@INTLTOOL_XML_RULE@ + install-data-hook: if test -z "$(DESTDIR)"; then \ glib-compile-schemas $(schemasdir); \ @@ -46,4 +51,9 @@ uninstall-hook: EXTRA_DIST = \ $(schemas_DATA) \ $(symboltable_DATA) \ + $(appstream_in_files) \ + $(NULL) + +CLEANFILES = \ + $(appstream_DATA) \ $(NULL) diff --git a/data/org.freedesktop.ibus.engine.hangul.metainfo.xml.in b/data/org.freedesktop.ibus.engine.hangul.metainfo.xml.in new file mode 100644 index 0000000..7a31585 --- /dev/null +++ b/data/org.freedesktop.ibus.engine.hangul.metainfo.xml.in @@ -0,0 +1,17 @@ + + + org.freedesktop.ibus.engine.hangul + ibus-hangul + CC0-1.0 + GPL-2 + <_summary>Hangul engine for IBus + + <_p> + IBus-Hangul is a Korean input method engine for IBus. + + + IBus + https://github.com/libhangul/ibus-hangul + https://github.com/libhangul/ibus-hangul/issues + ibus-hangul + diff --git a/po/POTFILES.in b/po/POTFILES.in index d98a463..1248184 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,3 +1,4 @@ +[type: gettext/xml]data/org.freedesktop.ibus.engine.hangul.metainfo.xml.in setup/keycapturedialog.py setup/main.py setup/ibus-setup-hangul.desktop.in