blob: a22894ef9349f1c4947d766c6d00232961e9adb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
DESCRIPTION = "Fast-paced 2D top-down shooter where you have to destroy space station"
SECTION = "games"
PRIORITY = "optional"
LICENSE = "GPL"
AUTHOR = "David Olofson <david@olofson.net>"
HOMEPAGE = "http://olofson.net/kobodl"
PR = "r5"
DEPENDS = "libsdl-image virtual/libsdl"
RDEPENDS_${PN} = "${PN}-data"
SRC_URI = "http://olofson.net/kobodl/download/KoboDeluxe-${PV}.tar.bz2 \
file://fighter-48.xpm \
file://debian-kobo.patch \
file://kobodeluxe-putenv.patch \
file://kobodeluxe-sysconf-support.patch \
file://kobodeluxe-menu-pointer.patch \
file://kobodeluxe-dimension-autoswap.patch \
file://default-config \
"
S = "${WORKDIR}/KoboDeluxe-${PV}"
inherit autotools sdl
APPIMAGE = "${WORKDIR}/fighter-48.xpm"
APPNAME = "kobodl"
EXTRA_OECONF = "--disable-opengl --disable-sdltest --enable-touchscreen"
export SDL_CONFIG = "${STAGING_BINDIR_CROSS}/sdl-config"
do_configure_prepend() {
sed -i \
-e "s|width WIDTH_HERE|width ${MACHINE_DISPLAY_WIDTH_PIXELS}|" \
-e "s|height HEIGHT_HERE|height ${MACHINE_DISPLAY_HEIGHT_PIXELS}|" \
${WORKDIR}/default-config
}
do_install_append() {
# Provide a default (working) configuration file
install -d ${D}${sysconfdir}/kobo-deluxe
install -m 755 ${WORKDIR}/default-config ${D}${sysconfdir}/kobo-deluxe
}
PACKAGES += "${PN}-data"
FILES_${PN} += "${sysconfdir}"
CONFFILES_${PN} = "${sysconfdir}/kobo-deluxe/default-config"
FILES_${PN}-data = "${datadir}"
PACKAGE_ARCH_${PN}-data = "all"
SRC_URI[md5sum] = "cb5dcdaf07ccad18a921058138dedc4a"
SRC_URI[sha256sum] = "0f7b910a399d985437564af8c5d81d6dcf22b96b26b01488d72baa6a6fdb5c2c"
|