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.3 KiB
Bash
43 lines
1.3 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-stella2014"
|
|
rp_module_desc="Atari 2600 emulator - Stella port for libretro"
|
|
rp_module_help="ROM Extensions: .a26 .bin .rom .zip .gz\n\nCopy your Atari 2600 roms to $romdir/atari2600"
|
|
rp_module_licence="GPL2 https://raw.githubusercontent.com/libretro/stella2014-libretro/master/stella/license.txt"
|
|
rp_module_repo="git https://github.com/libretro/stella2014-libretro.git master"
|
|
rp_module_section="main"
|
|
|
|
function sources_lr-stella2014() {
|
|
gitPullOrClone
|
|
}
|
|
|
|
function build_lr-stella2014() {
|
|
make clean
|
|
make
|
|
md_ret_require="$md_build/stella2014_libretro.so"
|
|
}
|
|
|
|
function install_lr-stella2014() {
|
|
md_ret_files=(
|
|
'README.md'
|
|
'stella2014_libretro.so'
|
|
'stella/license.txt'
|
|
)
|
|
}
|
|
|
|
function configure_lr-stella2014() {
|
|
mkRomDir "atari2600"
|
|
defaultRAConfig "atari2600"
|
|
|
|
addEmulator 1 "$md_id" "atari2600" "$md_inst/stella2014_libretro.so"
|
|
addSystem "atari2600"
|
|
}
|