# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0

PortGroup           legacysupport 1.1
PortGroup           github  1.0
PortGroup           cmake   1.1

legacysupport.newest_darwin_requires_legacy 19

github.setup        spnda fastgltf 0.9.0 v
github.tarball_from archive
revision            0

set branch          [regsub {^(\d+\.\d+).*} ${github.version} {\1}]
homepage            https://fastgltf.readthedocs.io/v${branch}x/

description         \
    A modern C++17 glTF 2.0 library focused on speed, correctness, and \
    usability

long_description    \
    ${name} is a speed and usability focused glTF 2.0 library written in \
    modern C++17 with minimal dependencies. It uses SIMD in various areas to \
    decrease the time the application spends parsing and loading glTF data. \
    By taking advantage of modern C++17 \(and optionally C++20\) it also \
    provides easy and safe access to the properties and data. The library \
    supports the entirety of glTF 2.0 specification, including many \
    extensions. By default, ${name} will only do the absolute minimum to work \
    with a glTF model. However, it brings many additional features to ease \
    working with the data, including accessor tools, the ability to directly \
    write to mapped GPU buffers, and decomposing transform matrices.

categories          graphics devel
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  cdfd03cbf482380bb5b2337729945cfb55672002 \
                    sha256  0bb564e127b14c22f062db50f89381dd2e0a20dbaf4987ca138a4ae8728712f9 \
                    size    167056

depends_lib-append  port:simdjson

compiler.cxx_standard 2017
