1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-27 20:44:10 +00:00

enabled meson build

This commit is contained in:
Falk Werner 2020-06-06 15:07:25 +02:00
parent d9f460043b
commit 180329d1d2
5 changed files with 40 additions and 2 deletions

5
.gitignore vendored
View File

@ -1,3 +1,4 @@
/build/
/.deps/
/.vscode/
/.vscode/
/subprojects/*
!/subprojects/*.wrap

15
meson.build Normal file
View File

@ -0,0 +1,15 @@
project('webfuse-provider', version: '0.1.0', license: 'LGPL-3.0+')
webfuse_provider_dep = dependency('webfuse_provider', version: '>=0.3.0',
fallback: ['webfuse', 'webfuse_provider_dep'], default_options: ['without_adapter=true'])
executable('webfuse-provider',
'src/main.c',
dependencies: [webfuse_provider_dep])
executable('static-filesystem-provider',
'src/static_filesystem/static_filesystem.c',
'src/static_filesystem/path.c',
'src/static_filesystem/main.c',
dependencies: [webfuse_provider_dep])

10
subprojects/jansson.wrap Normal file
View File

@ -0,0 +1,10 @@
[wrap-file]
directory = jansson-2.11
source_url = http://www.digip.org/jansson/releases/jansson-2.11.tar.bz2
source_filename = jansson-2.11.tar.bz2
source_hash = 783132e2fc970feefc2fa54199ef65ee020bd8e0e991a78ea44b8586353a0947
patch_url = https://wrapdb.mesonbuild.com/v1/projects/jansson/2.11/3/get_zip
patch_filename = jansson-2.11-3-wrap.zip
patch_hash = 0bcac510994890048d42658c674e33dd7d88715fc1e3bf49d10012f57b0e0020

View File

@ -0,0 +1,6 @@
[wrap-file]
directory = libwebsockets-4.0.13
source_url = https://github.com/warmcat/libwebsockets/archive/v4.0.13.zip
source_filename = v4.0.13.zip
source_hash = 0914ea3fdec496daf6b6a5c00f7ba1b52eb8cc3d55b66685df92920b232fd7a5

6
subprojects/webfuse.wrap Normal file
View File

@ -0,0 +1,6 @@
[wrap-file]
directory = webfuse-0.3.1
source_url = https://github.com/falk-werner/webfuse/archive/v0.3.1.tar.gz
source_filename = v0.3.1.tar.gz
source_hash = 46624b5f29e8f87dd1aebfce3b13ca87e766bc59546b6e5f49665d2f8c555d62