wasmtime: update to 0.24.0.

This commit is contained in:
Isaac Freund 2021-03-16 01:22:11 +01:00 committed by Érico Nogueira Rolim
parent 6b27986d2a
commit 0675051a59

View file

@ -1,6 +1,6 @@
# Template file for 'wasmtime'
pkgname=wasmtime
version=0.22.1
version=0.24.0
revision=1
archs="x86_64* i686* aarch64*"
build_style=cargo
@ -8,17 +8,20 @@ short_desc="Standalone JIT-style runtime for WebAssembly, using Cranelift"
maintainer="Isaac Freund <ifreund@ifreund.xyz>"
license="Apache-2.0"
homepage="https://github.com/bytecodealliance/wasmtime"
_spec_testsuite_commit=35c50bf6fbb002cfdc1227b0af731bdcaf877714
_wasm_c_api_commit=d9a80099d496b5cdba6f3fe8fc77586e0e505ddc
_WASI_commit=71f042514728e425a9b1b251c7f6daaa44301f4a
_spec_testsuite_commit=9994915e0cca8b42a16c577e4c85491822367dde
_wasm_c_api_commit=c9d31284651b975f05ac27cee0bab1377560b87e
_WASI_commit=ef8c1a53feb2dfb763d4ea5c7d9e0a0126b45579
_wasi_crypto_commit=1f3078088bd0de36a0bc96859a1724e7d338a832
distfiles="${homepage}/archive/v${version}.tar.gz
https://github.com/WebAssembly/testsuite/archive/${_spec_testsuite_commit}.tar.gz
https://github.com/WebAssembly/wasm-c-api/archive/${_wasm_c_api_commit}.tar.gz
https://github.com/WebAssembly/WASI/archive/${_WASI_commit}.tar.gz"
checksum="b0587e3297398e221d0e48c01b89788958fde729eec519ad30656ac4ba98d18d
81e22e03b5fcc40706e7adc616479a3312afec10922f028cd576c308341e2641
aea8cd095e9937f1e14f2c93e026317b197eb2345e7a817fe3932062eb7b792c
7496df0d28398229f511aba624ddfcf924a1e046e189cac93d4ea53483206e0e"
https://github.com/WebAssembly/WASI/archive/${_WASI_commit}.tar.gz
https://github.com/WebAssembly/wasi-crypto/archive/${_wasi_crypto_commit}.tar.gz"
checksum="30369a05b0fd64f8c70528e2d158f71d4b93d22cb8ea3a92a29fa1ebda64ba70
baf8a7f68ddd21fb7ad255acc765391c972c12f3857af8e9a979342b160e6a5a
c774044f51431429e878bd1b9e2a4e38932f861f9211df72f75e9427eb6b8d32
1527f437df282a98b1c708ba7848835a0bbc252d78ae8f9f90b384ce20462e7a
a5f791d6c5a025869b4d9512a9f98e6befacf3124135e492182df57297fb227a"
case ${XBPS_TARGET_MACHINE} in
aarch64-musl)
@ -35,8 +38,10 @@ pre_configure() {
rmdir tests/spec_testsuite
rmdir crates/c-api/wasm-c-api
rmdir crates/wasi-common/WASI
rmdir crates/wasi-crypto/spec
mv -v ../testsuite-${_spec_testsuite_commit} tests/spec_testsuite
mv -v ../wasm-c-api-${_wasm_c_api_commit} crates/c-api/wasm-c-api
mv -v ../WASI-${_WASI_commit} crates/wasi-common/WASI
mv -v ../wasi-crypto-${_wasi_crypto_commit} crates/wasi-crypto/spec
}