File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
scriptmodules/libretrocores Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # This file is part of The RetroPie Project
4+ #
5+ # The RetroPie Project is the legal property of its developers, whose names are
6+ # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
7+ #
8+ # See the LICENSE.md file at the top-level directory of this distribution and
9+ # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
10+ #
11+
12+ rp_module_id=" lr-bsnes-jg"
13+ rp_module_desc=" Super Nintendo Emulator - bsnes-jg is a cycle accurate emulator libretro"
14+ rp_module_help=" ROM Extensions: .bml .smc .sfc .zip\n\nCopy your SNES roms to $romdir /snes"
15+ rp_module_licence=" GPL3 https://github.com/libretro/bsnes-jg?tab=GPL-3.0-1-ov-file#readme"
16+ rp_module_repo=" git https://github.com/libretro/bsnes-jg libretro"
17+ rp_module_section=" exp"
18+ rp_module_flags=" !mali !x86"
19+
20+ function depends_lr-bsnes-jg() {
21+ getDepends build-essential libgtk2.0-dev libpulse-dev mesa-common-dev libcairo2-dev libsdl2-dev libxv-dev libao-dev libopenal-dev libasound2-dev libudev-dev
22+ }
23+
24+ function sources_lr-bsnes-jg() {
25+ gitPullOrClone
26+ }
27+
28+ function build_lr-bsnes-jg() {
29+ local params=(target=" libretro" build=" release" binary=" library" CXXFLAGS=" $CXXFLAGS " platform=" linux" local=" false" )
30+ cd libretro
31+ make clean
32+ make
33+ md_ret_require=" $md_build /libretro/bsnes-jg_libretro.so"
34+ }
35+
36+ function install_lr-bsnes-jg() {
37+ md_ret_files=(
38+ ' libretro/bsnes-jg_libretro.so'
39+ ' README'
40+ )
41+ }
42+
43+ function configure_lr-bsnes-jg() {
44+ mkRomDir " snes"
45+ defaultRAConfig " snes"
46+
47+ addEmulator 0 " $md_id " " snes" " $md_inst /bsnes-jg_libretro.so"
48+ addSystem " snes"
49+ }
You can’t perform that action at this time.
0 commit comments