Skip to content

Commit

Permalink
Add joystick_1.6.1.bb (later than v1.6.0 provided by Ubuntu bionic)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Jansa <martin.jansa@lge.com>
  • Loading branch information
shr-project authored and herb-kuta-lge committed Jul 1, 2020
1 parent 551cb76 commit ee3a3f6
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions recipes-extended/joystick/joystick_1.6.1.bb
@@ -0,0 +1,29 @@
DESCRIPTION = "Linux Console tools, which include utilities to test and configure joysticks, connect legacy devices to the kernel's input subsystem (providing support for serial mice, touchscreens etc.), and test the input event layer."

LICENSE = "GPL-2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

SRC_URI = "${SOURCEFORGE_MIRROR}/linuxconsole/linuxconsoletools-${PV}.tar.bz2"
SRC_URI[md5sum] = "d6d470394984489855ce839d045aa5eb"
SRC_URI[sha256sum] = "e9d6b05a6c57c7eb3ec7f9f017f46b20e4b55d5a02f930eff1823a13921c5934"

S = "${WORKDIR}/linuxconsoletools-${PV}"

do_compile_prepend() {
# drop ffmvforce so that we don't need libsdl
sed '/^PROGRAMS/s/ffmvforce *//g' -i ${S}/utils/Makefile
}

do_install() {
oe_runmake install DESTDIR=${D} PREFIX=${prefix}
}

PACKAGES =+ "${PN}-jscal"

FILES_${PN}-jscal = " \
${datadir}/joystick \
${bindir}/jscal-restore \
${bindir}/jscal-store \
"

RDEPENDS_${PN}-jscal = "bash busybox gawk"

0 comments on commit ee3a3f6

Please sign in to comment.