/
Portfile
41 lines (31 loc) · 1.35 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# -*- 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.0 v
revision 1
categories net www
license MIT
maintainers nomaintainer
description Simple library to do http requests asynchronously via CURL in C++
long_description ${description}
checksums rmd160 53ff405609607821e37de38b3e1459959c809927 \
sha256 96225da3c54b693f59abc0c037420e04a33aef0aa6fcec877b699ebcdb895d32 \
size 46393
# 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
# Backport of:
# https://github.com/gabime/spdlog/commit/c65aa4e4889939c1afa82001db349cac237a13f8
pre-build {
system -W {*}[glob ${worksrcpath}/subprojects/spdlog-*] \
"/usr/bin/patch -p0 < [shellescape ${filespath}]/patch-pthread.diff"
}
depends_build-append \
port:pkgconfig
depends_lib-append \
port:curl \
port:libevent
compiler.cxx_standard 2017