mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-04-02 10:41:46 -04:00
- all libretro cores updated to latest version - RetroArch updated to 1.20.0 - assets, core-infos, joypad configs, shaders, overlays, databases updated to latest version - easyrpg: removed patch merged upstream, switched to latest commit instead of tag - liblcf: updated to latest version (dep of easyrpg) - libinih: new dep of liblcf/easyrpg - mame: updated patch for crosscompilation - mupen64_plus_next: updated patch for gcc14 buildfix - picodrive: dropped patch merged upstream - retroarch: updated patch for saving to default config - retroarch: drop libXv dep for x11 build (pkg was removed) - ppsspp: drop old patch - snes9x2002: dropped ARM_ASM=1 from make options for RPi0/1 - fbalpha2012: add buildfix patch - yabasanshiro: dropped patch for RPi5 merged upstream - yabasanshiro: added patch with function declaration - yabasanshiro: re-enable for most targets
43 lines
1.3 KiB
Makefile
43 lines
1.3 KiB
Makefile
PKG_NAME="mgba"
|
|
PKG_VERSION="6c2da7b62163fcd6446fc06b9b993fd414a05eaa"
|
|
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_LR_UPDATE_TAG_MASK="*.*.*"
|
|
|
|
PKG_CMAKE_OPTS_TARGET="-DCMAKE_BUILD_TYPE=Release \
|
|
-DBUILD_LIBRETRO=ON \
|
|
-DSKIP_LIBRARY=ON \
|
|
-DBUILD_QT=OFF \
|
|
-DBUILD_SDL=OFF \
|
|
-DUSE_DISCORD_RPC=OFF \
|
|
-DUSE_EDITLINE=OFF \
|
|
-DUSE_EPOXY=OFF"
|
|
|
|
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
|
|
PKG_DEPENDS_TARGET+=" ${OPENGL}"
|
|
PKG_CMAKE_OPTS_TARGET+=" -DBUILD_GL=ON"
|
|
elif [ "${OPENGL_SUPPORT}" = "no" ]; then
|
|
PKG_CMAKE_OPTS_TARGET+=" -DBUILD_GL=OFF"
|
|
fi
|
|
|
|
if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
|
|
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
|
|
|
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() {
|
|
mkdir -p ${INSTALL}/usr/lib/libretro
|
|
cp -v mgba_libretro.so ${INSTALL}/usr/lib/libretro/
|
|
}
|