increase dvbapp PR.
[vuplus_openembedded] / recipes / opie-taskbar / opie-taskbar.inc
1 DESCRIPTION = "Opie Launcher and Taskbar"
2 SECTION = "opie/base"
3 PRIORITY = "optional"
4 LICENSE = "GPL"
5 DEPENDS = "opie-libqrsync opie-qss"
6 # Unfortunately, ipkg has buggy handling of Rdepends to multiple packages with the same Provides.
7 # Instead of seeing if something in package package lists selects needed package among the rest
8 # or errors out otherwise, it just install random package which has needed Provides. So, comment
9 # this out.
10 #RDEPENDS = "opie-taskbar-images"
11 APPNAME = "qpe"
12
13 S = "${WORKDIR}/launcher"
14
15 inherit opie
16
17 do_configure_prepend() {
18         ln -s ${WORKDIR}/calibrate ${S}/calibrate
19         ln -s ${WORKDIR}/mediummount ${S}/mediummount
20 }
21
22 do_stage() {
23     install obexinterface.h ${STAGING_INCDIR}/
24
25 }
26
27 SECTIONS = "1Pim Applications Examples Games Opie-SH Python Settings"
28 PICS = "opielogo32x32.png start_button.png new_wait.png opielogo16x16.png sidebar.png"
29
30 do_install() {
31         install -d ${D}${bindir}
32         for i in ${SECTIONS}
33         do
34                 install -d ${D}${palmtopdir}/apps/$i/
35                 install -m 0644 ${WORKDIR}/apps/$i/.directory ${D}${palmtopdir}/apps/$i/
36         done
37         install -d ${D}${palmtopdir}/pics/launcher
38         install -d ${D}${palmtopdir}/pics/logo
39         install -d ${D}${palmtopdir}/pics/RoH/star/
40         install -d ${D}${palmtopdir}/etc/colors
41         install -d ${D}${palmtopdir}/etc/skel
42         install -d ${D}${sysconfdir}
43
44         install -m 0755 ${S}/qpe ${D}${bindir}/qpe
45         install -m 0644 ${WORKDIR}/apps/Settings/calibrate.desktop ${D}${palmtopdir}/apps/Settings/
46         install -m 0644 ${WORKDIR}/apps/Settings/quit.desktop ${D}${palmtopdir}/apps/Settings/
47
48         for p in ${PICS}
49         do
50                 install -m 0644 ${WORKDIR}/pics/launcher/$p ${D}${palmtopdir}/pics/launcher/$p
51         done
52
53         install -m 0644 ${WORKDIR}/pics/logo/*.* ${D}${palmtopdir}/pics/logo/
54         install -m 0644 ${WORKDIR}/pics/RoH/star/*.png ${D}${palmtopdir}/pics/RoH/star/
55
56         install -m 0644 ${WORKDIR}/etc/colors/*.scheme ${D}${palmtopdir}/etc/colors/
57         install -m 0644 ${WORKDIR}/etc/mime.types ${D}${sysconfdir}/
58
59         install -m 0644 ${WORKDIR}/pics/capslock.xpm ${D}${palmtopdir}/pics/
60         install -m 0644 ${WORKDIR}/pics/numlock.xpm ${D}${palmtopdir}/pics/
61 }
62
63 FILES_opie-taskbar_append = " ${sysconfdir} ${palmtopdir}/apps ${palmtopdir}/pics"