mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-util/wasm3: bump to 0.9.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST wasm3-0.5.0.tar.gz 2582080 BLAKE2B 5ae9fd2aa295cec6a737fa6a56f35ce85a5443dc7b517b019a14bfc30110f3eec7a2421c31905c980694e5017ec6852450c7773e92d4f67fd7af4d41f1de84ed SHA512 87d29f942ef9a93faeb4085f1fc7ae8c274a7bd528ccaaf56a273815c524e43c96635acd6b59ee607d5d0c383c1d1358d09080a0d1a23cf1dcaedcab6c56d39e
|
||||
DIST wasm3-0.9.0.gh.tar.gz 2656936 BLAKE2B 20f020fad146208b2b13be237903bca6f4836472684d6f8a5ab0da6e97196c99a76ca30fdcc4f6526e5fcc94105143e34e00d0e29f4be35daf21bb5f1591a143 SHA512 b9147df542d9b46cf8a20542829d9b5b9e81bfee498de957d6607c6b7aaeefbca404e1469a2c32bc0cac31dee2f0243b2c19f3d8353e535c2857bdb7d01188d2
|
||||
|
||||
40
dev-util/wasm3/wasm3-0.9.0.ebuild
Normal file
40
dev-util/wasm3/wasm3-0.9.0.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake flag-o-matic
|
||||
|
||||
DESCRIPTION="A fast WebAssembly interpreter and the most universal WASM runtime"
|
||||
HOMEPAGE="https://github.com/wasm3/wasm3/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/${PN}/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
PATCHES=( "${FILESDIR}/wasm3-0.5.0-cmake_minimum.patch" )
|
||||
DOCS=( README.md docs )
|
||||
|
||||
src_configure() {
|
||||
# bug https://bugs.gentoo.org/925933
|
||||
filter-lto
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
local -a mycmakeargs=(
|
||||
-DBUILD_WASI="simple"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${BUILD_DIR}/wasm3"
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user