2022-05-07 18:46:03 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=RetroArch
|
|
|
|
useconfigure="true"
|
2022-10-27 10:08:24 +00:00
|
|
|
version="1.12.0"
|
|
|
|
archive_hash="c912e32a0300f16ade827d48a4a948d5dab40b764cd1169f61108c6f5803649a"
|
2023-07-10 11:10:29 +00:00
|
|
|
files=(
|
2023-09-02 04:32:27 +00:00
|
|
|
"https://github.com/libretro/${port}/archive/refs/tags/v${version}.tar.gz#$archive_hash"
|
2023-07-10 11:10:29 +00:00
|
|
|
)
|
2022-05-07 18:46:03 +00:00
|
|
|
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
|
2024-01-03 19:34:07 +00:00
|
|
|
launcher_category='&Games'
|
2022-05-07 18:46:03 +00:00
|
|
|
launcher_command=/usr/local/bin/retroarch
|
|
|
|
icon_file=media/retroarch.ico
|
|
|
|
|
2024-02-21 15:33:13 +00:00
|
|
|
export CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2"
|
2022-05-07 18:46:03 +00:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|