1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-25 11:56:18 +00:00
Lakka-LibreELEC/packages/lakka/libretro_cores/play/package.mk
Tomáš Kelemen (vudiq) 11e41d8cab
update retroarch and libretro packages
- update RetroArch to 1.19.0
- update libretro cores to latest commits/hash
- retroarch: drop patches merged upstream
- stella: rebase patch
2024-05-30 14:03:07 +02:00

38 lines
1.2 KiB
Makefile

PKG_NAME="play"
PKG_VERSION="18c0a6b17d074c662bebea87684d025636862d64"
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/
}