mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 07:27:44 +00:00
Ports: Add RetroArch
This commit is contained in:
parent
78dc77f7e4
commit
74226a6cb3
9 changed files with 1268 additions and 0 deletions
35
Ports/RetroArch/package.sh
Executable file
35
Ports/RetroArch/package.sh
Executable file
|
@ -0,0 +1,35 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=RetroArch
|
||||
useconfigure="true"
|
||||
version="1.10.3"
|
||||
archive_hash="2af44294e55f5636262284d650cb5fff55c9070ac3a700d4fa55c1f152dcb3f2"
|
||||
files="https://github.com/libretro/${port}/archive/refs/tags/v${version}.tar.gz ${port}-${version}.tar.gz $archive_hash"
|
||||
auth_type=sha256
|
||||
depends=("freetype" "SDL2" "zlib")
|
||||
|
||||
configopts=(
|
||||
"--disable-builtinglslang"
|
||||
"--disable-discord"
|
||||
"--disable-glsl"
|
||||
"--disable-glslang"
|
||||
"--disable-opengl"
|
||||
"--disable-slang"
|
||||
"--disable-spirv_cross"
|
||||
"--disable-systemmbedtls"
|
||||
"--disable-update_cores"
|
||||
)
|
||||
|
||||
launcher_name=RetroArch
|
||||
launcher_category=Games
|
||||
launcher_command=/usr/local/bin/retroarch
|
||||
icon_file=media/retroarch.ico
|
||||
|
||||
export CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/include/LibGL -I${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2"
|
||||
|
||||
post_install() {
|
||||
echo "==== Post installation instructions ===="
|
||||
echo "Please remember to use the online updater"
|
||||
echo "to install cores info files using main menu"
|
||||
echo "online updater > update core info files"
|
||||
echo "before installing libretro cores from the port"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue