add wraps
This commit is contained in:
parent
c8b097febb
commit
e1bfdecc42
21
meson.build
21
meson.build
|
@ -7,7 +7,7 @@ if (libtype != 'static')
|
|||
endif
|
||||
|
||||
add_global_arguments('-DCONFIG_BIGNUM', language : 'c')
|
||||
add_global_arguments('-DCP_USE_DOUBLES=0', language : 'c')
|
||||
add_global_arguments('-DCP_USE_DOUBLES=0', language : 'c') # option for chipmunk physics
|
||||
|
||||
add_project_arguments('-Wno-implicit-function-declaration', language: 'c')
|
||||
add_project_arguments('-Wno-incompatible-function-pointer-types', language: 'c')
|
||||
|
@ -38,14 +38,15 @@ if host_machine.system() == 'windows'
|
|||
endforeach
|
||||
endif
|
||||
|
||||
quickjs = dependency('quickjs', fallback:['quickjs', 'quickjs_dep'], static:true)
|
||||
enet = dependency('qjs-enet', fallback:['qjs-enet', 'enet_dep'],static:true)
|
||||
layout = dependency('qjs-layout', fallback:['qjs-layout', 'qjs_layout_dep'],static:true)
|
||||
nota = dependency('qjs-nota', fallback:['qjs-nota', 'dep'],static:true)
|
||||
steam = dependency('qjs-steam', fallback:['qjs-steam', 'dep'],static:true)
|
||||
chipmunk2d = dependency('qjs-chipmunk2d', fallback:['qjs-chipmunk2d', 'qjs_chipmunk2d_dep'],static:true)
|
||||
miniz = dependency('qjs-miniz', fallback:['qjs-miniz', 'qjs_miniz_dep'],static:true)
|
||||
soloud = dependency('qjs-soloud', fallback:['qjs-soloud', 'qjs_soloud_dep'],static:true)
|
||||
deps = []
|
||||
deps += dependency('quickjs', static:true)
|
||||
deps += dependency('qjs-enet',static:true)
|
||||
deps += dependency('qjs-layout',static:true)
|
||||
deps += dependency('qjs-nota',static:true)
|
||||
#steam = dependency('qjs-steam',static:true)
|
||||
deps += dependency('qjs-chipmunk',static:true)
|
||||
deps += dependency('qjs-miniz',static:true)
|
||||
deps += dependency('qjs-soloud',static:true)
|
||||
|
||||
sources = []
|
||||
src = ['anim.c', 'config.c', 'datastream.c','font.c','gameobject.c','qjs_imgui.cpp','HandmadeMath.c','input.c', 'jsffi.c','log.c','miniz.c','model.c','render.c','script.c','resources.c','simplex.c','spline.c','texture.c', 'timer.c', 'transform.c','warp.c','window.c','yugine.c']
|
||||
|
@ -91,6 +92,6 @@ core = custom_target('core_bundle',
|
|||
)
|
||||
|
||||
prosperon = executable('prosperon', sources,
|
||||
dependencies: deps + [quickjs, enet, layout, nota, steam, chipmunk2d, miniz, soloud],
|
||||
dependencies: deps + [quickjs, enet, layout, nota, chipmunk2d, miniz, soloud],
|
||||
include_directories: includers
|
||||
)
|
||||
|
|
13
subprojects/chipmunk.wrap
Normal file
13
subprojects/chipmunk.wrap
Normal file
|
@ -0,0 +1,13 @@
|
|||
[wrap-file]
|
||||
directory = Chipmunk2D-Chipmunk-7.0.3
|
||||
source_url = https://github.com/slembcke/Chipmunk2D/archive/Chipmunk-7.0.3.tar.gz
|
||||
source_filename = Chipmunk2D-Chipmunk-7.0.3.tar.gz
|
||||
source_hash = 1e6f093812d6130e45bdf4cb80280cb3c93d1e1833d8cf989d554d7963b7899a
|
||||
patch_filename = chipmunk_7.0.3-1_patch.zip
|
||||
patch_url = https://wrapdb.mesonbuild.com/v2/chipmunk_7.0.3-1/get_patch
|
||||
patch_hash = 90e5e1be7712812cd303974910c37e7c4f2d2c8060312521b3a7995daa54f66a
|
||||
wrapdb_version = 7.0.3-1
|
||||
|
||||
[provide]
|
||||
chipmunk = chipmunk_dep
|
||||
|
13
subprojects/enet.wrap
Normal file
13
subprojects/enet.wrap
Normal file
|
@ -0,0 +1,13 @@
|
|||
[wrap-file]
|
||||
directory = enet-1.3.17
|
||||
source_url = http://enet.bespin.org/download/enet-1.3.17.tar.gz
|
||||
source_filename = enet-1.3.17.tar.gz
|
||||
source_hash = a38f0f194555d558533b8b15c0c478e946310022d0ec7b34334e19e4574dcedc
|
||||
patch_filename = enet_1.3.17-2_patch.zip
|
||||
patch_url = https://wrapdb.mesonbuild.com/v2/enet_1.3.17-2/get_patch
|
||||
patch_hash = ecafa5c354d3b512c0296121d6be6f39b8a99c286be375f60e94fe097ac401c2
|
||||
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/enet_1.3.17-2/enet-1.3.17.tar.gz
|
||||
wrapdb_version = 1.3.17-2
|
||||
|
||||
[provide]
|
||||
enet = enet_dep
|
14
subprojects/miniz.wrap
Normal file
14
subprojects/miniz.wrap
Normal file
|
@ -0,0 +1,14 @@
|
|||
[wrap-file]
|
||||
directory = miniz-3.0.2
|
||||
lead_directory_missing = true
|
||||
source_url = https://github.com/richgel999/miniz/releases/download/3.0.2/miniz-3.0.2.zip
|
||||
source_filename = miniz-3.0.2.zip
|
||||
source_hash = ada38db0b703a56d3dd6d57bf84a9c5d664921d870d8fea4db153979fb5332c5
|
||||
patch_filename = miniz_3.0.2-1_patch.zip
|
||||
patch_url = https://wrapdb.mesonbuild.com/v2/miniz_3.0.2-1/get_patch
|
||||
patch_hash = 3faf465a60b2b5625b5f61fd15bd27544a69e7ce96ed546128f33f37c3e516bb
|
||||
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/miniz_3.0.2-1/miniz-3.0.2.zip
|
||||
wrapdb_version = 3.0.2-1
|
||||
|
||||
[provide]
|
||||
miniz = miniz_dep
|
7
subprojects/qjs-chipmunk2d.wrap
Normal file
7
subprojects/qjs-chipmunk2d.wrap
Normal file
|
@ -0,0 +1,7 @@
|
|||
[wrap-git]
|
||||
url = https://github.com/johnalanbrook/qjs-chipmunk2d.git
|
||||
revision = head
|
||||
depth = 1
|
||||
|
||||
[provide]
|
||||
qjs-chipmunk = qjs_chipmunk_dep
|
7
subprojects/qjs-enet.wrap
Normal file
7
subprojects/qjs-enet.wrap
Normal file
|
@ -0,0 +1,7 @@
|
|||
[wrap-git]
|
||||
url = https://github.com/johnalanbrook/qjs-enet.git
|
||||
revision = head
|
||||
depth = 1
|
||||
|
||||
[provide]
|
||||
qjs-enet = qjs_enet_dep
|
7
subprojects/qjs-layout.wrap
Normal file
7
subprojects/qjs-layout.wrap
Normal file
|
@ -0,0 +1,7 @@
|
|||
[wrap-git]
|
||||
url = https://github.com/johnalanbrook/qjs-layout.git
|
||||
revision = head
|
||||
depth = 1
|
||||
|
||||
[provide]
|
||||
qjs-layout = qjs_layout_dep
|
7
subprojects/qjs-miniz.wrap
Normal file
7
subprojects/qjs-miniz.wrap
Normal file
|
@ -0,0 +1,7 @@
|
|||
[wrap-git]
|
||||
url = https://github.com/johnalanbrook/qjs-miniz.git
|
||||
revision = head
|
||||
depth = 1
|
||||
|
||||
[provide]
|
||||
qjs-miniz = qjs_miniz_dep
|
7
subprojects/qjs-nota.wrap
Normal file
7
subprojects/qjs-nota.wrap
Normal file
|
@ -0,0 +1,7 @@
|
|||
[wrap-git]
|
||||
url = https://github.com/johnalanbrook/cnota.git
|
||||
revision = head
|
||||
depth = 1
|
||||
|
||||
[provide]
|
||||
qjs-nota = qjs_nota_dep
|
7
subprojects/qjs-soloud.wrap
Normal file
7
subprojects/qjs-soloud.wrap
Normal file
|
@ -0,0 +1,7 @@
|
|||
[wrap-git]
|
||||
url = https://github.com/johnalanbrook/qjs-soloud.git
|
||||
revision = head
|
||||
depth = 1
|
||||
|
||||
[provide]
|
||||
qjs-soloud = qjs_soloud_dep
|
7
subprojects/qjs-steam.wrap
Normal file
7
subprojects/qjs-steam.wrap
Normal file
|
@ -0,0 +1,7 @@
|
|||
[wrap-git]
|
||||
url = https://github.com/johnalanbrook/qjs-steam.git
|
||||
revision = head
|
||||
depth = 1
|
||||
|
||||
[provide]
|
||||
qjs-steam = qjs_steam_dep
|
8
subprojects/quickjs.wrap
Normal file
8
subprojects/quickjs.wrap
Normal file
|
@ -0,0 +1,8 @@
|
|||
[wrap-git]
|
||||
url = https://github.com/johnalanbrook/quickjs.git
|
||||
revision = head
|
||||
depth = 1
|
||||
|
||||
[provide]
|
||||
quickjs = quickjs_dep
|
||||
|
7
subprojects/soloud.wrap
Normal file
7
subprojects/soloud.wrap
Normal file
|
@ -0,0 +1,7 @@
|
|||
[wrap-git]
|
||||
url = https://github.com/johnalanbrook/soloud.git
|
||||
revision = head
|
||||
depth = 1
|
||||
|
||||
[provide]
|
||||
soloud = soloud_dep
|
Loading…
Reference in a new issue