build(meson): bump libuv to 1.48.0 (#314)
This commit is contained in:
parent
204e31d481
commit
a4436b746e
@ -104,8 +104,7 @@ libraries are compiled through `CMake`.
|
|||||||
## Meson
|
## Meson
|
||||||
|
|
||||||
You can use `uvw` with [meson](https://mesonbuild.com/) by simply adding it to
|
You can use `uvw` with [meson](https://mesonbuild.com/) by simply adding it to
|
||||||
your `subprojects` directory in your project. Currently, `uvw` is not available
|
your `subprojects` directory in your project.
|
||||||
with `meson wrap`, but this will change with the release of `uvw` 3.4.x.
|
|
||||||
|
|
||||||
To compile `uvw` from source without using it as a subproject, in the `uvw`
|
To compile `uvw` from source without using it as a subproject, in the `uvw`
|
||||||
source directory, run:
|
source directory, run:
|
||||||
|
|||||||
@ -6,7 +6,7 @@ project(
|
|||||||
default_options: ['cpp_std=c++17'],
|
default_options: ['cpp_std=c++17'],
|
||||||
)
|
)
|
||||||
|
|
||||||
libuv_dep = dependency('libuv', version: '1.46.0')
|
libuv_dep = dependency('libuv', version: '1.48.0', required: true)
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
'src/uvw/async.cpp',
|
'src/uvw/async.cpp',
|
||||||
@ -35,7 +35,8 @@ sources = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
uvw_lib = library(
|
uvw_lib = library(
|
||||||
'uvw', sources,
|
'uvw',
|
||||||
|
sources,
|
||||||
include_directories: 'src',
|
include_directories: 'src',
|
||||||
dependencies: [libuv_dep],
|
dependencies: [libuv_dep],
|
||||||
cpp_args: ['-DUVW_AS_LIB'],
|
cpp_args: ['-DUVW_AS_LIB'],
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
[wrap-file]
|
[wrap-file]
|
||||||
directory = libuv-v1.46.0
|
directory = libuv-v1.48.0
|
||||||
source_url = https://dist.libuv.org/dist/v1.46.0/libuv-v1.46.0.tar.gz
|
source_url = https://dist.libuv.org/dist/v1.48.0/libuv-v1.48.0.tar.gz
|
||||||
source_filename = libuv-v1.46.0.tar.gz
|
source_filename = libuv-v1.48.0.tar.gz
|
||||||
source_hash = 111f83958b9fdc65f1489195d25f342b9f7a3e683140c60e62c00fbaccddddce
|
source_hash = 7f1db8ac368d89d1baf163bac1ea5fe5120697a73910c8ae6b2fffb3551d59fb
|
||||||
patch_filename = libuv_1.46.0-1_patch.zip
|
patch_filename = libuv_1.48.0-1_patch.zip
|
||||||
patch_url = https://wrapdb.mesonbuild.com/v2/libuv_1.46.0-1/get_patch
|
patch_url = https://wrapdb.mesonbuild.com/v2/libuv_1.48.0-1/get_patch
|
||||||
patch_hash = 41b1834129f13efcb4a94a137335eb85fe0662509010c157617954d2feb20ac8
|
patch_hash = 27b18917c914a5d6dfb459073710e9bfb6b2962d69d4e0bad5bc7b1173482be7
|
||||||
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/libuv_1.46.0-1/libuv-v1.46.0.tar.gz
|
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/libuv_1.48.0-1/libuv-v1.48.0.tar.gz
|
||||||
wrapdb_version = 1.46.0-1
|
wrapdb_version = 1.48.0-1
|
||||||
|
|
||||||
[provide]
|
[provide]
|
||||||
libuv = libuv_dep
|
libuv = libuv_dep
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user