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
43 lines
1.2 KiB
Bash
43 lines
1.2 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-gw"
|
|
rp_module_desc="Game and Watch simulator"
|
|
rp_module_help="ROM Extension: .mgw\n\nCopy your Game and Watch games to $romdir/gameandwatch"
|
|
rp_module_licence="ZLIB https://raw.githubusercontent.com/libretro/gw-libretro/master/LICENSE"
|
|
rp_module_repo="git https://github.com/libretro/gw-libretro.git master"
|
|
rp_module_section="opt"
|
|
|
|
function sources_lr-gw() {
|
|
gitPullOrClone
|
|
}
|
|
|
|
function build_lr-gw() {
|
|
make -f Makefile.libretro clean
|
|
make -f Makefile.libretro
|
|
md_ret_require="$md_build/gw_libretro.so"
|
|
}
|
|
|
|
function install_lr-gw() {
|
|
md_ret_files=(
|
|
'gw_libretro.so'
|
|
'LICENSE'
|
|
'README.md'
|
|
)
|
|
}
|
|
|
|
function configure_lr-gw() {
|
|
mkRomDir "gameandwatch"
|
|
defaultRAConfig "gameandwatch"
|
|
|
|
addEmulator 1 "$md_id" "gameandwatch" "$md_inst/gw_libretro.so"
|
|
addSystem "gameandwatch"
|
|
}
|