Ports: Add SDL_sound for SDL 1.2

This commit is contained in:
Grigoris Pavlakis 2022-06-13 13:34:09 +03:00 committed by Linus Groh
parent de31f51bbe
commit c98a275931
Notes: sideshowbarker 2024-07-17 10:03:39 +09:00
2 changed files with 15 additions and 0 deletions

View File

@ -208,6 +208,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`SDL2_sound`](SDL2_sound/) | SDL2\_sound (Abstract soundfile decoder add-on for SDL2) | | https://github.com/icculus/SDL_sound |
| [`SDL2_ttf`](SDL2_ttf/) | SDL2\_ttf (TrueType Font add-on for SDL2) | 2.0.18 | https://www.libsdl.org/projects/SDL_ttf/ |
| [`SDL_mixer`](SDL_mixer/) | SDL\_mixer (Audio mixer add-on for SDL 1.2) | 1.2.12 | https://www.libsdl.org/projects/SDL_mixer/release-1.2.html |
| [`SDL_sound`](SDL_sound/) | SDL\_sound (Abstract soundfile decoder add-on for SDL 1.2) | 1.0.3 | https://www.icculus.org/SDL_sound/ |
| [`SDLPoP`](SDLPoP/) | Prince of Persia game | | https://github.com/NagyD/SDLPoP |
| [`sed`](sed/) | GNU sed | 4.8 | https://www.gnu.org/software/sed/ |
| [`serenity-theming`](serenity-theming/) | SerenityOS theming | e4e2f26 | https://github.com/SerenityOS/theming |

14
Ports/SDL_sound/package.sh Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='SDL_sound'
version='1.0.3'
useconfigure='true'
use_fresh_config_sub='true'
depends=("sdl12-compat" "libmikmod")
files="https://www.icculus.org/SDL_sound/downloads/${port}-${version}.tar.gz ${port}-${version}.tar.gz 3999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df"
auth_type='sha256'
configopts=(
"--with-sdl-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
"--enable-ogg=no"
"--enable-modplug=no"
)
makeopts=("LDFLAGS=-lm")