# SPDX-License-Identifier: GPL-2.0 # Copyright (C) 2023-present - The JELOS Project (https://github.com/JustEnoughLinuxOS) (https://github.com/fewtarius) PKG_NAME="tic80-lr" PKG_VERSION="f740bff14921fe2120486c8a233094602032b996" PKG_LICENSE="MIT" PKG_SITE="https://github.com/nesbox/TIC-80" PKG_URL="${PKG_SITE}.git" PKG_DEPENDS_TARGET="toolchain" PKG_LONGDESC="TIC-80 is a fantasy computer for making, playing and sharing tiny games." GET_HANDLER_SUPPORT="git" PKG_CMAKE_OPTS_TARGET="-DBUILD_PLAYER=ON \ -DBUILD_SOKOL=OFF \ -DBUILD_SDL=OFF \ -DBUILD_TOUCH_INPUT=ON \ -DBUILD_DEMO_CARTS=OFF \ -DBUILD_LIBRETRO=ON \ -DBUILD_WITH_MRUBY=OFF \ -DCMAKE_BUILD_TYPE=Release" makeinstall_target() { mkdir -p ${INSTALL}/usr/lib/libretro cp ${PKG_BUILD}/.${TARGET_NAME}/lib/tic80_libretro.so ${INSTALL}/usr/lib/libretro/tic80_libretro.so }