diff options
author | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2007-06-17 15:32:34 +0000 |
---|---|---|
committer | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2007-06-17 15:32:34 +0000 |
commit | 24850516717f61700547c7160779440c3985eb74 (patch) | |
tree | ff55236bd3f032994079bf6a6c48ef6c3142f298 /packages/jards | |
parent | 5b3745593cf3c4f69acadbe7a37a88ededcc74f8 (diff) |
jards: add to OE
* reference and training tool for students of Japanese
* spaced repition with flash cards
Diffstat (limited to 'packages/jards')
-rw-r--r-- | packages/jards/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/jards/jards_1.0.bb | 57 |
2 files changed, 57 insertions, 0 deletions
diff --git a/packages/jards/.mtn2git_empty b/packages/jards/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/jards/.mtn2git_empty diff --git a/packages/jards/jards_1.0.bb b/packages/jards/jards_1.0.bb new file mode 100644 index 0000000000..c536a2546b --- /dev/null +++ b/packages/jards/jards_1.0.bb @@ -0,0 +1,57 @@ +DESCRIPTION = "Reference and training tool for students of Japanese" +AUTHOR = "Johnny Andersson" +HOMEPAGE = "http://gakusei.sf.net" +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +RDEPENDS = "virtual/japanese-font qte-mt libpng (>= 1) kpengine" +PR = "r7" + +# stuff that still needs fixing +#) is the RDEPENDS line correct and sufficient? +#) upon execution there is a message that /usr/lib/libpng12.so.0 does not have version information +#) desktop icon missing +#) Desktop png file an falscher Stelle, daher kein Icon +#) remove .debug dir +#) es fehlen: ./opt/QtPalmtop/bin/kpengine, ./opt/QtPalmtop/jardsmob/edict.jardsdic, ./opt/QtPalmtop/jardsmob/kanjidic.jardskdic +#) exec muß jardsmob_bin heißen +#) Programm geht oft in 100% CPU schleife -> unbenutzbar + +SRC_URI = "${SOURCEFORGE_MIRROR}/gakusei/jards_gakusei.cvs.sourceforge.net__20070212.tar.gz" +#SRC_URI = "cvs://anonymous@gakusei.cvs.sourceforge.net/cvsroot/gakusei;method=pserver;module=jards" + +inherit opie + +OE_QMAKE_CXXFLAGS := "${@oe_filter_out('-fno-rtti', '${OE_QMAKE_CXXFLAGS}', d)}" +OE_QMAKE_CXXFLAFS += " -L${STAGING_DIR}/pkgdata" +CXXFLAFS += " -L${STAGING_DIR}/pkgdata" + +S = "${WORKDIR}/${PN}/" +export OE_QMAKE_LINK="${CXX}" + +# read opie.bbclass +#APPDESKTOP = "${S}" +APPTYPE = "binary" +APPNAME = "jardsmob" + +FILES_${PN}-dbg += "${D}${palmtopdir}/bin/.debug/" + +PARALLEL_MAKE = "" + +do_install() { + install -d ${D}${palmtopdir}/bin/ + install -d ${D}${palmtopdir}/pics/ + install -d ${D}${palmtopdir}/${APPNAME}/images + install -d ${D}${palmtopdir}/apps/Applications + install -m 0644 ${S}dat/images/jardsmob.png ${D}${palmtopdir}/pics/ + install -m 0644 ${S}dat/images/*.png ${D}${palmtopdir}/${APPNAME}/images/ + install -m 0755 ${S}jardsmob_bin ${D}${palmtopdir}/bin/ + install -m 0644 ${WORKDIR}/jards/jards.desktop ${D}${palmtopdir}/apps/Applications/ + + # what about the following files: edict.jardsdic kanjidic.jardskdic? + for f in markers romkana.utf8 strokedata wordfreq_ck raddat.utf8 + do + install -m 0644 ${S}dat/$f ${D}${palmtopdir}/${APPNAME}/ + done +} + |