From ad05d65efd9ba1ddc25dca17e2a6a69804362a65 Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Thu, 12 Apr 2007 05:50:16 +0000 Subject: nunome: update to latest release (source tree cleaned from unnecessary binary cruft) --- packages/nunome/nunome_1.0.1.bb | 41 ----------------------------------------- packages/nunome/nunome_1.0.2.bb | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 41 deletions(-) delete mode 100644 packages/nunome/nunome_1.0.1.bb create mode 100644 packages/nunome/nunome_1.0.2.bb diff --git a/packages/nunome/nunome_1.0.1.bb b/packages/nunome/nunome_1.0.1.bb deleted file mode 100644 index d8421c12f5..0000000000 --- a/packages/nunome/nunome_1.0.1.bb +++ /dev/null @@ -1,41 +0,0 @@ -DESCRIPTION = "Japanese input method plugin" -SECTION = "opie/inputmethods" -PRIORITY = "optional" -LICENSE = "GPL" -HOMEPAGE = "http://www.sikigami.com/nunome-Qtopia-1.0/" -RDEPENDS = "virtual/japanese-font" -PR = "r2" - -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}" -OE_QMAKE_CXXFLAGS := "${@oe_filter_out('-fno-rtti', '${OE_QMAKE_CXXFLAGS}', d)}" -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.bin ${D}${palmtopdir}/bin/nnmsrv - install -m 755 dicman.bin ${D}${palmtopdir}/bin/nnmDicman - install -m 644 ui/nunome.qm ${D}${palmtopdir}/i18n/ja - install -m 644 dicman/nnmDicman.qm ${D}${palmtopdir}/i18n/ja -} diff --git a/packages/nunome/nunome_1.0.2.bb b/packages/nunome/nunome_1.0.2.bb new file mode 100644 index 0000000000..ae29277291 --- /dev/null +++ b/packages/nunome/nunome_1.0.2.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 = "virtual/japanese-font" + +SRC_URI = "${SOURCEFORGE_MIRROR}/gakusei/nunome-${PV}.tar.bz2 \ + file://nunome.patch;patch=1" +S = "${WORKDIR}/nunome" + +inherit opie + +EXTRA_QMAKEVARS_POST += "INCLUDEPATH+=${S}/Nnmlib INCLUDEPATH+=${S}/ui LIBS+=-L${S}" +OE_QMAKE_CXXFLAGS := "${@oe_filter_out('-fno-rtti', '${OE_QMAKE_CXXFLAGS}', d)}" +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.bin ${D}${palmtopdir}/bin/nnmsrv + install -m 755 dicman.bin ${D}${palmtopdir}/bin/nnmDicman + install -m 644 ui/nunome.qm ${D}${palmtopdir}/i18n/ja + install -m 644 dicman/nnmDicman.qm ${D}${palmtopdir}/i18n/ja +} -- cgit v1.2.3