diff options
Diffstat (limited to 'meta-oe/recipes-support/uim/uim_1.8.6.bb')
-rw-r--r-- | meta-oe/recipes-support/uim/uim_1.8.6.bb | 108 |
1 files changed, 55 insertions, 53 deletions
diff --git a/meta-oe/recipes-support/uim/uim_1.8.6.bb b/meta-oe/recipes-support/uim/uim_1.8.6.bb index ae193b200..76a41252d 100644 --- a/meta-oe/recipes-support/uim/uim_1.8.6.bb +++ b/meta-oe/recipes-support/uim/uim_1.8.6.bb | |||
@@ -1,15 +1,14 @@ | |||
1 | DESCRIPTION = "A multilingual user input method library" | 1 | DESCRIPTION = "A multilingual user input method library" |
2 | HOMEPAGE = "http://uim.freedesktop.org/" | 2 | HOMEPAGE = "http://uim.freedesktop.org/" |
3 | LICENSE = "BSD-3-Clause & LGPLv2+" | 3 | LICENSE = "BSD-3-Clause & LGPLv2+" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=32463fd29aa303fb2360faeeae17256b" | ||
4 | SECTION = "inputmethods" | 5 | SECTION = "inputmethods" |
5 | 6 | ||
6 | SRC_URI = "http://uim.googlecode.com/files/uim-${PV}.tar.bz2 \ | 7 | SRC_URI = "http://uim.googlecode.com/files/uim-${PV}.tar.bz2" |
7 | " | ||
8 | |||
9 | SRC_URI_append_class-target = "file://uim-module-manager.patch \ | ||
10 | file://0001-fix-bug-for-cross-compile.patch" | ||
11 | 8 | ||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=32463fd29aa303fb2360faeeae17256b" | 9 | SRC_URI_append_class-target = " file://uim-module-manager.patch \ |
10 | file://0001-fix-bug-for-cross-compile.patch \ | ||
11 | " | ||
13 | SRC_URI[md5sum] = "ecea4c597bab1fd4ba98ea84edcece59" | 12 | SRC_URI[md5sum] = "ecea4c597bab1fd4ba98ea84edcece59" |
14 | SRC_URI[sha256sum] = "7b1ea803c73f3478917166f04f67cce6e45ad7ea5ab6df99b948c17eb1cb235f" | 13 | SRC_URI[sha256sum] = "7b1ea803c73f3478917166f04f67cce6e45ad7ea5ab6df99b948c17eb1cb235f" |
15 | 14 | ||
@@ -24,12 +23,13 @@ LEAD_SONAME = "libuim.so.1" | |||
24 | inherit autotools pkgconfig gettext | 23 | inherit autotools pkgconfig gettext |
25 | 24 | ||
26 | EXTRA_OECONF += "--disable-emacs \ | 25 | EXTRA_OECONF += "--disable-emacs \ |
27 | --without-scim \ | 26 | --without-scim \ |
28 | --without-m17nlib \ | 27 | --without-m17nlib \ |
29 | --without-prime \ | 28 | --without-prime \ |
30 | --without-canna \ | 29 | --without-canna \ |
31 | --without-mana \ | 30 | --without-mana \ |
32 | --without-eb" | 31 | --without-eb \ |
32 | " | ||
33 | 33 | ||
34 | CONFIGUREOPTS_remove_class-target = "--disable-silent-rules" | 34 | CONFIGUREOPTS_remove_class-target = "--disable-silent-rules" |
35 | 35 | ||
@@ -45,60 +45,62 @@ do_install_append() { | |||
45 | PACKAGES += "uim-xim uim-utils uim-skk uim-gtk2.0 uim-gtk3 uim-fep uim-common uim-anthy libuim0 libuim-dev" | 45 | PACKAGES += "uim-xim uim-utils uim-skk uim-gtk2.0 uim-gtk3 uim-fep uim-common uim-anthy libuim0 libuim-dev" |
46 | 46 | ||
47 | FILES_${PN} = "${bindir}/uim-help \ | 47 | FILES_${PN} = "${bindir}/uim-help \ |
48 | ${libdir}/uim/plugin/libuim-* \ | 48 | ${libdir}/uim/plugin/libuim-* \ |
49 | ${libdir}/libuim-scm* \ | 49 | ${libdir}/libuim-scm* \ |
50 | ${libdir}/libgcroots* \ | 50 | ${libdir}/libgcroots* \ |
51 | ${libdir}/uim/plugin/libuim-*" | 51 | ${libdir}/uim/plugin/libuim-* \ |
52 | " | ||
52 | 53 | ||
53 | FILES_libuim0 = "${libdir}/uim/plugin/libuim-custom-enabler.* \ | 54 | FILES_libuim0 = "${libdir}/uim/plugin/libuim-custom-enabler.* \ |
54 | ${libdir}/libuim-custom.so.* \ | 55 | ${libdir}/libuim-custom.so.* \ |
55 | ${datadir}/locale/ja/LC_MESSAGES/uim.mo \ | 56 | ${datadir}/locale/ja/LC_MESSAGES/uim.mo \ |
56 | ${datadir}/locale/fr/LC_MESSAGES/uim.mo \ | 57 | ${datadir}/locale/fr/LC_MESSAGES/uim.mo \ |
57 | ${datadir}/locale/ko/LC_MESSAGES/uim.mo \ | 58 | ${datadir}/locale/ko/LC_MESSAGES/uim.mo \ |
58 | ${libdir}/libuim.so.*" | 59 | ${libdir}/libuim.so.* \ |
59 | 60 | " | |
60 | FILES_libuim-dev = "${libdir}/libuim*.a \ | 61 | FILES_libuim-dev = "${libdir}/libuim*.a \ |
61 | ${libdir}/libuim*.la \ | 62 | ${libdir}/libuim*.la \ |
62 | ${libdir}/libuim*.so \ | 63 | ${libdir}/libuim*.so \ |
63 | ${includedir}/uim \ | 64 | ${includedir}/uim \ |
64 | ${libdir}/pkgconfig/uim.pc" | 65 | ${libdir}/pkgconfig/uim.pc \ |
65 | 66 | " | |
66 | FILES_uim-anthy = "${libdir}/uim/plugin/libuim-anthy.* \ | 67 | FILES_uim-anthy = "${libdir}/uim/plugin/libuim-anthy.* \ |
67 | ${datadir}/uim/anthy*.scm" | 68 | ${datadir}/uim/anthy*.scm \ |
68 | 69 | " | |
69 | FILES_${PN}-dbg += "${libdir}/*/*/*/.debug ${libdir}/*/*/.debug" | 70 | FILES_${PN}-dbg += "${libdir}/*/*/*/.debug ${libdir}/*/*/.debug" |
70 | FILES_${PN}-dev += "${libdir}/uim/plugin/*.la" | 71 | FILES_${PN}-dev += "${libdir}/uim/plugin/*.la" |
71 | 72 | ||
72 | FILES_uim-utils = "${bindir}/uim-sh \ | 73 | FILES_uim-utils = "${bindir}/uim-sh \ |
73 | ${bindir}/uim-module-manager \ | 74 | ${bindir}/uim-module-manager \ |
74 | ${libexecdir}/uim-helper-server" | 75 | ${libexecdir}/uim-helper-server \ |
75 | 76 | " | |
76 | FILES_uim-xim = "${bindir}/uim-xim \ | 77 | FILES_uim-xim = "${bindir}/uim-xim \ |
77 | ${libexecdir}/uim-candwin-*gtk \ | 78 | ${libexecdir}/uim-candwin-*gtk \ |
78 | ${libexecdir}/uim-candwin-*gtk3 \ | 79 | ${libexecdir}/uim-candwin-*gtk3 \ |
79 | ${datadir}/man/man1/uim-xim.1 \ | 80 | ${datadir}/man/man1/uim-xim.1 \ |
80 | ${sysconfdir}/X11/xinit/xinput.d/uim*" | 81 | ${sysconfdir}/X11/xinit/xinput.d/uim* \ |
81 | 82 | " | |
82 | FILES_uim-common = "${datadir}/uim/pixmaps/*.png \ | 83 | FILES_uim-common = "${datadir}/uim/pixmaps/*.png \ |
83 | ${datadir}/uim" | 84 | ${datadir}/uim \ |
84 | 85 | " | |
85 | FILES_uim-fep = "${bindir}/uim-fep*" | 86 | FILES_uim-fep = "${bindir}/uim-fep*" |
86 | 87 | ||
87 | FILES_uim-gtk2.0 = "${libdir}/gtk-2.0 \ | 88 | FILES_uim-gtk2.0 = "${libdir}/gtk-2.0 \ |
88 | ${bindir}/uim-toolbar-gtk \ | 89 | ${bindir}/uim-toolbar-gtk \ |
89 | ${bindir}/uim-toolbar-gtk-systray \ | 90 | ${bindir}/uim-toolbar-gtk-systray \ |
90 | ${bindir}/uim-*-gtk \ | 91 | ${bindir}/uim-*-gtk \ |
91 | ${bindir}/uim-input-pad-ja \ | 92 | ${bindir}/uim-input-pad-ja \ |
92 | ${libdir}/uim/uim-*-gtk" | 93 | ${libdir}/uim/uim-*-gtk \ |
93 | 94 | " | |
94 | FILES_uim-gtk3 = "${libdir}/gtk-3.0 \ | 95 | FILES_uim-gtk3 = "${libdir}/gtk-3.0 \ |
95 | ${bindir}/uim-toolbar-gtk3 \ | 96 | ${bindir}/uim-toolbar-gtk3 \ |
96 | ${bindir}/uim-toolbar-gtk3-systray \ | 97 | ${bindir}/uim-toolbar-gtk3-systray \ |
97 | ${bindir}/uim-*-gtk3 \ | 98 | ${bindir}/uim-*-gtk3 \ |
98 | ${libdir}/uim/uim-*-gtk3" | 99 | ${libdir}/uim/uim-*-gtk3 \ |
99 | 100 | " | |
100 | FILES_uim-skk = "${libdir}/uim/plugin/libuim-skk.* \ | 101 | FILES_uim-skk = "${libdir}/uim/plugin/libuim-skk.* \ |
101 | ${datadir}/uim/skk*.scm" | 102 | ${datadir}/uim/skk*.scm \ |
103 | " | ||
102 | 104 | ||
103 | pkg_postinst_uim-anthy() { | 105 | pkg_postinst_uim-anthy() { |
104 | if [ -f /usr/bin/uim-module-manager ]; then | 106 | if [ -f /usr/bin/uim-module-manager ]; then |
@@ -137,8 +139,8 @@ pkg_postrm_uim-skk() { | |||
137 | pkg_postinst_uim-common() { | 139 | pkg_postinst_uim-common() { |
138 | if [ -f /usr/bin/uim-module-manager ]; then | 140 | if [ -f /usr/bin/uim-module-manager ]; then |
139 | /usr/bin/uim-module-manager --path /etc/uim --register \ | 141 | /usr/bin/uim-module-manager --path /etc/uim --register \ |
140 | tutcode tcode hangul viqr \ | 142 | tutcode tcode hangul viqr \ |
141 | ipa-x-sampa latin byeoru | 143 | ipa-x-sampa latin byeoru |
142 | fi | 144 | fi |
143 | } | 145 | } |
144 | 146 | ||