slim-op-themes: bump to override default theme
[openpandora.oe.git] / recipes / slim / slim-op-themes.bb
1 DESCRIPTION = "SLiM Themes for the OpenPandora"
2 SECTION = "x11/dm"
3 LICENSE = "GPL"
4
5 DEPENDS = "slim"
6 RDEPENDS = "slim"
7
8 PR = "r4"
9
10 SRC_URI = " \        
11 "
12
13 # Greek theme.
14
15 SRC_URI_append = " \
16            file://greek/background.png \
17            file://greek/panel.png \
18            file://greek/slim.theme \
19            file://pnd-default/background.png \
20            file://pnd-default/panel.png \
21            file://pnd-default/slim.theme \
22 "
23
24 do_install() {         
25           install -d ${D}${datadir}/slim/themes/
26           
27           install -d ${D}${datadir}/slim/themes/greek/          
28           install -m 0644 ${WORKDIR}/greek/* ${D}${datadir}/slim/themes/greek/
29           install -d ${D}${datadir}/slim/themes/pnd-default/          
30           install -m 0644 ${WORKDIR}/pnd-default/* ${D}${datadir}/slim/themes/pnd-default/
31 }
32
33 pkg_postinst() {
34 #!/bin/sh
35 sed -i -e 's/  default/  pnd-default/' /etc/slim.conf
36 }
37                 
38 FILES_${PN} += "${prefix} ${sysconfdir}"