ladybird/Ports/RetroArch/package.sh
2022-05-25 23:19:25 +01:00

36 lines
1.1 KiB
Bash
Executable File

#!/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"
}