summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/uim/uim_1.8.8.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-07-29 17:04:53 +0200
committerKhem Raj <raj.khem@gmail.com>2021-08-03 10:21:25 -0700
commitc61dc077bbd81260e4f167fa2251643ba0ba6974 (patch)
tree66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-oe/recipes-support/uim/uim_1.8.8.bb
parentc5f7cfb8db54cfa4257797db5bd87828dea43296 (diff)
downloadmeta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz
Convert to new override syntax
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/uim/uim_1.8.8.bb')
-rw-r--r--meta-oe/recipes-support/uim/uim_1.8.8.bb54
1 files changed, 27 insertions, 27 deletions
diff --git a/meta-oe/recipes-support/uim/uim_1.8.8.bb b/meta-oe/recipes-support/uim/uim_1.8.8.bb
index 507a34144..862250240 100644
--- a/meta-oe/recipes-support/uim/uim_1.8.8.bb
+++ b/meta-oe/recipes-support/uim/uim_1.8.8.bb
@@ -8,7 +8,7 @@ SRC_URI = "https://github.com/uim/uim/releases/download/${PV}/uim-${PV}.tar.bz2
8 file://0001-Fix-to-set-libedit-path-from-configure-option-proper.patch \ 8 file://0001-Fix-to-set-libedit-path-from-configure-option-proper.patch \
9 file://JMP_BUF_GC_jmp_buf.patch \ 9 file://JMP_BUF_GC_jmp_buf.patch \
10" 10"
11SRC_URI_append_class-target = "\ 11SRC_URI:append:class-target = "\
12 file://uim-module-manager.patch \ 12 file://uim-module-manager.patch \
13" 13"
14SRC_URI[md5sum] = "01c7bd5d0d4f3a9f6f5befe6f57a470b" 14SRC_URI[md5sum] = "01c7bd5d0d4f3a9f6f5befe6f57a470b"
@@ -17,16 +17,16 @@ SRC_URI[sha256sum] = "34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225
17UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" 17UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
18 18
19DEPENDS = "anthy fontconfig libxft libxt glib-2.0 ncurses intltool libedit" 19DEPENDS = "anthy fontconfig libxft libxt glib-2.0 ncurses intltool libedit"
20DEPENDS_append_class-target = " intltool-native gtk+ gtk+3 uim-native takao-fonts" 20DEPENDS:append:class-target = " intltool-native gtk+ gtk+3 uim-native takao-fonts"
21 21
22RDEPENDS_uim = "libuim0 libedit" 22RDEPENDS:uim = "libuim0 libedit"
23RDEPENDS_uim-anthy = "takao-fonts anthy libanthy0" 23RDEPENDS:uim-anthy = "takao-fonts anthy libanthy0"
24RDEPENDS_uim-anthy_append_libc-glibc = " glibc-utils glibc-gconv-euc-jp" 24RDEPENDS:uim-anthy:append:libc-glibc = " glibc-utils glibc-gconv-euc-jp"
25 25
26LEAD_SONAME = "libuim.so.1" 26LEAD_SONAME = "libuim.so.1"
27 27
28COMPATIBLE_HOST_riscv64 = "null" 28COMPATIBLE_HOST:riscv64 = "null"
29COMPATIBLE_HOST_riscv32 = "null" 29COMPATIBLE_HOST:riscv32 = "null"
30 30
31inherit features_check autotools pkgconfig gettext qemu gtk-immodules-cache 31inherit features_check autotools pkgconfig gettext qemu gtk-immodules-cache
32 32
@@ -44,82 +44,82 @@ EXTRA_OECONF += "--disable-emacs \
44 --without-eb \ 44 --without-eb \
45" 45"
46 46
47CONFIGUREOPTS_remove_class-target = "--disable-silent-rules" 47CONFIGUREOPTS:remove:class-target = "--disable-silent-rules"
48 48
49# https://github.com/uim/uim/issues/44 49# https://github.com/uim/uim/issues/44
50PARALLEL_MAKE = "" 50PARALLEL_MAKE = ""
51 51
52#Because m4 file's find maxdepth=2, so copy the m4 files of the deep depth. 52#Because m4 file's find maxdepth=2, so copy the m4 files of the deep depth.
53do_configure_prepend () { 53do_configure:prepend () {
54 cp ${S}/sigscheme/m4/* ${S}/m4/ 54 cp ${S}/sigscheme/m4/* ${S}/m4/
55} 55}
56 56
57do_install_append() { 57do_install:append() {
58 rm -rf ${D}/${datadir}/applications 58 rm -rf ${D}/${datadir}/applications
59} 59}
60 60
61PACKAGES =+ "uim-xim uim-utils uim-skk uim-gtk2.0 uim-gtk3 uim-fep uim-anthy uim-common libuim0 libuim-dev" 61PACKAGES =+ "uim-xim uim-utils uim-skk uim-gtk2.0 uim-gtk3 uim-fep uim-anthy uim-common libuim0 libuim-dev"
62 62
63FILES_${PN} = "${bindir}/uim-help \ 63FILES:${PN} = "${bindir}/uim-help \
64 ${libdir}/uim/plugin/libuim-* \ 64 ${libdir}/uim/plugin/libuim-* \
65 ${libdir}/libuim-scm* \ 65 ${libdir}/libuim-scm* \
66 ${libdir}/libgcroots* \ 66 ${libdir}/libgcroots* \
67 ${libdir}/uim/plugin/libuim-* \ 67 ${libdir}/uim/plugin/libuim-* \
68" 68"
69 69
70FILES_libuim0 = "${libdir}/uim/plugin/libuim-custom-enabler.* \ 70FILES:libuim0 = "${libdir}/uim/plugin/libuim-custom-enabler.* \
71 ${libdir}/libuim-custom.so.* \ 71 ${libdir}/libuim-custom.so.* \
72 ${datadir}/locale/ja/LC_MESSAGES/uim.mo \ 72 ${datadir}/locale/ja/LC_MESSAGES/uim.mo \
73 ${datadir}/locale/fr/LC_MESSAGES/uim.mo \ 73 ${datadir}/locale/fr/LC_MESSAGES/uim.mo \
74 ${datadir}/locale/ko/LC_MESSAGES/uim.mo \ 74 ${datadir}/locale/ko/LC_MESSAGES/uim.mo \
75 ${libdir}/libuim.so.* \ 75 ${libdir}/libuim.so.* \
76" 76"
77FILES_libuim-dev = "${libdir}/libuim*.a \ 77FILES:libuim-dev = "${libdir}/libuim*.a \
78 ${libdir}/libuim*.la \ 78 ${libdir}/libuim*.la \
79 ${libdir}/libuim*.so \ 79 ${libdir}/libuim*.so \
80 ${includedir}/uim \ 80 ${includedir}/uim \
81 ${libdir}/pkgconfig/uim.pc \ 81 ${libdir}/pkgconfig/uim.pc \
82" 82"
83FILES_uim-anthy = "${libdir}/uim/plugin/libuim-anthy.* \ 83FILES:uim-anthy = "${libdir}/uim/plugin/libuim-anthy.* \
84 ${datadir}/uim/anthy*.scm \ 84 ${datadir}/uim/anthy*.scm \
85" 85"
86FILES_${PN}-dbg += "${libdir}/*/*/*/.debug ${libdir}/*/*/.debug" 86FILES:${PN}-dbg += "${libdir}/*/*/*/.debug ${libdir}/*/*/.debug"
87FILES_${PN}-dev += "${libdir}/uim/plugin/*.la" 87FILES:${PN}-dev += "${libdir}/uim/plugin/*.la"
88 88
89FILES_uim-utils = "${bindir}/uim-sh \ 89FILES:uim-utils = "${bindir}/uim-sh \
90 ${bindir}/uim-module-manager \ 90 ${bindir}/uim-module-manager \
91 ${libexecdir}/uim-helper-server \ 91 ${libexecdir}/uim-helper-server \
92" 92"
93FILES_uim-xim = "${bindir}/uim-xim \ 93FILES:uim-xim = "${bindir}/uim-xim \
94 ${libexecdir}/uim-candwin-*gtk \ 94 ${libexecdir}/uim-candwin-*gtk \
95 ${libexecdir}/uim-candwin-*gtk3 \ 95 ${libexecdir}/uim-candwin-*gtk3 \
96 ${datadir}/man/man1/uim-xim.1 \ 96 ${datadir}/man/man1/uim-xim.1 \
97 ${sysconfdir}/X11/xinit/xinput.d/uim* \ 97 ${sysconfdir}/X11/xinit/xinput.d/uim* \
98" 98"
99FILES_uim-common = "${datadir}/uim/pixmaps/*.png \ 99FILES:uim-common = "${datadir}/uim/pixmaps/*.png \
100 ${datadir}/uim \ 100 ${datadir}/uim \
101" 101"
102FILES_uim-fep = "${bindir}/uim-fep*" 102FILES:uim-fep = "${bindir}/uim-fep*"
103 103
104FILES_uim-gtk2.0 = "${libdir}/gtk-2.0 \ 104FILES:uim-gtk2.0 = "${libdir}/gtk-2.0 \
105 ${bindir}/uim-toolbar-gtk \ 105 ${bindir}/uim-toolbar-gtk \
106 ${bindir}/uim-toolbar-gtk-systray \ 106 ${bindir}/uim-toolbar-gtk-systray \
107 ${bindir}/uim-*-gtk \ 107 ${bindir}/uim-*-gtk \
108 ${bindir}/uim-input-pad-ja \ 108 ${bindir}/uim-input-pad-ja \
109 ${libdir}/uim/uim-*-gtk \ 109 ${libdir}/uim/uim-*-gtk \
110" 110"
111FILES_uim-gtk3 = "${libdir}/gtk-3.0 \ 111FILES:uim-gtk3 = "${libdir}/gtk-3.0 \
112 ${bindir}/uim-toolbar-gtk3 \ 112 ${bindir}/uim-toolbar-gtk3 \
113 ${bindir}/uim-toolbar-gtk3-systray \ 113 ${bindir}/uim-toolbar-gtk3-systray \
114 ${bindir}/uim-*-gtk3 \ 114 ${bindir}/uim-*-gtk3 \
115 ${libdir}/uim/uim-*-gtk3 \ 115 ${libdir}/uim/uim-*-gtk3 \
116" 116"
117FILES_uim-skk = "${libdir}/uim/plugin/libuim-skk.* \ 117FILES:uim-skk = "${libdir}/uim/plugin/libuim-skk.* \
118 ${datadir}/uim/skk*.scm \ 118 ${datadir}/uim/skk*.scm \
119" 119"
120 120
121PACKAGE_WRITE_DEPS += "qemu-native" 121PACKAGE_WRITE_DEPS += "qemu-native"
122pkg_postinst_uim-anthy() { 122pkg_postinst:uim-anthy() {
123 if test -n "$D"; then 123 if test -n "$D"; then
124 ${@qemu_run_binary(d, '$D', '${bindir}/uim-module-manager')} --register anthy --path $D${datadir}/uim 124 ${@qemu_run_binary(d, '$D', '${bindir}/uim-module-manager')} --register anthy --path $D${datadir}/uim
125 else 125 else
@@ -127,7 +127,7 @@ pkg_postinst_uim-anthy() {
127 fi 127 fi
128} 128}
129 129
130pkg_prerm_uim-anthy() { 130pkg_prerm:uim-anthy() {
131 if test -n "$D"; then 131 if test -n "$D"; then
132 ${@qemu_run_binary(d, '$D', '${bindir}/uim-module-manager')} --path $D${datadir}/uim --unregister anthy 132 ${@qemu_run_binary(d, '$D', '${bindir}/uim-module-manager')} --path $D${datadir}/uim --unregister anthy
133 else 133 else
@@ -135,7 +135,7 @@ pkg_prerm_uim-anthy() {
135 fi 135 fi
136} 136}
137 137
138pkg_postinst_uim-skk() { 138pkg_postinst:uim-skk() {
139 if test -n "$D"; then 139 if test -n "$D"; then
140 ${@qemu_run_binary(d, '$D', '${bindir}/uim-module-manager')} --register skk --path $D${datadir}/uim 140 ${@qemu_run_binary(d, '$D', '${bindir}/uim-module-manager')} --register skk --path $D${datadir}/uim
141 else 141 else
@@ -143,7 +143,7 @@ pkg_postinst_uim-skk() {
143 fi 143 fi
144} 144}
145 145
146pkg_postrm_uim-skk() { 146pkg_postrm:uim-skk() {
147 if test -n "$D"; then 147 if test -n "$D"; then
148 ${@qemu_run_binary(d, '$D', '${bindir}/uim-module-manager')} --path $D${datadir}/uim --unregister skk 148 ${@qemu_run_binary(d, '$D', '${bindir}/uim-module-manager')} --path $D${datadir}/uim --unregister skk
149 else 149 else