mirror of
https://github.com/RetroPie/RetroPie-Setup.git
synced 2025-04-02 10:51:41 -04:00
libretro ports now don't include the "ports/" path in the call as it's handled by the new function
46 lines
1.4 KiB
Bash
46 lines
1.4 KiB
Bash
#!/usr/bin/env bash
|
|
|
|
# This file is part of The RetroPie Project
|
|
#
|
|
# The RetroPie Project is the legal property of its developers, whose names are
|
|
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
|
|
#
|
|
# See the LICENSE.md file at the top-level directory of this distribution and
|
|
# at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
|
|
#
|
|
|
|
rp_module_id="lr-vba-next"
|
|
rp_module_desc="GBA emulator - VBA-M (optimised) port for libretro"
|
|
rp_module_help="ROM Extensions: .gba .zip\n\nCopy your Game Boy Advance roms to $romdir/gba\n\nCopy the required BIOS file gba_bios.bin to $biosdir"
|
|
rp_module_licence="GPL2 https://raw.githubusercontent.com/libretro/vba-next/master/LICENSE"
|
|
rp_module_repo="git https://github.com/libretro/vba-next.git master"
|
|
rp_module_section="main"
|
|
rp_module_flags="!armv6"
|
|
|
|
function sources_lr-vba-next() {
|
|
gitPullOrClone
|
|
}
|
|
|
|
function build_lr-vba-next() {
|
|
make -f Makefile.libretro clean
|
|
if isPlatform "neon"; then
|
|
make -f Makefile.libretro platform=armvhardfloatunix TILED_RENDERING=1 HAVE_NEON=1
|
|
else
|
|
make -f Makefile.libretro
|
|
fi
|
|
md_ret_require="$md_build/vba_next_libretro.so"
|
|
}
|
|
|
|
function install_lr-vba-next() {
|
|
md_ret_files=(
|
|
'vba_next_libretro.so'
|
|
)
|
|
}
|
|
|
|
function configure_lr-vba-next() {
|
|
mkRomDir "gba"
|
|
defaultRAConfig "gba"
|
|
|
|
addEmulator 0 "$md_id" "gba" "$md_inst/vba_next_libretro.so"
|
|
addSystem "gba"
|
|
}
|