#TODO: promote
[source]
tar = "https://download.gnome.org/sources/libsoup/3.6/libsoup-3.6.5.tar.xz"
blake3 = "9e5214dfb310ac1bbf8ceb85724f2c79a1d5c94382f306080a6cdea47230e960"

[build]
dependencies = [
    "gettext",
    "glib",
    "libffi",
    "libiconv",
    "libpsl",
    "nghttp2",
    "pcre2",
    "sqlite3",
    "zlib",
]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_meson \
    -Dintrospection=disabled \
    -Dsysprof=disabled \
    -Dtests=false \
    -Dtls_check=false
patchelf --replace-needed "${COOKBOOK_SYSROOT}/usr/lib/libsqlite3.so" "libsqlite3.so" "${COOKBOOK_STAGE}/usr/lib/libsoup-3.0.so"
"""
