Add BSNES core & Citra libretro 3DS
This commit is contained in:
parent
6af2a74596
commit
7a4b04aad5
6 changed files with 92 additions and 1 deletions
32
packages/games/libretro/bsnes/package.mk
Normal file
32
packages/games/libretro/bsnes/package.mk
Normal file
|
@ -0,0 +1,32 @@
|
|||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
|
||||
|
||||
PKG_NAME="bsnes"
|
||||
PKG_VERSION="b04ea7236fc05c2e2c5dc645bbdba8c90196bb5f"
|
||||
PKG_LICENSE="GPLv2"
|
||||
PKG_SITE="https://github.com/libretro/bsnes-libretro"
|
||||
PKG_URL="$PKG_SITE/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="libretro"
|
||||
PKG_SHORTDESC="BSNES Super Nintendo Libretro Core"
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_TOOLCHAIN="make"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
if [ ! "${OPENGL}" = "no" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
||||
fi
|
||||
|
||||
if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||
fi
|
||||
|
||||
#make_target() {
|
||||
# make PROFILE=performance
|
||||
#}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p $INSTALL/usr/lib/libretro
|
||||
cp bsnes_libretro.so $INSTALL/usr/lib/libretro/
|
||||
}
|
||||
|
36
packages/games/libretro/citra/package.mk
Normal file
36
packages/games/libretro/citra/package.mk
Normal file
|
@ -0,0 +1,36 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
|
||||
|
||||
PKG_NAME="citra"
|
||||
PKG_VERSION="70bf7d8a63b0b501e8f5cff89a86a3e2d4083aa0"
|
||||
PKG_REV="1"
|
||||
PKG_LICENSE="GPLv3"
|
||||
PKG_SITE="https://github.com/libretro/citra"
|
||||
PKG_URL="$PKG_SITE.git"
|
||||
PKG_DEPENDS_TARGET="toolchain boost"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="libretro"
|
||||
PKG_SHORTDESC="Citra - Nintendo 3DS emulator for libretro"
|
||||
PKG_TOOLCHAIN="make"
|
||||
|
||||
if [ ! "${OPENGL}" = "no" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
||||
fi
|
||||
|
||||
if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||
fi
|
||||
|
||||
pre_make_target() {
|
||||
|
||||
cd ${PKG_BUILD}
|
||||
if [ -e "CMakeLists.txt" ]
|
||||
then
|
||||
rm CMakeLists.txt
|
||||
fi
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p $INSTALL/usr/lib/libretro
|
||||
cp citra_libretro.so $INSTALL/usr/lib/libretro/
|
||||
}
|
|
@ -4,6 +4,7 @@
|
|||
d /storage/roms 0755 root root - -
|
||||
d /tmp/cache
|
||||
d /storage/roms/3do 0755 root root - -
|
||||
d /storage/roms/3ds 0755 root root - -
|
||||
d /storage/roms/amiga 0755 root root - -
|
||||
d /storage/roms/amigacd32 0755 root root - -
|
||||
d /storage/roms/amstradcpc 0755 root root - -
|
||||
|
|
|
@ -28,9 +28,11 @@
|
|||
<core name="a5200" features="netplay, rewind, autosave" />
|
||||
<core name="atari800" features="netplay, rewind, autosave" />
|
||||
<core name="bluemsx" features="netplay, rewind, autosave, cheevos" />
|
||||
<core name="bsnes" features="autosave" />
|
||||
<core name="bsnes_mercury_performance" features=" autosave" />
|
||||
<core name="cannonball" features="netplay, rewind, autosave" />
|
||||
<core name="cap32" features="netplay, rewind, autosave" />
|
||||
<core name="citra" features="autosave" />
|
||||
<core name="crocods" features="netplay, rewind, autosave" />
|
||||
<core name="daphne" features="netplay, rewind, autosave" />
|
||||
<core name="dinothawr" features="netplay, rewind, autosave" />
|
||||
|
|
|
@ -19,6 +19,25 @@
|
|||
</emulator>
|
||||
</emulators>
|
||||
</system>
|
||||
<system>
|
||||
<name>3DS</name>
|
||||
<fullname>Nintendo 3DS</fullname>
|
||||
<manufacturer>Nintendo</manufacturer>
|
||||
<release>2010</release>
|
||||
<hardware>console</hardware>
|
||||
<path>/storage/roms/3ds</path>
|
||||
<extension>.3ds .3DS .3dsx .3DSX .elf .ELF .axf .AXF .cci .CCI .cxi .CXI .app .APP</extension>
|
||||
<command>/usr/bin/runemu.sh %ROM% -P%SYSTEM% --core=%CORE% --emulator=%EMULATOR% --controllers="%CONTROLLERSCONFIG%"</command>
|
||||
<platform>3ds</platform>
|
||||
<theme>3ds</theme>
|
||||
<emulators>
|
||||
<emulator name="retroarch">
|
||||
<cores>
|
||||
<core default="true">citra</core>
|
||||
</cores>
|
||||
</emulator>
|
||||
</emulators>
|
||||
</system>
|
||||
<system>
|
||||
<name>amiga</name>
|
||||
<fullname>Amiga</fullname>
|
||||
|
@ -1907,6 +1926,7 @@
|
|||
<core>snes9x2002</core>
|
||||
<core>snes9x2005_plus</core>
|
||||
<core>beetle_supafaust</core>
|
||||
<core>bsnes</core>
|
||||
<core>bsnes_mercury_performance</core>
|
||||
</cores>
|
||||
</emulator>
|
||||
|
|
|
@ -42,6 +42,6 @@ case "${DEVICE}" in
|
|||
PKG_DEPENDS_TARGET+=" duckstationsa dolphinsa"
|
||||
;;
|
||||
handheld)
|
||||
PKG_DEPENDS_TARGET+=" duckstationsa dolphinsa dolphin pcsx2sa pcsx2 desmume"
|
||||
PKG_DEPENDS_TARGET+=" duckstationsa dolphinsa dolphin pcsx2sa pcsx2 desmume bsnes citra"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue