diff --git a/deps.sh b/deps.sh index 1cd49bf..ffc5298 100644 --- a/deps.sh +++ b/deps.sh @@ -6,9 +6,9 @@ libfuse_MD5=5f7c1062def710d8b60343524a18cc82 libfuse_DIR=libfuse-fuse-${libfuse_VERSION} libfuse_TYPE=meson -lws_VERSION=3.2.0 +lws_VERSION=4.0.13 lws_URL=https://github.com/warmcat/libwebsockets/archive/v${lws_VERSION}.tar.gz -lws_MD5=1d06f5602604e67e6f50cef9857c6b0c +lws_MD5=6403448e26d302501969afb0e128143b lws_DIR=libwebsockets-${lws_VERSION} lws_TYPE=cmake diff --git a/doc/build.md b/doc/build.md index 8f4fc45..baf39ef 100644 --- a/doc/build.md +++ b/doc/build.md @@ -12,7 +12,7 @@ To install dependecies, see below. - [webfuse](https://github.com/falk-werner/webfuse) - [libfuse](https://github.com/libfuse/libfuse/) - [libwebsockets](https://libwebsockets.org/) - - [jansson](https://github.com/akheron/jansson) +- [jansson](https://github.com/akheron/jansson) - [openssl](https://www.openssl.org/) - [libconfig](https://hyperrealm.github.io/libconfig/) - [linux-pam](http://www.linux-pam.org/) @@ -37,9 +37,9 @@ To install libfuse, meson is needed. Please refer to [meson quick guide](https:/ ### libwebsockets - wget https://github.com/warmcat/libwebsockets/archive/v3.2.0.tar.gz -O libwebsockets.tar.gz + wget https://github.com/warmcat/libwebsockets/archive/v4.0.13.tar.gz -O libwebsockets.tar.gz tar -xf libwebsockets.tar.gz - cd libwebsockets-3.2.0 + cd libwebsockets-4.0.13 mkdir .build cd .build cmake .. diff --git a/meson.build b/meson.build index 74595f4..8dc0a25 100644 --- a/meson.build +++ b/meson.build @@ -8,7 +8,7 @@ openssl_dep = dependency('openssl', version: '>=1.1.1') libconfig_dep = dependency('libconfig', version: '>=1.5') pam_dep = c_compiler.find_library('pam') -libwebsockets_dep = dependency('libwebsockets', version: '>=3.0.0') +libwebsockets_dep = dependency('libwebsockets', version: '>=4.0.0') jansson_dep = dependency('jansson', version: '>=2.11') libfuse_dep = dependency('fuse3', version: '>=3.8.0')