mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-25 13:06:17 +00:00
ebfb6258ba
- update RetroArch to 1.19.1 - update cores to latest
35 lines
990 B
Makefile
35 lines
990 B
Makefile
PKG_NAME="swanstation"
|
|
PKG_VERSION="7a27436548128c00e70b08dde63c52118e2a6228"
|
|
PKG_GIT_CLONE_BRANCH="main"
|
|
PKG_LICENSE="GPL-3.0-or-later"
|
|
PKG_SITE="https://github.com/libretro/swanstation"
|
|
PKG_URL="${PKG_SITE}.git"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="SwanStation(DuckStation) is an simulator/emulator of the Sony PlayStation(TM) console, focusing on playability, speed, and long-term maintainability."
|
|
PKG_TOOLCHAIN="cmake"
|
|
|
|
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
|
|
PKG_DEPENDS_TARGET+=" ${OPENGL}"
|
|
fi
|
|
|
|
if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
|
|
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
|
fi
|
|
|
|
if [ "${VULKAN_SUPPORT}" = "yes" ]; then
|
|
PKG_DEPENDS_TARGET+=" ${VULKAN}"
|
|
fi
|
|
|
|
PKG_CMAKE_OPTS_TARGET="-DCMAKE_BUILD_TYPE=Release"
|
|
|
|
if [ "${PROJECT}" = "Amlogic" ]; then
|
|
PKG_CMAKE_OPTS_TARGET+=" -DUSE_FBDEV=ON"
|
|
else
|
|
PKG_CMAKE_OPTS_TARGET+=" -DUSE_DRMKMS=ON"
|
|
fi
|
|
|
|
makeinstall_target() {
|
|
mkdir -p ${INSTALL}/usr/lib/libretro
|
|
cp -v swanstation_libretro.so ${INSTALL}/usr/lib/libretro/
|
|
}
|