mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-04-02 10:41:46 -04:00
- update RetroArch to 1.10.3 - remove RetroArch patches merged upstream - update cores - vice: remove buildfix patch - fuse_libretro: add flags/define for bzip2 and dependency - mame2010: add database - mame2015: add database - update databases/assets/shaders/joypads
25 lines
791 B
Makefile
25 lines
791 B
Makefile
PKG_NAME="wasm4"
|
|
PKG_VERSION="6e018408335937669732b26da34a67de128f1ea8"
|
|
PKG_LICENSE="ISC"
|
|
PKG_SITE="https://github.com/aduros/wasm4"
|
|
PKG_URL="${PKG_SITE}.git"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="WASM-4 is a low-level fantasy game console for building small games with WebAssembly."
|
|
PKG_TOOLCHAIN="cmake"
|
|
PKG_CMAKE_OPTS_TARGET="-DLIBRETRO=on \
|
|
-DCMAKE_BUILD_TYPE=Release"
|
|
|
|
pre_configure_target() {
|
|
PKG_CMAKE_SCRIPT="${PKG_BUILD}/runtimes/native/CMakeLists.txt"
|
|
}
|
|
|
|
pre_make_target() {
|
|
find ${PKG_BUILD} -name flags.make -exec sed -i "s:isystem :I:g" \{} \;
|
|
find ${PKG_BUILD} -name build.ninja -exec sed -i "s:isystem :I:g" \{} \;
|
|
}
|
|
|
|
makeinstall_target() {
|
|
mkdir -p ${INSTALL}/usr/lib/libretro
|
|
cp -v wasm4_libretro.so ${INSTALL}/usr/lib/libretro/
|
|
}
|
|
|