2021-03-24 20:37:09 +00:00
|
|
|
PKG_NAME="lakka"
|
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
PKG_SITE="https://www.lakka.tv"
|
2024-04-08 21:15:22 +00:00
|
|
|
PKG_DEPENDS_TARGET="systemd lakka_update retroarch joyutils sixpair empty retrorama_theme_xmb"
|
2021-03-24 20:37:09 +00:00
|
|
|
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
|
|
|
|
|
2021-04-06 10:11:10 +00:00
|
|
|
if [ "${AVAHI_DAEMON}" = yes ]; then
|
2021-04-04 11:23:40 +00:00
|
|
|
PKG_DEPENDS_TARGET+=" nss-mdns"
|
|
|
|
fi
|
|
|
|
|
2021-03-24 20:37:09 +00:00
|
|
|
if [ "${PROJECT}" = "Generic" ]; then
|
2021-10-06 20:22:24 +00:00
|
|
|
PKG_DEPENDS_TARGET+=" wii-u-gc-adapter joycond"
|
2021-03-24 20:37:09 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "${PROJECT}" = "RPi" ]; then
|
2022-04-05 05:58:12 +00:00
|
|
|
PKG_DEPENDS_TARGET+=" rpi_disable_hdmi_service disable_wifi_powersave RPi.GPIO"
|
2024-04-02 21:53:12 +00:00
|
|
|
if [ "${DEVICE}" != "GPICase" -a "${DEVICE}" != "Pi02GPi" -a "${DEVICE}" != "RPiZero2-GPiCASE2W" ] ; then
|
2024-04-19 17:48:32 +00:00
|
|
|
PKG_DEPENDS_TARGET+=" wii-u-gc-adapter wiringPi mk_arcade_joystick_rpi joycond gamecon_gpio_rpi"
|
2021-03-24 20:37:09 +00:00
|
|
|
fi
|
|
|
|
|
2024-04-02 21:53:12 +00:00
|
|
|
if [ "${DEVICE}" = "GPICase" -o "${DEVICE}" = "Pi02GPi" -o "${DEVICE}" = "RPi4-GPICase2" -o "${DEVICE}" = "RPiZero2-GPiCASE2W" ]; then
|
2021-10-06 19:32:49 +00:00
|
|
|
PKG_DEPENDS_TARGET+=" gpicase_safeshutdown"
|
2024-03-16 16:04:09 +00:00
|
|
|
if [ "${DEVICE}" = "GPICase" -o "${DEVICE}" = "Pi02GPi" ]; then
|
|
|
|
PKG_DEPENDS_TARGET+=" gpicase_change_audio_device"
|
|
|
|
fi
|
2021-03-24 20:37:09 +00:00
|
|
|
fi
|
|
|
|
fi
|
2022-03-02 15:42:34 +00:00
|
|
|
|
2024-04-02 21:53:12 +00:00
|
|
|
if [ "${DEVICE}" != "Switch" -a "${DEVICE}" != "GPICase" -a "${DEVICE}" != "Pi02GPi" -a "${DEVICE}" != "RPiZero2-GPiCASE2W" ]; then
|
2022-03-02 15:42:34 +00:00
|
|
|
PKG_DEPENDS_TARGET+=" xbox360_controllers_shutdown"
|
|
|
|
fi
|
2023-01-03 18:38:47 +00:00
|
|
|
|
2023-06-10 00:16:27 +00:00
|
|
|
if [ "${CEC_FRAMEWORK_SUPPORT}" = yes -a ! "${PROJECT}" = "L4T" ]; then
|
2023-01-03 18:38:47 +00:00
|
|
|
PKG_DEPENDS_TARGET+=" cec_mini_kb"
|
|
|
|
fi
|