提交 30ed8d41 authored 作者: Nazar Mokrynskyi's avatar Nazar Mokrynskyi

Update Meson dependencies

上级 b3759391
...@@ -44,5 +44,3 @@ ...@@ -44,5 +44,3 @@
# Meson. # Meson.
/worker/subprojects/* /worker/subprojects/*
!/worker/subprojects/*.wrap !/worker/subprojects/*.wrap
# Temporarily included meson.build files
!/worker/subprojects/packagefiles
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
"worker/scripts/*.js", "worker/scripts/*.js",
"worker/scripts/*.json", "worker/scripts/*.json",
"worker/src", "worker/src",
"worker/subprojects/packagefiles",
"worker/subprojects/*.wrap", "worker/subprojects/*.wrap",
"worker/test/include", "worker/test/include",
"worker/test/src", "worker/test/src",
......
...@@ -15,7 +15,6 @@ include = [ ...@@ -15,7 +15,6 @@ include = [
"/scripts", "/scripts",
"!/scripts/node_modules", "!/scripts/node_modules",
"/src", "/src",
"/subprojects/packagefiles",
"/subprojects/*.wrap", "/subprojects/*.wrap",
"/test/include", "/test/include",
"/test/src", "/test/src",
......
...@@ -315,7 +315,7 @@ mediasoup_worker_test = executable( ...@@ -315,7 +315,7 @@ mediasoup_worker_test = executable(
test( test(
'mediasoup-worker-test', 'mediasoup-worker-test',
mediasoup_worker_test, mediasoup_worker_test,
workdir: meson.source_root(), workdir: meson.project_source_root(),
) )
if host_machine.system() == 'linux' if host_machine.system() == 'linux'
......
...@@ -20,4 +20,3 @@ absl_strings = absl_strings_dep ...@@ -20,4 +20,3 @@ absl_strings = absl_strings_dep
absl_synchronization = absl_synchronization_dep absl_synchronization = absl_synchronization_dep
absl_time = absl_time_dep absl_time = absl_time_dep
absl_types = absl_types_dep absl_types = absl_types_dep
[wrap-file] [wrap-file]
directory = nlohmann_json-3.9.1 directory = nlohmann_json-3.10.5
lead_directory_missing = true lead_directory_missing = true
source_url = https://github.com/nlohmann/json/releases/download/v3.9.1/include.zip source_url = https://github.com/nlohmann/json/releases/download/v3.10.5/include.zip
source_filename = nlohmann_json-3.9.1.zip source_filename = nlohmann_json-3.10.5.zip
source_hash = 6bea5877b1541d353bd77bdfbdb2696333ae5ed8f9e8cc22df657192218cad91 source_hash = b94997df68856753b72f0d7a3703b7d484d4745c567f3584ef97c96c25a5798e
patch_url = https://wrapdb.mesonbuild.com/v2/nlohmann_json_3.9.1-1/get_patch
patch_filename = nlohmann_json-3.9.1-1-wrap.zip
patch_hash = 1774e5506fbe3897d652f67e41973194b948d2ab851cf464a742f35f160a1435
[provide] [provide]
nlohmann_json = nlohmann_json_dep nlohmann_json = nlohmann_json_dep
......
[wrap-file] [wrap-file]
directory = openssl-1.1.1l directory = openssl-3.0.2
source_url = https://www.openssl.org/source/openssl-1.1.1l.tar.gz source_url = https://www.openssl.org/source/openssl-3.0.2.tar.gz
source_filename = openssl-1.1.1l.tar.gz source_filename = openssl-3.0.2.tar.gz
source_hash = 0b7a3e5e59c34827fe0c3a74b7ec8baef302b98fa80088d7f9153aa16fa76bd1 source_hash = 98e91ccead4d4756ae3c9cde5e09191a8e586d9f4d50838e7ec09d6411dfdb63
patch_filename = openssl_1.1.1l-2_patch.zip patch_filename = openssl_3.0.2-1_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/openssl_1.1.1l-2/get_patch patch_url = https://wrapdb.mesonbuild.com/v2/openssl_3.0.2-1/get_patch
patch_hash = 852521fb016fa2deee8ebf9ffeeee0292c6de86a03c775cf72ac04e86f9f177e patch_hash = 762ab4ea94d02178d6a1d3eb63409c2c4d61315d358391cdac62df15211174d4
[provide] [provide]
libcrypto = libcrypto_dep libcrypto = libcrypto_dep
......
project(
'wingetopt',
'c',
version: '0.95',
license : ['ISC', 'BSD-3-Clause'],
meson_version: '>= 0.55',
default_options: [
'warning_level=1',
],
)
compiler = meson.get_compiler('c')
c_args = []
if compiler.get_id() == 'msvc'
c_args += [
'-D_CRT_SECURE_NO_WARNINGS',
]
if get_option('default_library') == 'shared'
c_args += [
'-DBUILDING_WINGETOPT_DLL',
'-DWINGETOPT_SHARED_LIB',
]
endif
endif
wingetopt_lib = library(
'wingetopt',
'src/getopt.c',
include_directories: include_directories(
'src',
),
c_args: c_args,
)
wingetopt_dep = declare_dependency(
link_with: wingetopt_lib,
include_directories: include_directories(
'src',
),
)
[wrap-file] [wrap-file]
directory = usrsctp-9d6b99b10a70f7a63d21cd80d03c353da9ac19d3 directory = usrsctp-4e06feb01cadcd127d119486b98a4bd3d64aa1e7
source_url = https://github.com/sctplab/usrsctp/archive/9d6b99b10a70f7a63d21cd80d03c353da9ac19d3.zip source_url = https://github.com/sctplab/usrsctp/archive/4e06feb01cadcd127d119486b98a4bd3d64aa1e7.zip
source_filename = 9d6b99b10a70f7a63d21cd80d03c353da9ac19d3.zip source_filename = 4e06feb01cadcd127d119486b98a4bd3d64aa1e7.zip
source_hash = d9b7b3350ea0be2a3d1437e404d4852df741c4984b734729c5edc337ff4b7611 source_hash = 15f7844c4c4ca93228ae0fe844182c72edd1d809b461cb97b1bb687a804dd4fc
[provide] [provide]
usrsctp = usrsctp_dep usrsctp = usrsctp_dep
[wrap-file] [wrap-file]
directory = wingetopt-0.95 directory = wingetopt-1.00
source_url = https://github.com/alex85k/wingetopt/archive/v0.95.zip source_url = https://github.com/alex85k/wingetopt/archive/v1.00.zip
source_filename = wingetopt-0.95.zip source_filename = wingetopt-1.00.zip
source_hash = 7b535dd753b93446539504a76cd561282e9a8a9969fe06e0d8691fc3048987c5 source_hash = 4454ca03a59702a4ca4d1488ca8fa6168b0c8d77dc739a6fe2825c3dd8609d87
patch_directory = wingetopt
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论