mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
3ce1118af1
By default, ScummVM will still run in software rendering mode, but the options to enable OpenGL will become available.
32 lines
1.0 KiB
Bash
Executable File
32 lines
1.0 KiB
Bash
Executable File
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=scummvm
|
|
useconfigure="true"
|
|
version="2.5.1"
|
|
files="https://downloads.scummvm.org/frs/scummvm/${version}/scummvm-${version}.tar.xz scummvm-${version}.tar.xz 9fd8db38e4456144bf8c34dacdf7f204e75f18e8e448ec01ce08ce826a035f01"
|
|
auth_type=sha256
|
|
depends=("freetype" "libiconv" "libjpeg" "libpng" "libtheora" "SDL2")
|
|
configopts=(
|
|
"--enable-c++11"
|
|
"--enable-release-mode"
|
|
"--enable-optimizations"
|
|
"--with-sdl-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
|
|
)
|
|
launcher_name=ScummVM
|
|
launcher_category=Games
|
|
launcher_command=/usr/local/bin/scummvm
|
|
icon_file=icons/scummvm.ico
|
|
|
|
function pre_configure() {
|
|
export CPPFLAGS="-fvisibility=hidden"
|
|
export FREETYPE2_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/freetype2"
|
|
export OPENGL_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/include/LibGL"
|
|
export SDL_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2"
|
|
}
|
|
|
|
function post_configure() {
|
|
unset CPPFLAGS
|
|
unset FREETYPE2_CFLAGS
|
|
unset OPENGL_CFLAGS
|
|
unset SDL_CFLAGS
|
|
}
|