2022-10-08 22:49:14 +00:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Copyright (C) 2020-present Fewtarius
|
|
|
|
|
|
|
|
PKG_NAME="retroarch-joypads"
|
* Update emulators, cores, and emulation support packages.
* box64, a5200-lr, atari800-lr, beetle-pce-fast-lr, beetle-pce-lr, beetle-psx-lr, bsnes-lr, package.mk, desmume-lr, dosbox-pure-lr, fbneo-lr, flycast-lr, genesis-plus-gx-lr, genesis-plus-gx-wide-lr, handy-lr, package.mk, mame-lr, mame2003-plus-lr, mupen64plus-nx-lr, opera-lr, pcsx_rearmed-lr, picodrive-lr, play-lr, ppsspp-lr, stella-lr, swanstation-lr, tic80-lr, cemu-sa, duckstation-sa, hatarisa, package.mk, ppsspp-sa, primehack, retroarch, scummvmsa, yuzu-sa, glsl-shaders, slang-shaders, and retroarch-joypads.
* Fix pipewire package oops.
2023-08-11 20:52:46 +00:00
|
|
|
PKG_VERSION="5666e46bb89caf4e9af358fdb97a2b384cb62f36"
|
2022-10-08 22:49:14 +00:00
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
PKG_SITE="https://github.com/libretro/retroarch-joypad-autoconfig"
|
|
|
|
PKG_URL="${PKG_SITE}.git"
|
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
|
|
PKG_LONGDESC="RetroArch joypad autoconfigs."
|
|
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
|
|
|
|
make_target() {
|
|
|
|
:
|
|
|
|
}
|
|
|
|
|
|
|
|
makeinstall_target() {
|
|
|
|
INSTALLDIR="${INSTALL}/usr/share/libretro/autoconfig"
|
|
|
|
mkdir -p ${INSTALLDIR}
|
|
|
|
for JOYDIR in linuxraw sdl2 udev x xinput
|
|
|
|
do
|
|
|
|
cp ${PKG_BUILD}/${JOYDIR}/*cfg ${INSTALLDIR}
|
|
|
|
done
|
2023-02-16 22:40:39 +00:00
|
|
|
if [ -d "${PKG_DIR}/gamepads" ]
|
2022-10-08 22:49:14 +00:00
|
|
|
then
|
2023-02-16 22:40:39 +00:00
|
|
|
cp -r ${PKG_DIR}/gamepads/* ${INSTALLDIR} ||:
|
2022-10-08 22:49:14 +00:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
enable_service tmp-joypads.mount
|
|
|
|
}
|