1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Switched to meson wrap packages

This commit is contained in:
Tyler Mayoff 2022-08-12 14:57:35 -04:00
parent fd207d57ce
commit 906776e5bc
No known key found for this signature in database
GPG Key ID: 9318A9286352802A
4 changed files with 29 additions and 2 deletions

View File

@ -101,6 +101,8 @@ if get_option('tracy_fileselector') == 'none'
endif
threads_dep = dependency('threads')
imgui = dependency('imgui')
zstd = dependency('zstd')
includes = [
'public/tracy/TracyC.h',
@ -199,7 +201,5 @@ tracy_dep_dynamic = declare_dependency(
meson.override_dependency('tracy', tracy_dep)
subdir('zstd')
subdir('imgui')
subdir('server')
subdir('profiler')

3
subprojects/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
./*
!imgui.wrap
!zstd.wrap

12
subprojects/imgui.wrap Normal file
View File

@ -0,0 +1,12 @@
[wrap-file]
directory = imgui-1.87
source_url = https://github.com/ocornut/imgui/archive/refs/tags/v1.87.tar.gz
source_filename = imgui-1.87.tar.gz
source_hash = b54ceb35bda38766e36b87c25edf7a1cd8fd2cb8c485b245aedca6fb85645a20
patch_filename = imgui_1.87-4_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/imgui_1.87-4/get_patch
patch_hash = a008fc446e8c09c5a6c985ba94d4ffe04534f8c805f2805afdd0ba17ea6c73f5
wrapdb_version = 1.87-4
[provide]
imgui = imgui_dep

12
subprojects/zstd.wrap Normal file
View File

@ -0,0 +1,12 @@
[wrap-file]
directory = zstd-1.4.5
source_url = https://github.com/facebook/zstd/releases/download/v1.4.5/zstd-1.4.5.tar.gz
source_filename = zstd-1.4.5.tar.gz
source_hash = 98e91c7c6bf162bf90e4e70fdbc41a8188b9fa8de5ad840c401198014406ce9e
patch_url = https://wrapdb.mesonbuild.com/v2/zstd_1.4.5-1/get_patch
patch_filename = zstd-1.4.5-1-wrap.zip
patch_hash = fd9cb7b9c8f7092ef1597ff68f170beef65fcf33e575a621955cf405a41db1cc
[provide]
libzstd = libzstd_dep