1
0
This repository has been archived on 2024-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
Lakka-rk322x/packages/lakka/package.mk
Tomáš Kelemen (vudiq) 62399ee97f
Lakka: RPi.GPIO: move the package dependency to lakka package
We do not want to install this package automatically for other distros,
like LibreELEC.
2022-04-05 07:58:12 +02:00

38 lines
1.1 KiB
Makefile

PKG_NAME="lakka"
PKG_LICENSE="GPL"
PKG_SITE="https://www.lakka.tv"
PKG_DEPENDS_TARGET="systemd lakka_update retroarch joyutils sixpair empty"
PKG_SECTION="virtual"
PKG_LONGDESC="Root package used to build libretro suite"
if [ "${DISABLE_LIBRETRO_OPTIONAL}" != "yes" ]; then
PKG_DEPENDS_TARGET+=" ${LIBRETRO_OPTIONAL}"
fi
if [ "${DISABLE_LIBRETRO_CORES}" != "yes" ]; then
PKG_DEPENDS_TARGET+=" ${LIBRETRO_CORES}"
fi
if [ "${AVAHI_DAEMON}" = yes ]; then
PKG_DEPENDS_TARGET+=" nss-mdns"
fi
if [ "${PROJECT}" = "Generic" ]; then
PKG_DEPENDS_TARGET+=" wii-u-gc-adapter joycond"
fi
if [ "${PROJECT}" = "RPi" ]; then
PKG_DEPENDS_TARGET+=" rpi_disable_hdmi_service disable_wifi_powersave RPi.GPIO"
if [ "${DEVICE}" != "GPICase" -a "${DEVICE}" != "Pi02GPi" ] ; then
PKG_DEPENDS_TARGET+=" wii-u-gc-adapter wiringPi mk_arcade_joystick_rpi joycond"
fi
if [ "${DEVICE}" = "GPICase" -o "${DEVICE}" = "Pi02GPi" ]; then
PKG_DEPENDS_TARGET+=" gpicase_safeshutdown"
fi
fi
if [ "${DEVICE}" != "Switch" -a "${DEVICE}" != "GPICase" -a "${DEVICE}" != "Pi02GPi" ]; then
PKG_DEPENDS_TARGET+=" xbox360_controllers_shutdown"
fi