Merge pull request #759 from brooksytech/dev

add beetle saturn to RG552
This commit is contained in:
Brooksytech 2022-11-29 10:39:58 -08:00 committed by GitHub
commit ecd9cfeefa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 1 deletions

View file

@ -0,0 +1,25 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
PKG_NAME="beetle-saturn"
PKG_VERSION="054862a4ccb9b2f1bad9e5b075fc3d1116dc8055"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-saturn-libretro"
PKG_URL="$PKG_SITE.git"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="libretro"
PKG_SHORTDESC="Beetle Saturn libretro, a fork from mednafen"
PKG_TOOLCHAIN="make"
if [ ! "${OPENGL}" = "no" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
fi
if [ "${OPENGLES_SUPPORT}" = yes ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
fi
makeinstall_target() {
mkdir -p $INSTALL/usr/lib/libretro
cp mednafen_saturn_libretro.so $INSTALL/usr/lib/libretro/beetle_saturn_libretro.so
}

View file

@ -1768,6 +1768,7 @@
<emulator name="retroarch">
<cores>
<core>yabasanshiro</core>
<core>beetle_saturn</core>
</cores>
</emulator>
</emulators>

View file

@ -38,7 +38,7 @@ case "${DEVICE}" in
PKG_DEPENDS_TARGET+=" common-shaders glsl-shaders"
;;
RG552)
PKG_DEPENDS_TARGET+=" duckstationsa dolphinsa dolphin slang-shaders"
PKG_DEPENDS_TARGET+=" duckstationsa dolphinsa dolphin slang-shaders beetle-saturn"
;;
RG503|RG353P)
PKG_DEPENDS_TARGET+=" duckstationsa common-shaders glsl-shaders"