serenity/Ports/SDL_mixer/package.sh
Jelle Raaijmakers 808e0c9b17 Ports: Add TiMidity++
Also add it as a dependency for the `SDL_mixer` and `SDL2_mixer` ports.

Eawpats GUS patches are installed as part of the port, because without
patches TiMidity++ is not able to generate any sound. The license for
these is "fameware", credit to Andrew Suffield:

  https://lists.debian.org/debian-legal/2002/09/msg00137.html
2022-09-03 00:07:24 +02:00

16 lines
761 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=SDL_mixer
version=1.2.12
useconfigure=true
configopts=("--disable-static")
use_fresh_config_sub=true
config_sub_paths=("build-scripts/config.sub")
files="https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${version}.tar.gz SDL_mixer-${version}.tar.gz 1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a"
auth_type=sha256
depends=("libmikmod" "libvorbis" "sdl12-compat" "timidity")
# Explicitly point to the config binaries installed by our ports. Otherwise, it will
# only work if by chance your host machine has those binaries in $PATH.
export LIBMIKMOD_CONFIG="${SERENITY_INSTALL_ROOT}/usr/local/bin/libmikmod-config"
export SDL_CONFIG="${SERENITY_INSTALL_ROOT}/usr/local/bin/sdl-config"