mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-22 05:46:19 +00:00
4d743d3c68
* Switch: Bootloader: Fix boot.scr issues, fix issue in updater, and bump package version * Joycond: Switch: Update * L4T: Switch: Retroarch: Add patch to fix single joycon detection This patch is included in upstream PR #15818 * Lakka: Wii-u-gc-adapter: Enable service when building image * L4T: Switch: Add wii-u-gc-adapter to build * L4T: Switch: retroarch add canary support to updater * Lakka: Retroarch: Add Canary path support for updater * Retroarch: Switch: Add patch for canary builds * L4T: BusyBox: Fix Password Generation * Busybox: Make DISTRO user password creation match switch busybox package * L4T: tegra-bsp: Update 10-monitor.conf to fix vsync/tearing issues
30 lines
1.2 KiB
Makefile
30 lines
1.2 KiB
Makefile
PKG_NAME="joycond"
|
|
PKG_DEPENDS_TARGET="toolchain cmake:host libevdev systemd"
|
|
PKG_SITE="https://github.com/DanielOgorchock/joycond"
|
|
if [ "${PROJECT}" = "L4T" -a "${DEVICE}" = "Switch" ]; then
|
|
PKG_VERSION="c83539a8995040e8daf6912dab32a11082e75acf"
|
|
PKG_SHA256="10b043f226e49b17f1025ded37257ca096ed9fac5f22bbe91cd12cd6e7882835"
|
|
PKG_URL="https://gitlab.com/switchroot/userspace/joycond/-/archive/linux/joycond-linux.tar.gz"
|
|
else
|
|
PKG_VERSION="2d3f553060291f1bfee2e49fc2ca4a768b289df8"
|
|
PKG_SHA256="34ba2a4ffd35f2b2bbebd8ce47d17f2238d991bc6262653d0617b28f864e4b63"
|
|
PKG_URL="https://github.com/DanielOgorchock/joycond/archive/${PKG_VERSION}.tar.gz"
|
|
fi
|
|
PKG_LONGDESC="Joycon service"
|
|
|
|
PKG_TOOLCHAIN="cmake-make"
|
|
|
|
post_makeinstall_target() {
|
|
rm -r ${INSTALL}/etc/modules-load.d
|
|
mv -v ${INSTALL}/lib/* ${INSTALL}/usr/lib/ && rmdir ${INSTALL}/lib
|
|
mv -v ${INSTALL}/etc/systemd ${INSTALL}/usr/lib/systemd
|
|
mkdir -p ${INSTALL}/usr/lib/udev
|
|
mv -v ${INSTALL}/usr/lib/rules.d ${INSTALL}/usr/lib/udev/
|
|
sed -e 's|^WorkingDirectory=.*$|WorkingDirectory=/var|g' \
|
|
-i ${INSTALL}/usr/lib/systemd/system/joycond.service
|
|
}
|
|
|
|
post_install() {
|
|
enable_service joycond.service
|
|
}
|