Skip to content

Commit eced13c

Browse files
authored
Merge pull request #211 from OpenBrickProtocolFoundation/update_wraps
Update wraps
2 parents 58f4478 + 7129018 commit eced13c

File tree

10 files changed

+64
-64
lines changed

10 files changed

+64
-64
lines changed

platforms/emscripten/sdl2_image_port.diff

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/tools/ports/sdl2_image.py b/tools/ports/sdl2_image.py
2-
index 70fa1499..36be807b 100644
2+
index 7a7d0aa..145bc6d 100644
33
--- a/tools/ports/sdl2_image.py
44
+++ b/tools/ports/sdl2_image.py
55
@@ -18,7 +18,8 @@ variants = {
@@ -29,27 +29,27 @@ index 70fa1499..36be807b 100644
2929
- if settings.PTHREADS:
3030
+ if settings.PTHREADS or opts['mt']:
3131
libname += '-mt'
32-
return libname + '.a'
33-
34-
@@ -75,7 +77,7 @@ def get(ports, settings, shared):
32+
if settings.SUPPORT_LONGJMP == 'wasm':
33+
libname += '-wasm-sjlj'
34+
@@ -76,7 +78,7 @@ def get(ports, settings, shared):
3535
if 'jpg' in formats:
3636
flags += ['-sUSE_LIBJPEG']
3737

3838
- if settings.PTHREADS:
3939
+ if settings.PTHREADS or opts['mt']:
4040
flags += ['-pthread']
4141

42-
ports.build_port(src_dir, final, 'sdl2_image', flags=flags, srcs=srcs)
43-
@@ -106,6 +108,12 @@ def handle_options(options, error_handler):
44-
error_handler(f'{format} is not a supported format')
42+
if settings.SUPPORT_LONGJMP == 'wasm':
43+
@@ -111,6 +113,12 @@ def handle_options(options, error_handler):
4544
else:
4645
opts['formats'].add(format)
47-
+
46+
4847
+ mt = options['mt']
49-
+ if mt not in ["1","0"]:
48+
+ if mt not in ["1", "0"]:
5049
+ error_handler(f'{mt} has to be either 0 or 1')
5150
+ else:
5251
+ opts['mt'] = int(mt)
53-
52+
+
5453

5554
def show():
55+
return 'sdl2_image (-sUSE_SDL_IMAGE=2 or --use-port=sdl2_image; zlib license)'

subprojects/argparse.wrap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[wrap-file]
2-
directory = argparse-3.1
3-
source_url = https://github.com/p-ranav/argparse/archive/refs/tags/v3.1.tar.gz
4-
source_filename = argparse-3.1.tar.gz
5-
source_hash = d01733552ca4a18ab501ae8b8be878131baa32e89090fafdeef018ebfa4c6e46
6-
patch_filename = argparse_3.1-2_patch.zip
7-
patch_url = https://wrapdb.mesonbuild.com/v2/argparse_3.1-2/get_patch
8-
patch_hash = 681512473913fd9f918c1d1abc40a358a739e4d02df50d8b54bf3d863fa27266
9-
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/argparse_3.1-2/argparse-3.1.tar.gz
10-
wrapdb_version = 3.1-2
2+
directory = argparse-3.2
3+
source_url = https://github.com/p-ranav/argparse/archive/refs/tags/v3.2.tar.gz
4+
source_filename = argparse-3.2.tar.gz
5+
source_hash = 9dcb3d8ce0a41b2a48ac8baa54b51a9f1b6a2c52dd374e28cc713bab0568ec98
6+
patch_filename = argparse_3.2-1_patch.zip
7+
patch_url = https://wrapdb.mesonbuild.com/v2/argparse_3.2-1/get_patch
8+
patch_hash = ddf1abdb00927ce60371fce3b751d66f07ddc879d1e55816218b017d7d972cf2
9+
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/argparse_3.2-1/argparse-3.2.tar.gz
10+
wrapdb_version = 3.2-1
1111

1212
[provide]
1313
argparse = argparse_dep

subprojects/cpp-httplib.wrap

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[wrap-file]
2-
directory = cpp-httplib-0.18.3
3-
source_url = https://github.com/yhirose/cpp-httplib/archive/refs/tags/v0.18.3.tar.gz
4-
source_filename = cpp-httplib-0.18.3.tar.gz
5-
source_hash = a0567bcd6c3fe5cef1b329b96245119047f876b49e06cc129a36a7a8dffe173e
6-
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/cpp-httplib_0.18.3-1/cpp-httplib-0.18.3.tar.gz
7-
wrapdb_version = 0.18.3-1
8-
diff_files = cpp-httplib-0.18.3_mingw.diff
2+
directory = cpp-httplib-0.19.0
3+
source_url = https://github.com/yhirose/cpp-httplib/archive/refs/tags/v0.19.0.tar.gz
4+
source_filename = cpp-httplib-0.19.0.tar.gz
5+
source_hash = c9b9e0524666e1cd088f0874c57c1ce7c0eaa8552f9f4e15c755d5201fc8c608
6+
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/cpp-httplib_0.19.0-1/cpp-httplib-0.19.0.tar.gz
7+
wrapdb_version = 0.19.0-1
8+
diff_files = cpp-httplib-0.19.0_mingw.diff
99

1010
[provide]
1111
cpp-httplib = cpp_httplib_dep

subprojects/fmt.wrap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[wrap-file]
2-
directory = fmt-11.0.2
3-
source_url = https://github.com/fmtlib/fmt/archive/11.0.2.tar.gz
4-
source_filename = fmt-11.0.2.tar.gz
5-
source_hash = 6cb1e6d37bdcb756dbbe59be438790db409cdb4868c66e888d5df9f13f7c027f
6-
patch_filename = fmt_11.0.2-1_patch.zip
7-
patch_url = https://wrapdb.mesonbuild.com/v2/fmt_11.0.2-1/get_patch
8-
patch_hash = 90c9e3b8e8f29713d40ca949f6f93ad115d78d7fb921064112bc6179e6427c5e
9-
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/fmt_11.0.2-1/fmt-11.0.2.tar.gz
10-
wrapdb_version = 11.0.2-1
2+
directory = fmt-11.1.1
3+
source_url = https://github.com/fmtlib/fmt/archive/11.1.1.tar.gz
4+
source_filename = fmt-11.1.1.tar.gz
5+
source_hash = 482eed9efbc98388dbaee5cb5f368be5eca4893456bb358c18b7ff71f835ae43
6+
patch_filename = fmt_11.1.1-2_patch.zip
7+
patch_url = https://wrapdb.mesonbuild.com/v2/fmt_11.1.1-2/get_patch
8+
patch_hash = eee2e90d5d43061a0a1f0b9f8eb188c5b8820ef3e1b15e4b8a4eb791ef82b325
9+
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/fmt_11.1.1-2/fmt-11.1.1.tar.gz
10+
wrapdb_version = 11.1.1-2
1111
diff_files = fmt_dependency_override.diff, fmt_emscripten.diff
1212

1313
[provide]

subprojects/icu.wrap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ directory = icu
33
source_url = https://github.com/unicode-org/icu/releases/download/release-76-1/icu4c-76_1-src.tgz
44
source_filename = icu4c-76_1-src.tgz
55
source_hash = dfacb46bfe4747410472ce3e1144bf28a102feeaa4e3875bac9b4c6cf30f4f3e
6-
patch_filename = icu_76.1-1_patch.zip
7-
patch_url = https://wrapdb.mesonbuild.com/v2/icu_76.1-1/get_patch
8-
patch_hash = e50941b3a3f2034032079bbeaccd2c59b54963f12d43aefb9673a607556d4abc
9-
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/icu_76.1-1/icu4c-76_1-src.tgz
10-
wrapdb_version = 76.1-1
6+
patch_filename = icu_76.1-2_patch.zip
7+
patch_url = https://wrapdb.mesonbuild.com/v2/icu_76.1-2/get_patch
8+
patch_hash = aa53ee7a3f742be81b597a7066d21777fcf9ab8f8793fa91b0565848854c27d6
9+
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/icu_76.1-2/icu4c-76_1-src.tgz
10+
wrapdb_version = 76.1-2
1111

1212
[provide]
1313
icu-uc = icuuc_dep

subprojects/libpng.wrap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[wrap-file]
2-
directory = libpng-1.6.44
3-
source_url = https://github.com/glennrp/libpng/archive/v1.6.44.tar.gz
4-
source_filename = libpng-1.6.44.tar.gz
5-
source_hash = 0ef5b633d0c65f780c4fced27ff832998e71478c13b45dfb6e94f23a82f64f7c
6-
patch_filename = libpng_1.6.44-1_patch.zip
7-
patch_url = https://wrapdb.mesonbuild.com/v2/libpng_1.6.44-1/get_patch
8-
patch_hash = 394b07614c45fbd1beac8b660386216a490fe12f841a1a445799b676c9c892fb
9-
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/libpng_1.6.44-1/libpng-1.6.44.tar.gz
10-
wrapdb_version = 1.6.44-1
2+
directory = libpng-1.6.46
3+
source_url = https://github.com/glennrp/libpng/archive/v1.6.46.tar.gz
4+
source_filename = libpng-1.6.46.tar.gz
5+
source_hash = 767b01936f9620d4ab4cdf6ec348f6526f861f825648b610b1d604167dc738d2
6+
patch_filename = libpng_1.6.46-1_patch.zip
7+
patch_url = https://wrapdb.mesonbuild.com/v2/libpng_1.6.46-1/get_patch
8+
patch_hash = cb3ad0b73aeb2e99842f0ac50f974506c63ce77a9668e31b8ca156a47da3a222
9+
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/libpng_1.6.46-1/libpng-1.6.46.tar.gz
10+
wrapdb_version = 1.6.46-1
1111

1212
[provide]
1313
libpng = libpng_dep

subprojects/packagefiles/discord_game_sdk/cpp/meson.build

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ if host_machine.system() == 'darwin'
4949
elif host_machine.cpu_family() == 'x86_64'
5050
lib_dir = 'lib' / 'x86_64'
5151
else
52-
error('unsuported architectue for macos: ' + host_machine.cpu_family())
52+
error('unsupported architecture for macos: ' + host_machine.cpu_family())
5353
endif
5454

5555
elif host_machine.system() == 'linux'
@@ -81,11 +81,11 @@ elif host_machine.system() == 'linux'
8181
endif
8282

8383
if linux_distro == 'alpine'
84-
error('unsuported libc for linux: musl')
84+
error('unsupported libc for linux: musl')
8585
endif
8686

8787
else
88-
error('unsuported architectue for linux: ' + host_machine.cpu_family())
88+
error('unsupported architecture for linux: ' + host_machine.cpu_family())
8989
endif
9090
elif host_machine.system() == 'windows'
9191
dynamic_lib = 'discord_game_sdk.dll'
@@ -94,10 +94,10 @@ elif host_machine.system() == 'windows'
9494
elif host_machine.cpu_family() == 'x86_64'
9595
lib_dir = 'lib' / 'x86_64'
9696
else
97-
error('unsuported architectue for windows: ' + host_machine.cpu_family())
97+
error('unsupported architecture for windows: ' + host_machine.cpu_family())
9898
endif
9999
else
100-
error('unsuported system: ' + host_machine.system())
100+
error('unsupported system: ' + host_machine.system())
101101
endif
102102

103103
c = meson.get_compiler('c')

subprojects/spdlog.wrap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[wrap-file]
2-
directory = spdlog-1.15.0
3-
source_url = https://github.com/gabime/spdlog/archive/refs/tags/v1.15.0.tar.gz
4-
source_filename = spdlog-1.15.0.tar.gz
5-
source_hash = 9962648c9b4f1a7bbc76fd8d9172555bad1871fdb14ff4f842ef87949682caa5
6-
patch_filename = spdlog_1.15.0-1_patch.zip
7-
patch_url = https://wrapdb.mesonbuild.com/v2/spdlog_1.15.0-1/get_patch
8-
patch_hash = 72bd578ff0eb4f5a84e5bd63ddc7b2ece84aad5abb516b54c8750306ae78df28
9-
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/spdlog_1.15.0-1/spdlog-1.15.0.tar.gz
10-
wrapdb_version = 1.15.0-1
2+
directory = spdlog-1.15.1
3+
source_url = https://github.com/gabime/spdlog/archive/refs/tags/v1.15.1.tar.gz
4+
source_filename = spdlog-1.15.1.tar.gz
5+
source_hash = 25c843860f039a1600f232c6eb9e01e6627f7d030a2ae5e232bdd3c9205d26cc
6+
patch_filename = spdlog_1.15.1-1_patch.zip
7+
patch_url = https://wrapdb.mesonbuild.com/v2/spdlog_1.15.1-1/get_patch
8+
patch_hash = 75a3787aeab73c3b7426197820d9cd92a4cdf0ea5c8bbb6701c0f55c66a0a6d0
9+
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/spdlog_1.15.1-1/spdlog-1.15.1.tar.gz
10+
wrapdb_version = 1.15.1-1
1111

1212
[provide]
1313
spdlog = spdlog_dep

tools/dependencies/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ if build_application
443443
else
444444
# TODO: create a proper installer for macOS : https://mesonbuild.com/Creating-OSX-packages.html
445445
error(
446-
'unsuported system for building the installer: '
446+
'unsupported system for building the installer: '
447447
+ host_machine.system(),
448448
)
449449

0 commit comments

Comments
 (0)