redox/recipes/video/sdl-player/recipe.toml
bjorn3 da44aa7d3a Use a recipe.toml file for sdl-player
Sdl-player currently doesn't build. Neither before nor after this change.
2025-06-28 21:06:51 +02:00

21 lines
470 B
TOML

[source]
git = "https://gitlab.redox-os.org/redox-os/sdl-player.git"
[build]
template = "custom"
dependencies = [
"ffmpeg6",
"liborbital",
"sdl1",
"zlib"
]
script = """
rsync -av --delete --exclude='.git' "${COOKBOOK_SOURCE}/" ./
export CPPFLAGS="-I${COOKBOOK_SYSROOT}/include"
export LDFLAGS="-L${COOKBOOK_SYSROOT}/lib -static"
"${COOKBOOK_MAKE}" -j"$(${NPROC})"
mkdir -pv "${COOKBOOK_STAGE}/bin"
cp -v "player" "${COOKBOOK_STAGE}/bin/sdl-player"
"""