cornucopia: bump SRCREV
[openembedded.git] / recipes / gpe-bootsplash / gpe-bootsplash-theme-gpephone.bb
blob11c1932dc74f30392f46e6a5c987f04c6d1acb93
1 DESCRIPTION = "A GPE Phone Edition theme for gpe-bootsplash"
2 SECTION = "base"
3 PRIORITY = "optional"
4 LICENSE = "LiPS"
5 DEPENDS = "gpe-bootsplash"
6 RDEPENDS_${PN} = "gpe-bootsplash"
7 PR = "r1"
9 export THEME = "gpephone"
11 SRC_URI = "file://splash-${THEME}-portrait.svg \
12 file://splash-${THEME}-landscape.svg"
14 do_install() {
15 install -d "${D}${datadir}/gpe"
16 install -m 0644 ${WORKDIR}/splash-${THEME}* ${D}${datadir}/gpe
19 pkg_postinst() {
20 update-alternatives --install /usr/share/gpe/splash-l.svg bootsplash-l /usr/share/gpe/splash-${THEME}-landscape.svg 20
21 update-alternatives --install /usr/share/gpe/splash-p.svg bootsplash-p /usr/share/gpe/splash-${THEME}-portrait.svg 20
24 pkg_postrm() {
25 update-alternatives --remove bootsplash-l /usr/share/gpe/splash-${THEME}-landscape.svg
26 update-alternatives --remove bootsplash-p /usr/share/gpe/splash-${THEME}-portrait.svg
29 FILES_${PN} = "/usr/share/gpe/splash-${THEME}-*"