Split emulation and game tools into virtual packages.
This commit is contained in:
parent
05c1cf9f9e
commit
38a9caebdc
4 changed files with 77 additions and 49 deletions
|
@ -26,69 +26,43 @@ PKG_BASEOS="plymouth-lite grep wget libjpeg-turbo util-linux xmlstarlet bluetool
|
|||
imagemagick terminus-font vim bash pyudev dialog six git dbus-python coreutils miniupnpc \
|
||||
nss-mdns avahi alsa-ucm-conf MC fbgrab modules"
|
||||
|
||||
PKG_UI="emulationstation"
|
||||
PKG_UI="emulationstation es-themes"
|
||||
|
||||
PKG_EMUS="hatarisa openbor hypseus-singe moonlight hypseus-singe pico-8 flycastsa \
|
||||
scummvmsa PPSSPPSDL yabasanshiroSA vicesa mupen64plussa-audio-sdl \
|
||||
mupen64plussa-input-sdl mupen64plussa-ui-console mupen64plussa-video-rice \
|
||||
mupen64plussa-core mupen64plussa-rsp-hle mupen64plussa-video-glide64mk2 \
|
||||
lzdoom gzdoom ecwolf amiberry raze drastic"
|
||||
|
||||
PKG_RETROARCH="retroarch retroarch-overlays retroarch-assets common-shaders glsl-shaders \
|
||||
libretro-database core-info"
|
||||
|
||||
LIBRETRO_CORES="2048 81 a5200 atari800 beetle-gba beetle-lynx beetle-ngp beetle-pce beetle-pcfx \
|
||||
beetle-supafaust beetle-supergrafx beetle-vb beetle-wswan bluemsx cannonball cap32 \
|
||||
crocods daphne dinothawr dosbox-svn dosbox-pure easyrpg fbalpha2012 \
|
||||
fbalpha2019 fbneo fceumm fmsx flycast flycast_libretro freechaf freeintv \
|
||||
freej2me fuse-libretro gambatte gearboy gearcoleco gearsystem genesis-plus-gx \
|
||||
genesis-plus-gx-wide gme gpsp gw-libretro handy hatari mame2000 mame2003-plus \
|
||||
mame2010 mame2015 mame melonds meowpc98 mgba mrboom mupen64plus mupen64plus-nx \
|
||||
neocd_libretro nestopia np2kai nxengine o2em opera parallel-n64_rice \
|
||||
parallel-n64_gln64 parallel-n64_glide64 pcsx_rearmed picodrive pokemini potator \
|
||||
ppsspp prboom prosystem puae px68k quasi88 quicknes race reminiscence sameboy \
|
||||
sameduck scummvm smsplus-gx snes9x snes9x2002 snes9x2005_plus snes9x2010 stella \
|
||||
stella-2014 swanstation TIC-80 tgbdual tyrquake xrick uae4arm uzem vba-next vbam \
|
||||
vecx vice yabasanshiro xmil mesen virtualjaguar ecwolf_libretro vitaquake2 \
|
||||
bsnes-mercury-performance"
|
||||
PKG_SOFTWARE=""
|
||||
|
||||
PKG_COMPAT=""
|
||||
|
||||
PKG_TOOLS="i2c-tools"
|
||||
PKG_TOOLS="i2c-tools rclone jslisten evtest textviewer tailscale"
|
||||
|
||||
PKG_MULTIMEDIA="ffmpeg mpv vlc"
|
||||
|
||||
PKG_GAMESUPPORT="sixaxis jslisten evtest rg351p-js2xbox gptokeyb textviewer 351files jstest-sdl \
|
||||
gamecontrollerdb jelosaddons libgo2 rclone sdljoytest"
|
||||
PKG_EXPERIMENTAL=""
|
||||
|
||||
PKG_EXPERIMENTAL="tailscale"
|
||||
|
||||
### Project/Device specific items
|
||||
if [ "${PROJECT}" == "Rockchip" ]
|
||||
then
|
||||
### Project specific variables
|
||||
case "${PROJECT}" in
|
||||
Rockchip)
|
||||
PKG_BASEOS+=" system-utils"
|
||||
PKG_EMUS+=" retropie-shaders"
|
||||
PKG_COMPAT+=" lib32"
|
||||
fi
|
||||
|
||||
### Emulators or cores for specific devices
|
||||
case "${DEVICE}" in
|
||||
RG552|RG503|RG353P)
|
||||
PKG_EMUS+=" duckstationsa"
|
||||
;;
|
||||
PC)
|
||||
PKG_BASEOS+=" installer"
|
||||
;;
|
||||
esac
|
||||
|
||||
### Software specific to PC builds
|
||||
if [ "${PROJECT}" == "PC" ]
|
||||
then
|
||||
PKG_BASEOS+=" installer"
|
||||
fi
|
||||
### Device specific variables
|
||||
case "${DEVICE}" in
|
||||
RG552|RG503|RG353P|RG351P|RG351V|RG351MP)
|
||||
PKG_SOFTWARE+=" emulators gamesupport"
|
||||
PKG_TOOLS+=" 351files"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ ! -z "${BASE_ONLY}" ]
|
||||
then
|
||||
PKG_DEPENDS_TARGET+=" ${PKG_BASEOS} ${PKG_TOOLS} ${PKG_UI} ${PKG_GAMESUPPORT}"
|
||||
PKG_DEPENDS_TARGET+=" ${PKG_BASEOS} ${PKG_TOOLS} ${PKG_UI}"
|
||||
else
|
||||
PKG_DEPENDS_TARGET+=" ${PKG_BASEOS} ${PKG_TOOLS} ${PKG_UI} ${PKG_EMUS} ${PKG_RETROARCH} ${LIBRETRO_CORES} ${PKG_COMPAT} ${PKG_MULTIMEDIA} ${PKG_GAMESUPPORT} ${PKG_EXPERIMENTAL}"
|
||||
PKG_DEPENDS_TARGET+=" ${PKG_BASEOS} ${PKG_TOOLS} ${PKG_UI} ${PKG_COMPAT} ${PKG_MULTIMEDIA} ${PKG_SOFTWARE} ${PKG_EXPERIMENTAL}"
|
||||
fi
|
||||
|
||||
make_target() {
|
||||
|
|
|
@ -10,7 +10,7 @@ PKG_ARCH="any"
|
|||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/JustEnoughLinuxOS/emulationstation"
|
||||
PKG_URL="${PKG_SITE}.git"
|
||||
PKG_DEPENDS_TARGET="boost toolchain SDL2 freetype curl freeimage bash rapidjson SDL2_mixer fping p7zip vlc es-themes"
|
||||
PKG_DEPENDS_TARGET="boost toolchain SDL2 freetype curl freeimage bash rapidjson SDL2_mixer fping p7zip vlc"
|
||||
PKG_NEED_UNPACK="busybox"
|
||||
PKG_SHORTDESC="Emulationstation emulator frontend"
|
||||
PKG_BUILD_FLAGS="-gold"
|
||||
|
|
41
packages/virtual/emulators/package.mk
Normal file
41
packages/virtual/emulators/package.mk
Normal file
|
@ -0,0 +1,41 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Copyright (C) 2022 - Fewtarius
|
||||
|
||||
PKG_NAME="emulators"
|
||||
PKG_LICENSE="Apache-2.0"
|
||||
PKG_SITE="www.jelos.org"
|
||||
PKG_SECTION="virtual"
|
||||
PKG_LONGDESC="Emulation metapackage."
|
||||
|
||||
PKG_EMUS="hatarisa openbor hypseus-singe moonlight hypseus-singe pico-8 flycastsa \
|
||||
scummvmsa PPSSPPSDL yabasanshiroSA vicesa mupen64plussa-audio-sdl \
|
||||
mupen64plussa-input-sdl mupen64plussa-ui-console mupen64plussa-video-rice \
|
||||
mupen64plussa-core mupen64plussa-rsp-hle mupen64plussa-video-glide64mk2 \
|
||||
lzdoom gzdoom ecwolf amiberry raze drastic"
|
||||
|
||||
PKG_RETROARCH="retroarch retroarch-overlays retroarch-assets common-shaders glsl-shaders \
|
||||
libretro-database core-info"
|
||||
|
||||
LIBRETRO_CORES="2048 81 a5200 atari800 beetle-gba beetle-lynx beetle-ngp beetle-pce beetle-pcfx \
|
||||
beetle-supafaust beetle-supergrafx beetle-vb beetle-wswan bluemsx cannonball cap32 \
|
||||
crocods daphne dinothawr dosbox-svn dosbox-pure easyrpg fbalpha2012 \
|
||||
fbalpha2019 fbneo fceumm fmsx flycast flycast_libretro freechaf freeintv \
|
||||
freej2me fuse-libretro gambatte gearboy gearcoleco gearsystem genesis-plus-gx \
|
||||
genesis-plus-gx-wide gme gpsp gw-libretro handy hatari mame2000 mame2003-plus \
|
||||
mame2010 mame2015 mame melonds meowpc98 mgba mrboom mupen64plus mupen64plus-nx \
|
||||
neocd_libretro nestopia np2kai nxengine o2em opera parallel-n64_rice \
|
||||
parallel-n64_gln64 parallel-n64_glide64 pcsx_rearmed picodrive pokemini potator \
|
||||
ppsspp prboom prosystem puae px68k quasi88 quicknes race reminiscence sameboy \
|
||||
sameduck scummvm smsplus-gx snes9x snes9x2002 snes9x2005_plus snes9x2010 stella \
|
||||
stella-2014 swanstation TIC-80 tgbdual tyrquake xrick uae4arm uzem vba-next vbam \
|
||||
vecx vice yabasanshiro xmil mesen virtualjaguar ecwolf_libretro vitaquake2 \
|
||||
bsnes-mercury-performance"
|
||||
|
||||
PKG_DEPENDS_TARGET="${PKG_EMUS} ${PKG_RETROARCH} ${LIBRETRO_CORES}"
|
||||
|
||||
### Emulators or cores for specific devices
|
||||
case "${DEVICE}" in
|
||||
RG552|RG503|RG353P)
|
||||
PKG_DEPENDS_TARGET+=" duckstationsa"
|
||||
;;
|
||||
esac
|
13
packages/virtual/gamesupport/package.mk
Normal file
13
packages/virtual/gamesupport/package.mk
Normal file
|
@ -0,0 +1,13 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Copyright (C) 2022 - Fewtarius
|
||||
|
||||
PKG_NAME="gamesupport"
|
||||
PKG_LICENSE="Apache-2.0"
|
||||
PKG_SITE="www.jelos.org"
|
||||
PKG_SECTION="virtual"
|
||||
PKG_LONGDESC="Game support software metapackage."
|
||||
|
||||
PKG_GAMESUPPORT="sixaxis rg351p-js2xbox gptokeyb jstest-sdl gamecontrollerdb jelosaddons libgo2 sdljoytest"
|
||||
|
||||
PKG_DEPENDS_TARGET="${PKG_GAMESUPPORT}"
|
||||
|
Loading…
Reference in a new issue