Bumped recipes
[openpandora.oe.git] / recipes / pandora-system / pandora-scripts.bb
1 DESCRIPTION = "Scripts to support system options on the OpenPandora."
2 LICENSE = "GPLV2"
3
4 COMPATIBLE_MACHINE = "omap3-pandora"
5
6 DEPENDS = "zenity dbus"
7 RDEPENDS = "zenity dbus"
8
9 PR = "r43"
10
11 SRC_URI = " \
12           file://op_bright.sh \
13 #          file://op_bright.desktop \
14           file://op_cpuspeed.sh \
15           file://op_cpuspeed.pnd \          
16           file://op_wifi.sh \
17           file://op_wifi.pnd \  
18 #         file://op_wifi.desktop \ 
19           file://op_bluetooth.sh \
20           file://op_bluetooth-check.desktop \
21           file://op_bluetooth.desktop \          
22           file://op_startupmanager.sh \
23           file://op_startupmanager.pnd \
24           file://op_switchgui.sh \
25           file://op_switchgui.pnd \
26           file://startnetbooklauncher \
27           file://startmmenu \    
28           file://startpmenu \ 
29           file://stopmmenu \
30           file://op_calibrate.sh \
31           file://op_calibrate.pnd \
32           file://op_datetime.sh \
33           file://op_datetime.pnd \
34           file://op_usermanager.sh \
35           file://op_usermanager.pnd \
36           file://op_lcdsettings.sh \
37           file://op_lcdsettings.pnd \
38           file://op_lcdrate.sh \
39           file://op_videofir.sh \
40           file://op_storage.sh \
41           file://op_storage.pnd \
42           file://op_nubmode.sh \
43           file://op_nubmode.pnd \
44           file://op_tvout.sh \
45           file://op_tvout.pnd \
46           file://gui.conf \
47           file://gamma.conf \
48           file://service.conf \
49           file://default_up_h \
50           file://default_up_v3 \
51           file://default_up_v5 \
52           file://none_up_h \
53           file://none_up_v3 \
54           file://none_up_v5 \
55           file://op_env.sh \
56 #          file://pandorascripts.pnd \
57           file://abiword.pnd \
58           file://arora.pnd \
59           file://claws-mail.pnd \
60           file://evince.pnd \
61           file://gigolo.pnd \
62           file://gnumeric.pnd \
63           file://midori.pnd \
64           file://mousepad.pnd \
65           file://pidgin.pnd \
66           file://ristretto.pnd \
67           file://squeeze.pnd \
68           file://thunar.pnd \
69           file://xchat.pnd \
70 "
71
72 do_install() {
73           install -d ${D}${prefix}/pandora/scripts/
74           install -m 0755 ${WORKDIR}/op_bright.sh ${D}${prefix}/pandora/scripts/
75           install -m 0755 ${WORKDIR}/op_cpuspeed.sh ${D}${prefix}/pandora/scripts/
76           install -m 0755 ${WORKDIR}/op_wifi.sh ${D}${prefix}/pandora/scripts/
77           install -m 0755 ${WORKDIR}/op_bluetooth.sh ${D}${prefix}/pandora/scripts/
78           install -m 0755 ${WORKDIR}/op_startupmanager.sh ${D}${prefix}/pandora/scripts/
79           install -m 0755 ${WORKDIR}/op_switchgui.sh ${D}${prefix}/pandora/scripts/
80           install -m 0755 ${WORKDIR}/op_calibrate.sh ${D}${prefix}/pandora/scripts/
81           install -m 0755 ${WORKDIR}/op_datetime.sh ${D}${prefix}/pandora/scripts/
82           install -m 0755 ${WORKDIR}/op_usermanager.sh ${D}${prefix}/pandora/scripts/
83           install -m 0755 ${WORKDIR}/op_lcdsettings.sh ${D}${prefix}/pandora/scripts/
84           install -m 0755 ${WORKDIR}/op_lcdrate.sh ${D}${prefix}/pandora/scripts/
85           install -m 0755 ${WORKDIR}/op_videofir.sh ${D}${prefix}/pandora/scripts/
86           install -m 0755 ${WORKDIR}/op_nubmode.sh ${D}${prefix}/pandora/scripts/
87           install -m 0755 ${WORKDIR}/op_storage.sh ${D}${prefix}/pandora/scripts/
88           install -m 0755 ${WORKDIR}/op_tvout.sh ${D}${prefix}/pandora/scripts/
89
90           install -d ${D}${prefix}/pandora/apps/
91           install -m 0755 ${WORKDIR}/op_calibrate.pnd ${D}${prefix}/pandora/apps/
92           install -m 0755 ${WORKDIR}/op_cpuspeed.pnd ${D}${prefix}/pandora/apps/
93           install -m 0755 ${WORKDIR}/op_datetime.pnd ${D}${prefix}/pandora/apps/
94           install -m 0755 ${WORKDIR}/op_lcdsettings.pnd ${D}${prefix}/pandora/apps/
95           install -m 0755 ${WORKDIR}/op_nubmode.pnd ${D}${prefix}/pandora/apps/
96           install -m 0755 ${WORKDIR}/op_startupmanager.pnd ${D}${prefix}/pandora/apps/
97           install -m 0755 ${WORKDIR}/op_storage.pnd ${D}${prefix}/pandora/apps/
98           install -m 0755 ${WORKDIR}/op_switchgui.pnd ${D}${prefix}/pandora/apps/
99           install -m 0755 ${WORKDIR}/op_usermanager.pnd ${D}${prefix}/pandora/apps/
100           install -m 0755 ${WORKDIR}/op_wifi.pnd ${D}${prefix}/pandora/apps/
101           install -m 0755 ${WORKDIR}/op_tvout.pnd ${D}${prefix}/pandora/apps/
102
103           install -d ${D}${prefix}/pandora/mmenu/
104           install -m 0755 ${WORKDIR}/abiword.pnd ${D}${prefix}/pandora/mmenu/
105           install -m 0755 ${WORKDIR}/arora.pnd ${D}${prefix}/pandora/mmenu/
106           install -m 0755 ${WORKDIR}/claws-mail.pnd ${D}${prefix}/pandora/mmenu/
107           install -m 0755 ${WORKDIR}/evince.pnd ${D}${prefix}/pandora/mmenu/
108           install -m 0755 ${WORKDIR}/gigolo.pnd ${D}${prefix}/pandora/mmenu/
109           install -m 0755 ${WORKDIR}/gnumeric.pnd ${D}${prefix}/pandora/mmenu/
110           install -m 0755 ${WORKDIR}/midori.pnd ${D}${prefix}/pandora/mmenu/
111           install -m 0755 ${WORKDIR}/mousepad.pnd ${D}${prefix}/pandora/mmenu/
112           install -m 0755 ${WORKDIR}/pidgin.pnd ${D}${prefix}/pandora/mmenu/
113           install -m 0755 ${WORKDIR}/ristretto.pnd ${D}${prefix}/pandora/mmenu/
114           install -m 0755 ${WORKDIR}/squeeze.pnd ${D}${prefix}/pandora/mmenu/
115           install -m 0755 ${WORKDIR}/thunar.pnd ${D}${prefix}/pandora/mmenu/
116           install -m 0755 ${WORKDIR}/xchat.pnd ${D}${prefix}/pandora/mmenu/
117
118           install -d ${D}${datadir}/applications/
119 #         install -m 0644 ${WORKDIR}/op_bright.desktop ${D}${datadir}/applications/
120 #          install -m 0644 ${WORKDIR}/op_cpuspeed.desktop ${D}${datadir}/applications/
121 #          install -m 0644 ${WORKDIR}/op_wifi.desktop ${D}${datadir}/applications/
122           install -m 0644 ${WORKDIR}/op_bluetooth.desktop ${D}${datadir}/applications/
123 #          install -m 0644 ${WORKDIR}/op_startupmanager.desktop ${D}${datadir}/applications/
124 #          install -m 0644 ${WORKDIR}/op_switchgui.desktop ${D}${datadir}/applications/          
125 #          install -m 0644 ${WORKDIR}/op_calibrate.desktop ${D}${datadir}/applications/
126 #          install -m 0644 ${WORKDIR}/op_datetime.desktop ${D}${datadir}/applications/
127 #          install -m 0644 ${WORKDIR}/op_usermanager.desktop ${D}${datadir}/applications/
128 #          install -m 0644 ${WORKDIR}/op_lcdsettings.desktop ${D}${datadir}/applications/
129 #         install -m 0644 ${WORKDIR}/op_nubmode.desktop ${D}${datadir}/applications/
130           
131           install -d ${D}${sysconfdir}/xdg/autostart/
132           install -m 0644 ${WORKDIR}/op_bluetooth-check.desktop ${D}${sysconfdir}/xdg/autostart/op_bluetooth-check.desktop
133
134           install -d ${D}${sysconfdir}/pandora/conf/
135           install -m 0644 ${WORKDIR}/gui.conf ${D}${sysconfdir}/pandora/conf/gui.conf
136           install -m 0644 ${WORKDIR}/gamma.conf ${D}${sysconfdir}/pandora/conf/gamma.conf
137           install -m 0644 ${WORKDIR}/service.conf ${D}${sysconfdir}/pandora/conf/service.conf
138
139           install -d ${D}${sysconfdir}/pandora/conf/dss_fir/
140           install -m 0644 ${WORKDIR}/default_up_h ${D}${sysconfdir}/pandora/conf/dss_fir/
141           install -m 0644 ${WORKDIR}/default_up_v3 ${D}${sysconfdir}/pandora/conf/dss_fir/
142           install -m 0644 ${WORKDIR}/default_up_v5 ${D}${sysconfdir}/pandora/conf/dss_fir/
143           install -m 0644 ${WORKDIR}/none_up_h ${D}${sysconfdir}/pandora/conf/dss_fir/
144           install -m 0644 ${WORKDIR}/none_up_v3 ${D}${sysconfdir}/pandora/conf/dss_fir/
145           install -m 0644 ${WORKDIR}/none_up_v5 ${D}${sysconfdir}/pandora/conf/dss_fir/
146
147           install -d ${D}${sysconfdir}/profile.d/
148           install -m 0755 ${WORKDIR}/op_env.sh ${D}${sysconfdir}/profile.d/
149
150           install -d ${D}${bindir}/
151           install -m 0755 ${WORKDIR}/startnetbooklauncher ${D}${bindir}/
152           install -m 0755 ${WORKDIR}/startmmenu ${D}${bindir}/
153           install -m 0755 ${WORKDIR}/startpmenu ${D}${bindir}/
154           install -m 0755 ${WORKDIR}/stopmmenu ${D}${bindir}/
155 }
156
157 PACKAGE_ARCH = "${MACHINE_ARCH}"
158
159 FILES_${PN} += "${prefix} ${datadir}"