mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-22 09:16:19 +00:00
ebfb6258ba
- update RetroArch to 1.19.1 - update cores to latest
37 lines
1.0 KiB
Makefile
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/
|
|
}
|