summaryrefslogtreecommitdiff
path: root/packages/nunome/nunome_1.0.1.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-06-23 23:15:59 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-23 23:15:59 +0000
commit051fd93bc33d08e08e2373149e198b65cb18d43d (patch)
tree5af8c07f3afde046c010f2a0231d5e0b2037bf2b /packages/nunome/nunome_1.0.1.bb
parent4cdcfd0fb6a0f711bb6a0c33656273e67bf97b9c (diff)
parentf39b5244893240c0bdba42a28b12542ceff494f5 (diff)
merge of 236d70d96b3f9300bb6e751a5d3f3ea13f9a04db
and f4984d1bec6ce4b4b676ecf827227e24bfb4eab1
Diffstat (limited to 'packages/nunome/nunome_1.0.1.bb')
-rw-r--r--packages/nunome/nunome_1.0.1.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/nunome/nunome_1.0.1.bb b/packages/nunome/nunome_1.0.1.bb
new file mode 100644
index 0000000000..51ab8cee83
--- /dev/null
+++ b/packages/nunome/nunome_1.0.1.bb
@@ -0,0 +1,40 @@
+DESCRIPTION = "Japanese input method plugin"
+SECTION = "opie/inputmethods"
+PRIORITY = "optional"
+LICENSE = "GPL"
+HOMEPAGE = "http://www.sikigami.com/nunome-Qtopia-1.0/"
+RDEPENDS = "font-ttf-japanese"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/gakusei/nunome-Qtopia-src-cleaned.tar.bz2 \
+ file://nunome.patch;patch=1"
+S = "${WORKDIR}/nunome"
+
+inherit opie
+
+EXTRA_QMAKEVARS_POST += "INCLUDEPATH+=${S}/Nnmlib INCLUDEPATH+=${S}/ui LIBS+=-L${S}"
+PARALLEL_MAKE = ""
+
+do_configure_prepend() {
+ echo -e "TEMPLATE=subdirs\nSUBDIRS=Nnmlib server ui dicman ui" >nunome.pro
+ pushd Nnmlib && qmake -project -t lib && popd
+ pushd server && qmake -project && echo -e "LIBS+=-lNnmlib\nTARGET=server.bin" >> server.pro && popd
+ pushd dicman && qmake -project && echo -e "LIBS+=-lnunome -lNnmlib\nTARGET=dicman.bin" >> dicman.pro && popd
+ pushd ui && qmake -project -t lib && echo -e "LIBS+=-lNnmlib\nTARGET=nunome" >> ui.pro && popd
+ find . -name "moc*"|xargs rm -f
+ find . -name "Makefile"|xargs rm -f
+}
+
+do_install() {
+ install -d ${D}${palmtopdir}/lib
+ install -d ${D}${palmtopdir}/bin
+ install -d ${D}${palmtopdir}/i18n/ja
+ install -d ${D}${palmtopdir}/share/nunome
+
+ oe_libinstall -so libNnmlib ${D}${palmtopdir}/lib
+ install -m 644 nunome_uni.dic ${D}${palmtopdir}/share/nunome
+ install -m 755 server/nnmsrv ${D}${palmtopdir}/bin
+ install -m 755 dicman/nnmDicman ${D}${palmtopdir}/bin
+ install -m 644 ui/nunome.qm ${D}${palmtopdir}/i18n/ja
+ install -m 644 dicman/nnmDicman.qm ${D}${palmtopdir}/i18n/ja
+}