0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-04-17 10:16:09 +00:00
Files
Tomáš Kelemen (vudiq) c1a190e19b retroflag safe shutdown: enable/disable via RetroArch
- retroflag_picase_safeshutdown
  - remove copy service (is copied automatically)
  - enable the service
  - start the service only when specific files exists
- RPi3/4/5: add RetroArch patch that adds menu item under Settings ->
  Services to enable/disable the service
- retroarch: enable HAVE_RETROFLAG for RPi3/4/5
2025-03-07 00:59:54 +01:00

17 lines
440 B
Makefile

PKG_NAME="retroflag_picase_safeshutdown"
PKG_VERSION="1.0"
PKG_ARCH="aarch64"
PKG_DEPENDS_TARGET="Python3 lg-gpio"
PKG_SECTION="system"
PKG_LONGDESC="RETROFLAG Pi CASE series safe shutdown script."
PKG_TOOLCHAIN="manual"
makeinstall_target() {
mkdir -p "${INSTALL}/usr/bin"
cp -av "${PKG_DIR}/scripts/retroflag_picase_safeshutdown.py" "${INSTALL}/usr/bin"
}
post_install() {
enable_service retroflag_picase_safeshutdown.service
}