# -*- 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           gitlab 1.0
PortGroup           meson 1.0

gitlab.instance     https://nheko.im
gitlab.setup        nheko-reborn coeurl 0.3.2 v

categories          net www
license             MIT
maintainers         nomaintainer
description         Simple library to do http requests asynchronously via CURL in C++
long_description    ${description}

checksums           rmd160  2099de3a3f24e558bd1dc00d761a341b4e63fc86 \
                    sha256  33e59a32571aa13166c6ed3d935488b4758fa5b6b789cb892a93acd398b71a90 \
                    size    47979

# Allow subproject download for 'spdlog'; upstream requires an older version
meson.wrap_mode     default

# Fix subproject wrap file for curl: [provides] should be [provide]
patchfiles-append   patch-subproj-curl.diff

depends_build-append \
                    port:pkgconfig

depends_lib-append \
                    port:curl \
                    port:libevent

compiler.cxx_standard 2017
