1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:37:34 +00:00

Ports: Clean up 'package.sh' for dosbox-staging

This makes dosbox-staging's 'package.sh' conform to our coding standards
for bash scripts.
This commit is contained in:
Kenneth Myhra 2023-05-04 17:35:31 +02:00 committed by Jelle Raaijmakers
parent 4eaac2ff1e
commit 9541f23376

View file

@ -1,16 +1,23 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=dosbox-staging
version=0.76.0
useconfigure=true
configopts=("--disable-opus-cdda" "--disable-fluidsynth" "--disable-dynamic-core")
port='dosbox-staging'
version='0.76.0'
useconfigure='true'
configopts=(
'--disable-fluidsynth'
'--disable-dynamic-core'
'--disable-opus-cdda'
)
files="https://github.com/dosbox-staging/dosbox-staging/archive/refs/tags/v${version}.tar.gz v${version}.tar.gz 7df53c22f7ce78c70afb60b26b06742b90193b56c510219979bf12e0bb2dc6c7"
auth_type=sha256
depends=("SDL2" "libpng")
launcher_name=DOSBox
launcher_category=Games
launcher_command=/usr/local/bin/dosbox
icon_file=contrib/icons/dosbox-staging.ico
use_fresh_config_sub=true
auth_type='sha256'
depends=(
'libpng'
'SDL2'
)
launcher_name='DOSBox'
launcher_category='Games'
launcher_command='/usr/local/bin/dosbox'
icon_file='contrib/icons/dosbox-staging.ico'
use_fresh_config_sub='true'
export CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2"
export CPPFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2"