summaryrefslogtreecommitdiff
path: root/recipes/jards/jards_1.0.bb
blob: 82dd60564d881a34578306ad4441e7a9adb60aae (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
56
57
58
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
}


SRC_URI[md5sum] = "1282913edd226bc9e865f39d79573117"
SRC_URI[sha256sum] = "3c884982ebf40aade899379902ec92c41782d18c19506cf0ec40bcf6a7df8e3b"