name=taisei
version=1.3.2
revision=1
tarball_url="https://github.com/taisei-project/taisei/releases/download/v${version}/taisei-v${version}.tar.xz"
tarball_blake2b="608b5db6f17e2693539ce0742a1812633e91e901b3935b9e54f91514827642334f6cb6f0217aff713f1ff9dd01d971ae895ac8c98b0360f254b52d3e49bfae61"
hostdeps="gcc pkg-config"
deps="core-libs freetype2 libpng sdl2 libwebp zlib cglm openssl libzip"
imagedeps="meson ninja"

build() {
    meson_configure \
        -Ddocs=false \
        -Da_sdl2mixer=false \
        -Da_default=null \
        -Db_lto=false

    ninja -j${parallelism}
}

package() {
    DESTDIR="${dest_dir}" ninja install
}
