Update TIC-80.

This commit is contained in:
fewtarius 2023-03-05 20:43:43 -05:00
parent f5e6586019
commit 86407e2f7b
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -20,7 +20,7 @@
################################################################################
PKG_NAME="TIC-80"
PKG_VERSION="7be33dc4b5bc54e417639333fbd1c67582aeff21"
PKG_VERSION="40c5f2d8ef8f221933e9f3fabe3c5e2980e32fee"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
@ -37,7 +37,9 @@ PKG_BUILD_FLAGS="+pic"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_CMAKE_OPTS_TARGET="-DBUILD_PLAYER=ON \
pre_configure_target() {
PKG_CMAKE_OPTS_TARGET="-DBUILD_PLAYER=ON \
-DBUILD_SOKOL=OFF \
-DBUILD_SDL=OFF \
-DBUILD_DEMO_CARTS=OFF \
@ -45,6 +47,9 @@ PKG_CMAKE_OPTS_TARGET="-DBUILD_PLAYER=ON \
-DBUILD_WITH_MRUBY=OFF \
-DCMAKE_BUILD_TYPE=Release"
sed -i 's#$(CC) $(BOOT_CFLAGS) -o $@ $(JANET_BOOT_OBJECTS) $(CLIBS)#$(HOST_CC) $(BOOT_CFLAGS) -o $@ $(JANET_BOOT_OBJECTS) $(CLIBS)#g' ${PKG_BUILD}/vendor/janet/Makefile
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/lib/libretro
cp ${PKG_BUILD}/.${TARGET_NAME}/lib/tic80_libretro.so ${INSTALL}/usr/lib/libretro/tic80_libretro.so