Update spdlog subproject to 1.8.1
Among other changes, this adds spdlog::should_log(), which lets us
easily determine whether a log message will be printed so that we can
avoid extra computation when unnecessary.
New wrap file taken from https://wrapdb.mesonbuild.com/spdlog and
modified to download from GitHub as per commit 99dde1aff8
("Download
patch files from Github instead of wrapdb").
This commit is contained in:
parent
e8dbdee238
commit
ad40511358
|
@ -80,7 +80,7 @@ is_openbsd = host_machine.system() == 'openbsd'
|
||||||
|
|
||||||
thread_dep = dependency('threads')
|
thread_dep = dependency('threads')
|
||||||
fmt = dependency('fmt', version : ['>=5.3.0'], fallback : ['fmt', 'fmt_dep'])
|
fmt = dependency('fmt', version : ['>=5.3.0'], fallback : ['fmt', 'fmt_dep'])
|
||||||
spdlog = dependency('spdlog', version : ['>=1.3.1'], fallback : ['spdlog', 'spdlog_dep'], default_options : ['external_fmt=true'])
|
spdlog = dependency('spdlog', version : ['>=1.8.0'], fallback : ['spdlog', 'spdlog_dep'], default_options : ['external_fmt=true'])
|
||||||
wayland_client = dependency('wayland-client')
|
wayland_client = dependency('wayland-client')
|
||||||
wayland_cursor = dependency('wayland-cursor')
|
wayland_cursor = dependency('wayland-cursor')
|
||||||
wayland_protos = dependency('wayland-protocols')
|
wayland_protos = dependency('wayland-protocols')
|
||||||
|
|
|
@ -1,10 +1,13 @@
|
||||||
[wrap-file]
|
[wrap-file]
|
||||||
directory = spdlog-1.3.1
|
directory = spdlog-1.8.1
|
||||||
|
|
||||||
source_url = https://github.com/gabime/spdlog/archive/v1.3.1.tar.gz
|
source_url = https://github.com/gabime/spdlog/archive/v1.8.1.tar.gz
|
||||||
source_filename = v1.3.1.tar.gz
|
source_filename = v1.8.1.tar.gz
|
||||||
source_hash = 160845266e94db1d4922ef755637f6901266731c4cb3b30b45bf41efa0e6ab70
|
source_hash = 5197b3147cfcfaa67dd564db7b878e4a4b3d9f3443801722b3915cdeced656cb
|
||||||
|
|
||||||
patch_url = https://github.com/mesonbuild/spdlog/releases/download/1.3.1-1/spdlog.zip
|
patch_url = https://github.com/mesonbuild/spdlog/releases/download/1.8.1-1/spdlog.zip
|
||||||
patch_filename = spdlog-1.3.1-1-wrap.zip
|
patch_filename = spdlog-1.8.1-1-wrap.zip
|
||||||
patch_hash = 715a0229781019b853d409cc0bf891ee4b9d3a17bec0cf87f4ad30b28bbecc87
|
patch_hash = 76844292a8e912aec78450618271a311841b33b17000988f215ddd6c64dd71b3
|
||||||
|
|
||||||
|
[provide]
|
||||||
|
spdlog = spdlog_dep
|
||||||
|
|
Loading…
Reference in New Issue