summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-02-14 13:22:26 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-21 14:56:46 +0000
commite45b0672e28d19cfb66c9e57e153ef15e004dcaf (patch)
treef4423140f7f818deb37fc8f979b83627de3ec6ec /meta
parentb70d100047912569d6eb060eb48a753c56968d89 (diff)
downloadopenembedded-core-e45b0672e28d19cfb66c9e57e153ef15e004dcaf.tar.gz
openembedded-core-e45b0672e28d19cfb66c9e57e153ef15e004dcaf.tar.bz2
openembedded-core-e45b0672e28d19cfb66c9e57e153ef15e004dcaf.zip
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). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sdl.bbclass38
1 files changed, 0 insertions, 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 <<EOF
-[Desktop Entry]
-Note=Auto Generated... this may be not what you want
-Comment=${DESCRIPTION}
-Exec=${APPNAME}
-Icon=${PN}.png
-Type=Application
-Name=${PN}
-EOF
- fi
-}
-
-EXPORT_FUNCTIONS do_sdl_install
-addtask sdl_install after do_compile before do_populate_sysroot
-
SECTION = "x11/games"
-SECTION_${PN}-opie = "opie/games"
-
-PACKAGES += "${PN}-opie"
-RDEPENDS_${PN}-opie += "${PN}"
-FILES_${PN}-opie = "${palmtopdir}"