0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-05 02:06:57 +00:00
2024-06-02 22:29:55 +02:00

28 lines
1.0 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv)
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="peripheral.joystick"
PKG_VERSION="20.1.18-Nexus"
PKG_SHA256="f1275f80dc884efa6771f19eafd7320f43b80e89e4632cd879db40b03dcef576"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/xbmc/peripheral.joystick"
PKG_URL="https://github.com/xbmc/peripheral.joystick/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform p8-platform systemd"
PKG_SECTION=""
PKG_SHORTDESC="peripheral.joystick: Joystick support in Kodi"
PKG_LONGDESC="peripheral.joystick provides joystick support and button mapping"
PKG_BUILD_FLAGS="+lto"
PKG_IS_ADDON="embedded"
PKG_ADDON_TYPE="kodi.peripheral"
post_install() {
if [ "${PROJECT}" = "L4T" -a "${DEVICE}" = "Switch" ]; then
# Set UDEV controller driver as active
sed -i -e 's|<default>0</default>|<default>1</default>|' ${INSTALL}/usr/share/kodi/addons/peripheral.joystick/resources/settings.xml
fi
}