Skip to content

Commit

Permalink
[mediasoup-worker] Require C++17, Meson >= 1.1.0 and update subprojec…
Browse files Browse the repository at this point in the history
…ts (#1081)
  • Loading branch information
ibc authored May 17, 2023
1 parent b425fe0 commit 07827b4
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 23 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changelog


### NEXT

* `Worker`: Require C++17, Meson >= 1.1.0 and update subprojects ([PR #1081](https://github.com/versatica/mediasoup/pull/1081)).


### 3.11.24

* `SeqManager`: Fix performance regression ([PR #1068](https://github.com/versatica/mediasoup/pull/1068), thanks to @vpalmisano for properly reporting).
Expand Down
2 changes: 1 addition & 1 deletion worker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ PIP_DIR = $(MEDIASOUP_OUT_DIR)/pip
INSTALL_DIR ?= $(MEDIASOUP_OUT_DIR)/$(MEDIASOUP_BUILDTYPE)
BUILD_DIR ?= $(INSTALL_DIR)/build
MESON ?= $(PIP_DIR)/bin/meson
MESON_VERSION ?= 0.61.5
MESON_VERSION ?= 1.1.0
# `MESON_ARGS` can be used to provide extra configuration parameters to Meson,
# such as adding defines or changing optimization options. For instance, use
# `MESON_ARGS="-Dms_log_trace=true -Dms_log_file_line=true" npm i` to compile
Expand Down
4 changes: 2 additions & 2 deletions worker/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ project(
['c', 'cpp'],
default_options : [
'warning_level=1',
'cpp_std=c++11',
'cpp_std=c++17',
'default_library=static',
],
meson_version: '>= 0.58',
meson_version: '>= 1.1.0',
)

cpp_args = [
Expand Down
16 changes: 8 additions & 8 deletions worker/subprojects/abseil-cpp.wrap
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[wrap-file]
directory = abseil-cpp-20211102.0
source_url = https://github.com/abseil/abseil-cpp/archive/20211102.0.tar.gz
source_filename = abseil-cpp-20211102.0.tar.gz
source_hash = dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4
patch_filename = abseil-cpp_20211102.0-2_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/abseil-cpp_20211102.0-2/get_patch
patch_hash = 9463930367b0db984435350c7d7614e400faa8811a7e9a2def5a63ff39fdb325
directory = abseil-cpp-20220623.0
source_url = https://github.com/abseil/abseil-cpp/archive/20220623.0.tar.gz
source_filename = abseil-cpp-20220623.0.tar.gz
source_hash = 4208129b49006089ba1d6710845a45e31c59b0ab6bff9e5788a87f55c5abd602
patch_filename = abseil-cpp_20220623.0-2_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/abseil-cpp_20220623.0-2/get_patch
patch_hash = d19cb16610d9310658a815ebcd87a9e2966aafbd57964341c0d1a3a3778c03b6
wrapdb_version = 20220623.0-2

[provide]
absl_base = absl_base_dep
Expand All @@ -20,4 +21,3 @@ absl_strings = absl_strings_dep
absl_synchronization = absl_synchronization_dep
absl_time = absl_time_dep
absl_types = absl_types_dep

9 changes: 5 additions & 4 deletions worker/subprojects/libuv.wrap
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ directory = libuv-v1.44.2
source_url = https://dist.libuv.org/dist/v1.44.2/libuv-v1.44.2.tar.gz
source_filename = libuv-v1.44.2.tar.gz
source_hash = ccfcdc968c55673c6526d8270a9c8655a806ea92468afcbcabc2b16040f03cb4
patch_filename = libuv_1.44.2-1_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/libuv_1.44.2-1/get_patch
patch_hash = c77f6104cffd53f697c3030fccbfd5cc684b59772e8f24529b01908ee27bd751
wrapdb_version = 1.44.2-1
patch_filename = libuv_1.44.2-2_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/libuv_1.44.2-2/get_patch
patch_hash = 12a0850e1c925811f54bb022339d3105afaed8bc006b197351006c9c841f06ce
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/libuv_1.44.2-2/libuv-v1.44.2.tar.gz
wrapdb_version = 1.44.2-2

[provide]
libuv = libuv_dep
17 changes: 9 additions & 8 deletions worker/subprojects/openssl.wrap
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[wrap-file]
directory = openssl-3.0.7
source_url = https://www.openssl.org/source/openssl-3.0.7.tar.gz
source_filename = openssl-3.0.72.tar.gz
source_hash = 83049d042a260e696f62406ac5c08bf706fd84383f945cf21bd61e9ed95c396e
patch_filename = openssl_3.0.7-1_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/openssl_3.0.7-1/get_patch
patch_hash = 8f04d911dc22d1dddc6a192ab27d6d8275976a252bd9c73e09f95f1f927e42b5
wrapdb_version = 3.0.7-1
directory = openssl-3.0.8
source_url = https://www.openssl.org/source/openssl-3.0.8.tar.gz
source_filename = openssl-3.0.8.tar.gz
source_hash = 6c13d2bf38fdf31eac3ce2a347073673f5d63263398f1f69d0df4a41253e4b3e
patch_filename = openssl_3.0.8-1_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/openssl_3.0.8-1/get_patch
patch_hash = 12d9c884174a91ccd1aa9230e9567c019f8a582ce46c98736f99a5200b4f2514
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/openssl_3.0.8-1/openssl-3.0.8.tar.gz
wrapdb_version = 3.0.8-1

[provide]
libcrypto = libcrypto_dep
Expand Down

0 comments on commit 07827b4

Please sign in to comment.