summaryrefslogtreecommitdiff
path: root/recipes/jards/jards_1.0.bb
blob: 8f51b4309d6148d5ab8a8f7a202ffe2d3e6f7c6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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 = "r8"

#  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)}"

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
}