Ports/prboom-plus: Update formatting to be consistent with other ports

This commit is contained in:
Tim Ledbetter 2023-08-21 18:29:19 +01:00 committed by Jelle Raaijmakers
parent 8676ffee77
commit 08528a8084
Notes: sideshowbarker 2024-07-16 22:22:13 +09:00

View File

@ -2,21 +2,29 @@
port='prboom-plus' port='prboom-plus'
version='2.6.2' version='2.6.2'
useconfigure='true' useconfigure='true'
squashed_version=$(echo "${version}" | tr -d '.') squashed_version="$(echo ${version} | tr -d '.')"
files=( files=(
"https://github.com/coelckers/prboom-plus/archive/refs/tags/v${version}.tar.gz 5cfeec96fbfe4fc3bd5dbc2b8d581ff5f6617dd74b2799680ba5b1e2e38c4aff" "https://github.com/coelckers/prboom-plus/archive/refs/tags/v${version}.tar.gz 5cfeec96fbfe4fc3bd5dbc2b8d581ff5f6617dd74b2799680ba5b1e2e38c4aff"
"https://github.com/coelckers/prboom-plus/releases/download/v${version}/prboom-plus-${squashed_version}-w32.zip 20313e00d8841a618e23e7c671d65870194bee634468fecd2f3697ac05f21476" "https://github.com/coelckers/prboom-plus/releases/download/v${version}/prboom-plus-${squashed_version}-w32.zip 20313e00d8841a618e23e7c671d65870194bee634468fecd2f3697ac05f21476"
) )
workdir="prboom-plus-${version}/prboom2" workdir="prboom-plus-${version}/prboom2"
depends=("glu" "libmad" "libvorbis" "SDL2" "SDL2_image" "SDL2_mixer" "SDL2_net") depends=(
'glu'
'libmad'
'libvorbis'
'SDL2'
'SDL2_image'
'SDL2_mixer'
'SDL2_net'
)
configopts=( configopts=(
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
"-DWITH_ALSA=OFF" '-DWITH_ALSA=OFF'
"-DWITH_DUMB=OFF" '-DWITH_DUMB=OFF'
"-DWITH_FLUIDSYNTH=OFF" '-DWITH_FLUIDSYNTH=OFF'
"-DWITH_PCRE=OFF" '-DWITH_PCRE=OFF'
"-DWITH_PORTMIDI=OFF" '-DWITH_PORTMIDI=OFF'
"-Wno-dev" '-Wno-dev'
) )
launcher_name='PrBoom+' launcher_name='PrBoom+'