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
45 lines
1.3 KiB
Bash
45 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-opera"
|
|
rp_module_desc="3DO emulator - fork of 4DO/FreeDO for libretro"
|
|
rp_module_help="ROM Extension: .cue .chd .iso .zip\n\nCopy your 3do roms to $romdir/3do\n\nCopy the required BIOS file panazf10.bin to $biosdir"
|
|
rp_module_licence="LGPL https://raw.githubusercontent.com/libretro/opera-libretro/master/libopera/opera_3do.c"
|
|
rp_module_repo="git https://github.com/libretro/opera-libretro.git master"
|
|
rp_module_section="exp"
|
|
|
|
function sources_lr-opera() {
|
|
gitPullOrClone
|
|
}
|
|
|
|
function _update_hook_lr-opera() {
|
|
renameModule "lr-4do" "lr-opera"
|
|
}
|
|
|
|
function build_lr-opera() {
|
|
make clean
|
|
make
|
|
md_ret_require="$md_build/opera_libretro.so"
|
|
}
|
|
|
|
function install_lr-opera() {
|
|
md_ret_files=(
|
|
'opera_libretro.so'
|
|
)
|
|
}
|
|
|
|
function configure_lr-opera() {
|
|
mkRomDir "3do"
|
|
defaultRAConfig "3do"
|
|
|
|
addEmulator 1 "$md_id" "3do" "$md_inst/opera_libretro.so"
|
|
addSystem "3do"
|
|
}
|