[source]
tar = "https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.15.tar.gz"
blake3 = "9814a07f33a3501b414f0fc7fa962e7d7ffc56748406f3798b7698b8d7e7fe12"
script = """
DYNAMIC_INIT
./autogen.sh
"""

[build]
dependencies = [
    "expat",
    "freetype2",
    "libdrm",
    "liborbital",
    "libpng",
    "mesa",
    "sdl2",
    "zlib",
]
template = "custom"
script = """
DYNAMIC_INIT
export SDL_LIBS="-lSDL2 -lorbital $("${PKG_CONFIG}" --libs osmesa) -lpng -lz -lm -lpthread -lstdc++"
COOKBOOK_CONFIGURE_FLAGS+=(
    --disable-sdltest
    --enable-opengl
)
cookbook_configure
"""
