0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-04-05 21:14:31 +00:00
Files
Tomáš Kelemen 4606c63ffd update libretro/retroarch (#2036)
- update all cores to latest commit
- update RetroArch to 1.20.0
- update core_info, database, shaders, joypad configs, overlays
- retroarch: update patch - save to default config
- mame: update patch - crosscompile
- np2kai: rollback update
- new libretro cores:
  - anarch
  - ardens
  - doukutsu_rs
  - lrps2 (supersedes pcsx2)
  - m2000
  - melondsds
  - noods
  - panda3ds
  - pzretro
  - tamalibretro
  - vice: add x64dtv x64sc xcbm2 xscpu64 cores

Co-authored-by: gouchi <gouchi@free.fr>
2025-02-14 09:59:55 +01:00

47 lines
1.6 KiB
Makefile

PKG_NAME="scummvm"
PKG_VERSION="ea8d6d00ea84b278261dad4988401732c83d9f10"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/scummvm"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain curl fluidsynth flac libvorbis zlib faad2 freetype"
PKG_LONGDESC="ScummVM with libretro backend."
PKG_TOOLCHAIN="make"
PKG_LR_UPDATE_TAG="yes"
PKG_MAKE_OPTS_TARGET="all \
USE_CLOUD=1 \
USE_SYSTEM_fluidsynth=1 \
USE_SYSTEM_FLAC=1 \
USE_SYSTEM_vorbis=1 \
USE_SYSTEM_z=1 \
USE_SYSTEM_faad=1 \
USE_SYSTEM_freetype=1"
pre_make_target() {
PKG_MAKE_OPTS_TARGET+=" -C ${PKG_BUILD}/backends/platform/libretro"
CXXFLAGS+=" -DHAVE_POSIX_MEMALIGN=1"
if [ "${DEVICE}" = "OdroidGoAdvance" ]; then
PKG_MAKE_OPTS_TARGET+=" platform=oga_a35_neon_hardfloat"
else
PKG_MAKE_OPTS_TARGET+=" platform=${TARGET_NAME}"
fi
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/lib/libretro
cp -v ${PKG_BUILD}/backends/platform/libretro/scummvm_libretro.so ${INSTALL}/usr/lib/libretro/
cp -v ${PKG_BUILD}/backends/platform/libretro/scummvm_libretro.info ${INSTALL}/usr/lib/libretro/
# unpack files to retroarch-system folder and create basic ini file
mkdir -p ${INSTALL}/usr/share/retroarch/system
unzip ${PKG_BUILD}/backends/platform/libretro/scummvm.zip -d ${INSTALL}/usr/share/retroarch/system
cat << EOF > ${INSTALL}/usr/share/retroarch/system/scummvm.ini
[scummvm]
extrapath=/tmp/system/scummvm/extra
browser_lastpath=/tmp/system/scummvm/extra
themepath=/tmp/system/scummvm/theme
guitheme=scummmodern
EOF
}