Skip to content

Commit

Permalink
Merge pull request #67 from changwoo/59-add-appstream-metainfo
Browse files Browse the repository at this point in the history
Add AppStream metainfo

#67
  • Loading branch information
choehwanjin committed Aug 5, 2018
2 parents 37c4a64 + 5083959 commit c816bcf
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 10 additions & 0 deletions data/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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); \
Expand All @@ -46,4 +51,9 @@ uninstall-hook:
EXTRA_DIST = \
$(schemas_DATA) \
$(symboltable_DATA) \
$(appstream_in_files) \
$(NULL)

CLEANFILES = \
$(appstream_DATA) \
$(NULL)
17 changes: 17 additions & 0 deletions data/org.freedesktop.ibus.engine.hangul.metainfo.xml.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="inputmethod">
<id>org.freedesktop.ibus.engine.hangul</id>
<name>ibus-hangul</name>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2</project_license>
<_summary>Hangul engine for IBus</_summary>
<description>
<_p>
IBus-Hangul is a Korean input method engine for IBus.
</_p>
</description>
<project_group>IBus</project_group>
<url type="homepage">https://github.com/libhangul/ibus-hangul</url>
<url type="bugtracker">https://github.com/libhangul/ibus-hangul/issues</url>
<translation type="gettext">ibus-hangul</translation>
</component>
1 change: 1 addition & 0 deletions po/POTFILES.in
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit c816bcf

Please sign in to comment.