Lakka-LibreELEC/packages/lakka/libretro_cores/play/package.mk
Tomáš Kelemen e9d6841d41
Update libretro cores / RetroArch to latest versions (#2028)
- all libretro cores updated to latest version
- RetroArch updated to 1.20.0
- assets, core-infos, joypad configs, shaders, overlays, databases
  updated to latest version
- easyrpg: removed patch merged upstream, switched to latest commit
  instead of tag
- liblcf: updated to latest version (dep of easyrpg)
- libinih: new dep of liblcf/easyrpg
- mame: updated patch for crosscompilation
- mupen64_plus_next: updated patch for gcc14 buildfix
- picodrive: dropped patch merged upstream
- retroarch: updated patch for saving to default config
- retroarch: drop libXv dep for x11 build (pkg was removed)
- ppsspp: drop old patch
- snes9x2002: dropped ARM_ASM=1 from make options for RPi0/1
- fbalpha2012: add buildfix patch
- yabasanshiro: dropped patch for RPi5 merged upstream
- yabasanshiro: added patch with function declaration
- yabasanshiro: re-enable for most targets
2025-02-01 09:53:03 +01:00

37 lines
1.2 KiB
Makefile

PKG_NAME="play"
PKG_VERSION="ae20e1eef679709193675404581234b864aac41f"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/jpd002/Play-"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Play! is an attempt to create a PlayStation 2 emulator for Windows, macOS, UNIX, Android & iOS platforms."
PKG_TOOLCHAIN="cmake"
PKG_CMAKE_OPTS_TARGET="-DBUILD_LIBRETRO_CORE=yes \
-DBUILD_PLAY=off \
-DBUILD_TESTS=no \
-DENABLE_AMAZON_S3=no \
-DUSE_GLEW=no \
-DCMAKE_BUILD_TYPE=Release"
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL} glu"
fi
if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
fi
if [ "${OPENGL_SUPPORT}" = "no" -a "${OPENGLES_SUPPORT}" = "yes" ]; then
PKG_CMAKE_OPTS_TARGET+=" -DUSE_GLES=yes"
fi
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 ${PKG_BUILD}/.${TARGET_NAME}/Source/ui_libretro/play_libretro.so ${INSTALL}/usr/lib/libretro/
}