From 362fd558feb35c46b865022f843bd5e5a62e3a13 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Tue, 14 Feb 2012 13:22:26 +0000 Subject: [PATCH] classes/sdl: remove Opie-specific desktop file/packaging This code will not work without palmtopdir being defined, and is better kept in meta-opie in any case (where we already have the OE-Classic version of this class). (From OE-Core rev: e45b0672e28d19cfb66c9e57e153ef15e004dcaf) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- meta/classes/sdl.bbclass | 38 -------------------------------------- 1 file changed, 38 deletions(-) diff --git a/meta/classes/sdl.bbclass b/meta/classes/sdl.bbclass index a412ccbe0e..cc31288f61 100644 --- a/meta/classes/sdl.bbclass +++ b/meta/classes/sdl.bbclass @@ -3,42 +3,4 @@ # DEPENDS += "virtual/libsdl libsdl-mixer libsdl-image" - -APPDESKTOP ?= "${PN}.desktop" -APPNAME ?= "${PN}" -APPIMAGE ?= "${PN}.png" - -sdl_do_sdl_install() { - install -d ${D}${palmtopdir}/bin - install -d ${D}${palmtopdir}/pics - install -d ${D}${palmtopdir}/apps/Games - ln -sf ${bindir}/${APPNAME} ${D}${palmtopdir}/bin/${APPNAME} - install -m 0644 ${APPIMAGE} ${D}${palmtopdir}/pics/${PN}.png - - if [ -e "${APPDESKTOP}" ] - then - echo ${APPDESKTOP} present, installing to palmtopdir... - install -m 0644 ${APPDESKTOP} ${D}${palmtopdir}/apps/Games/${PN}.desktop - else - echo ${APPDESKTOP} not present, creating one on-the-fly... - cat >${D}${palmtopdir}/apps/Games/${PN}.desktop <