BOARD: separate miyoo packages + concentrate RetroArch/libretro (#129)

MENU->Target packages ---> Miyoo Packages ---> ...
This commit is contained in:
Apaczer
2024-10-15 20:07:21 +02:00
committed by GitHub
parent 81270d9968
commit 59d7586ca6
217 changed files with 328 additions and 298 deletions

View File

@@ -0,0 +1,7 @@
config BR2_PACKAGE_LIBRETRO_WASM4
bool "libretro-wasm4"
depends on BR2_PACKAGE_RETROARCH
help
WASM-4 is a game console that builds games with WebAssembly.
https://github.com/aduros/wasm4

View File

@@ -0,0 +1,27 @@
################################################################################
#
# WASM-4
#
################################################################################
# Commit of 2023/10/14
LIBRETRO_WASM4_VERSION = e39d89d827ea6b5ae74e682a594d44d938966958
LIBRETRO_WASM4_SITE = https://github.com/aduros/wasm4.git
LIBRETRO_WASM4_SITE_METHOD = git
LIBRETRO_WASM4_GIT_SUBMODULES = YES
LIBRETRO_WASM4_LICENSE = ISC
LIBRETRO_WASM4_LICENSE_FILES = LICENSE
LIBRETRO_WASM4_SUBDIR=runtimes/native
LIBRETRO_WASM4_CONF_OPTS += -DCMAKE_BUILD_TYPE=Release
LIBRETRO_WASM4_CONF_OPTS += -DLIBRETRO=1
LIBRETRO_WASM4_CONF_OPTS += -DBUILD_LIBRETRO_CORE=ON
define LIBRETRO_WASM4_INSTALL_TARGET_CMDS
mkdir -p "${BINARIES_DIR}/retroarch/cores"
$(INSTALL) -D $(@D)/runtimes/native/wasm4_libretro.so \
${BINARIES_DIR}/retroarch/cores/wasm4_libretro.so
endef
$(eval $(cmake-package))