mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-22 08:06:25 +00:00
8833effeff
- update RetroArch to 1.18.0 (will need to be updated later) - update cores to latest - update assets, info, shaders, overlays, database - leave kronos only for Generic.x86_64 and x11.x86_64 - putt back some RetroArch changes (shutdown/restart, path) - get_git: use PKG_ var for skipping submodules
40 lines
1.4 KiB
Makefile
40 lines
1.4 KiB
Makefile
PKG_NAME="vircon32"
|
|
PKG_VERSION="293d0b2b0e3b996b991b7a667ec31a64d8865450"
|
|
PKG_LICENSE="BSD"
|
|
PKG_SITE="https://github.com/vircon32/vircon32-libretro"
|
|
PKG_URL="${PKG_SITE}.git"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="Vircon32 is a virtual game console, inspired by classic 16 & 32 bit systems as well as the arcade era."
|
|
PKG_TOOLCHAIN="cmake"
|
|
|
|
PKG_CMAKE_OPTS_TARGET="-DCMAKE_BUILD_TYPE=Release"
|
|
|
|
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
|
|
PKG_DEPENDS_TARGET+=" ${OPENGL}"
|
|
fi
|
|
|
|
if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
|
|
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
|
if [ "${GRAPHIC_DRIVER}" = "panfrost" ] && !listcontains "${MALI_FAMILY}" "t720|t620"; then
|
|
PKG_CMAKE_OPTS_TARGET+=" -DENABLE_OPENGLES3=ON"
|
|
elif [ "${GRAPHIC_DRIVER}" = "lima" ] || listcontains "${MALI_FAMILY}" "4[0-9]+|t720"; then
|
|
PKG_CMAKE_OPTS_TARGET+=" -DENABLE_OPENGLES2=ON"
|
|
elif [ "${GRAPHIC_DRIVER}" = "vc4" ] && listcontains "${DEVICE}" "RPi4|RPi5"; then
|
|
PKG_CMAKE_OPTS_TARGET+=" -DENABLE_OPENGLES3=ON"
|
|
elif [ "${DISPLAYSERVER}" = "wl" ]; then
|
|
PKG_CMAKE_OPTS_TARGET+=" -DENABLE_OPENGLES3=ON"
|
|
else
|
|
PKG_CMAKE_OPTS_TARGET+=" -DENABLE_OPENGLES2=ON"
|
|
fi
|
|
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 vircon32_libretro.so ${INSTALL}/usr/lib/libretro/
|
|
}
|