redox/recipes/sound/timidity/recipe.toml
2026-05-15 22:36:18 +07:00

29 lines
746 B
TOML

[source]
git = "https://gitlab.redox-os.org/redox-os/timidity.git"
branch = "redox"
script = """
autoreconf -f -i
wget -O autoconf/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
"""
[build]
template = "custom"
script = """
DYNAMIC_INIT
COOKBOOK_CONFIGURE_FLAGS+=(
--enable-vt100
)
cookbook_configure
# Create configuration files
mkdir -pv "${COOKBOOK_STAGE}/etc/timidity"
echo "soundfont /share/generaluser-gs/generaluser-gs.sf2" >> "${COOKBOOK_STAGE}/etc/timidity/timidity.cfg"
mkdir -pv "${COOKBOOK_STAGE}/share/timidity"
echo "soundfont /share/generaluser-gs/generaluser-gs.sf2" >> "${COOKBOOK_STAGE}/share/timidity/timidity.cfg"
"""
[package]
dependencies = [
"generaluser-gs",
]