2022-08-04 11:34:13 +00:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Copyright (C) 2022 - Fewtarius
|
|
|
|
|
|
|
|
PKG_NAME="emulators"
|
|
|
|
PKG_LICENSE="Apache-2.0"
|
|
|
|
PKG_SITE="www.jelos.org"
|
2023-06-04 00:16:57 +00:00
|
|
|
PKG_SECTION="emulation" # Do not change to virtual or makeinstall_target will not execute.
|
2022-08-04 11:34:13 +00:00
|
|
|
PKG_LONGDESC="Emulation metapackage."
|
2023-06-04 00:16:57 +00:00
|
|
|
PKG_TOOLCHAIN="manual"
|
2022-08-04 11:34:13 +00:00
|
|
|
|
2023-05-15 21:06:18 +00:00
|
|
|
PKG_EMUS="flycast-sa hatarisa hypseus-singe hypseus-singe moonlight openbor pico-8 ppsspp-sa
|
2023-05-07 14:05:43 +00:00
|
|
|
vice-sa"
|
2022-08-04 11:34:13 +00:00
|
|
|
|
2023-03-17 21:06:43 +00:00
|
|
|
PKG_RETROARCH="core-info libretro-database retroarch retroarch-assets retroarch-joypads retroarch-overlays \
|
|
|
|
slang-shaders"
|
2022-08-04 11:34:13 +00:00
|
|
|
|
2023-03-17 21:06:43 +00:00
|
|
|
LIBRETRO_CORES="2048-lr 81-lr a5200-lr atari800-lr beetle-gba-lr beetle-lynx-lr beetle-ngp-lr beetle-pce-lr \
|
|
|
|
beetle-pce-fast-lr beetle-pcfx-lr bsnes-lr bsnes-mercury-performance-lr beetle-supafaust-lr \
|
|
|
|
beetle-supergrafx-lr beetle-vb-lr beetle-wswan-lr beetle-saturn-lr bluemsx-lr cannonball-lr \
|
|
|
|
cap32-lr crocods-lr daphne-lr dinothawr-lr dosbox-svn-lr dosbox-pure-lr duckstation-lr \
|
2023-05-11 21:58:16 +00:00
|
|
|
easyrpg-lr fake08-lr fbalpha2012-lr fbalpha2019-lr fbneo-lr fceumm-lr flycast2021-lr fmsx-lr \
|
2023-03-17 21:06:43 +00:00
|
|
|
freechaf-lr freeintv-lr freej2me-lr fuse-lr gambatte-lr gearboy-lr gearcoleco-lr gearsystem-lr \
|
|
|
|
genesis-plus-gx-lr genesis-plus-gx-wide-lr gme-lr gw-lr handy-lr hatari-lr mame2000-lr \
|
|
|
|
mame2003-plus-lr mame2010-lr mame2015-lr melonds-lr meowpc98-lr mesen-lr mgba-lr mrboom-lr \
|
|
|
|
mupen64plus-lr mupen64plus-nx-lr neocd_lr nestopia-lr np2kai-lr nxengine-lr o2em-lr opera-lr \
|
|
|
|
parallel-n64-lr pcsx_rearmed-lr picodrive-lr pokemini-lr potator-lr prboom-lr prosystem-lr \
|
|
|
|
ppsspp-lr puae-lr px68k-lr quasi88-lr quicknes-lr race-lr reminiscence-lr sameboy-lr \
|
|
|
|
sameduck-lr scummvm-lr smsplus-gx-lr snes9x-lr snes9x2002-lr snes9x2005_plus-lr snes9x2010-lr \
|
2023-04-05 21:09:40 +00:00
|
|
|
stella-lr stella-2014-lr swanstation-lr tic80-lr tgbdual-lr tyrquake-lr uzem-lr vba-next-lr \
|
2023-03-17 21:06:43 +00:00
|
|
|
vbam-lr vecx-lr vice-lr yabasanshiro-lr virtualjaguar-lr xmil-lr xrick-lr"
|
2022-08-04 11:34:13 +00:00
|
|
|
|
|
|
|
### Emulators or cores for specific devices
|
|
|
|
case "${DEVICE}" in
|
2023-04-15 09:30:02 +00:00
|
|
|
AMD64)
|
2023-04-05 21:09:40 +00:00
|
|
|
[ "${ENABLE_32BIT}" == "true" ] && EMUS_32BIT="lutris-wine"
|
2023-05-15 21:06:18 +00:00
|
|
|
PKG_EMUS+=" cemu-sa citra-sa dolphin-sa duckstation-sa melonds-sa minivmacsa mupen64plus-sa pcsx2-sa \
|
2023-06-04 00:16:57 +00:00
|
|
|
primehack rpcs3-sa ryujinx-sa scummvmsa xemu-sa yuzu-sa"
|
2023-05-07 14:05:43 +00:00
|
|
|
LIBRETRO_CORES+=" beetle-psx-lr bsnes-hd-lr citra-lr desmume-lr dolphin-lr flycast-lr lrps2-lr mame-lr \
|
2023-06-04 00:16:57 +00:00
|
|
|
minivmac-lr play-lr"
|
2023-01-08 22:49:32 +00:00
|
|
|
;;
|
2023-04-25 22:54:13 +00:00
|
|
|
RK358*)
|
2023-04-05 21:09:40 +00:00
|
|
|
[ "${ENABLE_32BIT}" == "true" ] && EMUS_32BIT="box86 flycast-lr pcsx_rearmed-lr"
|
2023-05-15 21:06:18 +00:00
|
|
|
PKG_EMUS+=" aethersx2-sa duckstation-sa pcsx_rearmed-lr box64 scummvmsa yabasanshiro-sa box64 portmaster"
|
2023-05-09 16:30:48 +00:00
|
|
|
LIBRETRO_CORES+=" beetle-psx-lr bsnes-hd-lr citra-lr dolphin-lr mame-lr"
|
2023-04-21 21:40:02 +00:00
|
|
|
PKG_RETROARCH+=" retropie-shaders"
|
2022-09-05 00:14:27 +00:00
|
|
|
;;
|
2023-04-25 22:54:13 +00:00
|
|
|
RK356*)
|
2023-04-05 21:09:40 +00:00
|
|
|
[ "${ENABLE_32BIT}" == "true" ] && EMUS_32BIT="box86 flycast-lr pcsx_rearmed-lr"
|
2023-05-15 21:06:18 +00:00
|
|
|
PKG_DEPENDS_TARGET+=" common-shaders duckstation-sa glsl-shaders mupen64plus-sa scummvmsa box64 portmaster"
|
2023-04-14 21:20:18 +00:00
|
|
|
PKG_EMUS+=" dolphin-sa drastic-sa yabasanshiro-sa"
|
2023-04-21 21:40:02 +00:00
|
|
|
PKG_RETROARCH+=" retropie-shaders"
|
2023-02-13 22:43:44 +00:00
|
|
|
;;
|
2023-04-29 13:32:09 +00:00
|
|
|
S922X*)
|
2023-04-05 21:09:40 +00:00
|
|
|
[ "${ENABLE_32BIT}" == "true" ] && EMUS_32BIT="box86 flycast-lr pcsx_rearmed-lr"
|
2023-05-22 13:35:59 +00:00
|
|
|
PKG_EMUS+=" aethersx2-sa citra-sa dolphin-sa duckstation-sa drastic-sa mupen64plus-sa yabasanshiro-sa \
|
2023-06-04 00:16:57 +00:00
|
|
|
box64 portmaster"
|
2023-05-07 14:05:43 +00:00
|
|
|
LIBRETRO_CORES+=" beetle-psx-lr bsnes-hd-lr dolphin-lr flycast-lr"
|
2023-04-21 21:40:02 +00:00
|
|
|
PKG_RETROARCH+=" retropie-shaders"
|
2023-05-07 14:05:43 +00:00
|
|
|
;;
|
2023-05-04 18:06:54 +00:00
|
|
|
RK3326*)
|
2023-05-08 22:47:28 +00:00
|
|
|
[ "${ENABLE_32BIT}" == "true" ] && EMUS_32BIT="flycast-lr pcsx_rearmed-lr"
|
2023-05-15 21:06:18 +00:00
|
|
|
PKG_DEPENDS_TARGET+=" common-shaders glsl-shaders"
|
|
|
|
PKG_EMUS+=" drastic-sa mupen64plus-sa scummvmsa yabasanshiro-sa portmaster"
|
2023-05-08 22:47:28 +00:00
|
|
|
LIBRETRO_CORES+=" flycast-lr"
|
2023-05-04 18:06:54 +00:00
|
|
|
PKG_RETROARCH+=" retropie-shaders"
|
|
|
|
;;
|
2022-08-04 11:34:13 +00:00
|
|
|
esac
|
2023-02-15 11:38:49 +00:00
|
|
|
|
2023-04-05 21:09:40 +00:00
|
|
|
PKG_DEPENDS_TARGET+=" ${PKG_EMUS} ${EMUS_32BIT} ${PKG_RETROARCH} ${LIBRETRO_CORES}"
|
2023-06-04 00:16:57 +00:00
|
|
|
|
|
|
|
makeinstall_target() {
|
|
|
|
### Atari 2600 Libretro
|
|
|
|
add_emu_core atari2600 retroarch stella true
|
|
|
|
add_es_system atari2600
|
|
|
|
|
|
|
|
### Atari 5200 Libretro
|
|
|
|
add_emu_core atari5200 retroarch a5200 true
|
|
|
|
add_emu_core atari5200 retroarch atari800 false
|
|
|
|
add_es_system atari5200
|
|
|
|
}
|