1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 22:17:45 +00:00

Ports: Fix issues with the libmodplug and SDL_sound ports

- Lock SDL_sound to specific commit
- Convert properties to arrays where required
- Fix depends being called "deps"
This commit is contained in:
Tim Schumacher 2021-10-11 02:29:49 +02:00 committed by Brian Gianforcaro
parent 262b718912
commit 3908753347
2 changed files with 8 additions and 7 deletions

View file

@ -1,15 +1,16 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=SDL_sound
version=git
workdir=SDL_sound-main
_commit=9dfd90e9aebeb8c29248af673a46507f10e0e893
workdir=SDL_sound-${_commit}
useconfigure=true
deps="SDL2"
files="https://github.com/icculus/SDL_sound/archive/refs/heads/main.zip main.zip f8a322d090a172b9c66a41758f7ece850a8ff231058733a13e44bc380342651b"
depends=("SDL2")
files="https://github.com/icculus/SDL_sound/archive/${_commit}.zip ${_commit}.zip c701f31fcef9238d6a439d94020ce8957aa5aaea29878312dc0b6d1c247d77ca"
auth_type=sha256
configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
configure() {
run cmake $configopts
run cmake "${configopts[@]}"
}
install() {