mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-26 18:10:23 +00:00
mgba: GLES cmake options, drop invalid options, update to tag
This commit is contained in:
parent
b21bac5e07
commit
b6bb996886
@ -1,11 +1,12 @@
|
||||
PKG_NAME="mgba"
|
||||
PKG_VERSION="a999a8760733cd226741d5e9cc05557aeda3eee3"
|
||||
PKG_VERSION="1c61b54208ca6266129d0f2394c04bd8c44f98c5"
|
||||
PKG_LICENSE="MPLv2.0"
|
||||
PKG_SITE="https://github.com/mgba-emu/mgba"
|
||||
PKG_URL="${PKG_SITE}.git"
|
||||
PKG_DEPENDS_TARGET="toolchain libzip libpng zlib"
|
||||
PKG_LONGDESC="mGBA Game Boy Advance Emulator"
|
||||
PKG_TOOLCHAIN="cmake"
|
||||
PKG_LR_UPDATE_TAG="yes"
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET="-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_LIBRETRO=ON \
|
||||
@ -13,8 +14,6 @@ PKG_CMAKE_OPTS_TARGET="-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_QT=OFF \
|
||||
-DBUILD_SDL=OFF \
|
||||
-DUSE_DISCORD_RPC=OFF \
|
||||
-DUSE_GDB_STUB=OFF \
|
||||
-DUSE_DEBUGGERS=OFF \
|
||||
-DUSE_EDITLINE=OFF \
|
||||
-DUSE_EPOXY=OFF"
|
||||
|
||||
@ -27,12 +26,14 @@ fi
|
||||
|
||||
if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||
fi
|
||||
|
||||
if [ "${GRAPHIC_DRIVER}" = panfrost|vc4 ] && !listcontains "${MALI_FAMILY}" "(t720)"; then
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DBUILD_GLES3=ON -DBUILD_GLES2=OFF"
|
||||
elif [ "${GRAPHIC_DRIVER}" = lima ] || listcontains "${MALI_FAMILY}" "4[0-9]+|t720"; then
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DBUILD_GLES3=OFF -DBUILD_GLES2=ON"
|
||||
get_graphicdrivers
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "(panfrost|vc4)" && ! listcontains "${MALI_FAMILY}" "(t720)"; then
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DBUILD_GLES3=ON -DBUILD_GLES2=OFF"
|
||||
else
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DBUILD_GLES3=OFF -DBUILD_GLES2=ON"
|
||||
fi
|
||||
fi
|
||||
|
||||
makeinstall_target() {
|
||||
|
Loading…
Reference in New Issue
Block a user