1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-22 09:16:19 +00:00
Lakka-LibreELEC/packages/lakka/libretro_cores/flycast/package.mk
Tomáš Kelemen (vudiq) ebfb6258ba
update retroarch and libretro cores
- update RetroArch to 1.19.1
- update cores to latest
2024-06-04 16:08:43 +02:00

37 lines
1.0 KiB
Makefile

PKG_NAME="flycast"
PKG_VERSION="021249c321826ecb6b0a0ed6e5d2af9044e973a3"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/flyinghead/flycast"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Flycast is a multiplatform Sega Dreamcast emulator"
PKG_TOOLCHAIN="cmake"
PKG_CMAKE_OPTS_TARGET="-DLIBRETRO=ON \
-DUSE_OPENMP=OFF \
-DCMAKE_BUILD_TYPE=Release"
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL}"
fi
if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
PKG_CMAKE_OPTS_TARGET+=" -DUSE_GLES=ON -DUSE_GLES2=OFF"
fi
if [ "${VULKAN_SUPPORT}" = yes ]; then
PKG_DEPENDS_TARGET+=" ${VULKAN}"
PKG_CMAKE_OPTS_TARGET+=" -DUSE_VULKAN=ON"
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 flycast_libretro.so ${INSTALL}/usr/lib/libretro/
}