Lakka-LibreELEC/packages/lakka/libretro_cores/kronos/package.mk
Tomáš Kelemen (vudiq) 8833effeff
update RetroArch and libretro cores
- update RetroArch to 1.18.0 (will need to be updated later)
- update cores to latest
- update assets, info, shaders, overlays, database
- leave kronos only for Generic.x86_64 and x11.x86_64
- putt back some RetroArch changes (shutdown/restart, path)
- get_git: use PKG_ var for skipping submodules
2024-04-16 11:57:36 +02:00

41 lines
1.1 KiB
Makefile

PKG_NAME="kronos"
PKG_VERSION="3646a3fc9e414d9474b7a21a39bc2734bb805932"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/yabause"
PKG_URL="${PKG_SITE}.git"
PKG_GIT_CLONE_BRANCH="kronos"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Port of Kronos to libretro."
PKG_TOOLCHAIN="make"
PKG_MAKE_OPTS_TARGET="-C yabause/src/libretro HAVE_CDROM=1"
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL}"
PKG_MAKE_OPTS_TARGET+=" HAVE_OPENGL=1"
fi
if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
PKG_MAKE_OPTS_TARGET+=" FORCE_GLES=1"
fi
if [ "${VULKAN_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${VULKAN}"
fi
if [ "${ARCH}" = "arm" ]; then
if [ "${PROJECT}" = "Samsung" -a "${DEVICE}" = "Exynos" ]; then
PKG_MAKE_OPTS_TARGET+=" platform=odroid BOARD=ODROID-XU4"
else
PKG_MAKE_OPTS_TARGET+=" platform=armv"
fi
elif [ "${ARCH}" = "aarch64" ]; then
PKG_MAKE_OPTS_TARGET+=" platform=arm64"
fi
makeinstall_target() {
mkdir -p ${INSTALL}/usr/lib/libretro
cp -v yabause/src/libretro/kronos_libretro.so ${INSTALL}/usr/lib/libretro/
}