#TODO adapt build.sh script for cross-compilation
# build instructions: https://xemu.app/docs/dev/building-from-source/#linux
[source]
tar = "https://github.com/xemu-project/xemu/releases/download/v0.8.115/src.tar.gz"
[build]
template = "custom"
dependencies = [
    "sdl2",
    "libepoxy",
    "libsamplerate",
    "pixman",
    "gtk3",
    "openssl3",
    "libpcap",
    "libslirp",
]
script = """
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
DYNAMIC_INIT
./build.sh
"""
