# -*- 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.1 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  7f427fa7d452dfdf0171ae80c9cc73d85821a827 \
                    sha256  d8705a496deb2831775baeef5009be36d24bf3d10f8d29ab016e977d0119c872 \
                    size    169418

depends_lib-append  port:simdjson

compiler.cxx_standard 2017
