[gentoo-commits] repo/gentoo:master commit in: dev-util/wasm3/
commit: 7fb3a58a392a84bc577f602352d3350e2896805c Author: Maciej Barć gentoo org> AuthorDate: Mon Mar 4 00:22:34 2024 + Commit: Maciej Barć gentoo org> CommitDate: Mon Mar 4 01:03:30 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fb3a58a dev-util/wasm3: filter lto and strict-aliasing Closes: https://bugs.gentoo.org/925933 Signed-off-by: Maciej Barć gentoo.org> dev-util/wasm3/wasm3-0.5.0.ebuild | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-util/wasm3/wasm3-0.5.0.ebuild b/dev-util/wasm3/wasm3-0.5.0.ebuild index 316033c51925..8ebb505db465 100644 --- a/dev-util/wasm3/wasm3-0.5.0.ebuild +++ b/dev-util/wasm3/wasm3-0.5.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake +inherit cmake flag-o-matic DESCRIPTION="A fast WebAssembly interpreter and the most universal WASM runtime" HOMEPAGE="https://github.com/wasm3/wasm3/; @@ -25,6 +25,10 @@ SLOT="0" 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 )
[gentoo-commits] repo/gentoo:master commit in: dev-util/wasm3/
commit: d1126590f92e4fe49c6e03dbb37df948cac457c0 Author: Maciej Barć gentoo org> AuthorDate: Mon Feb 5 11:24:27 2024 + Commit: Maciej Barć gentoo org> CommitDate: Mon Feb 5 11:28:32 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1126590 dev-util/wasm3: new package; add 0.5.0 Signed-off-by: Maciej Barć gentoo.org> dev-util/wasm3/Manifest | 1 + dev-util/wasm3/metadata.xml | 13 + dev-util/wasm3/wasm3-0.5.0.ebuild | 39 +++ 3 files changed, 53 insertions(+) diff --git a/dev-util/wasm3/Manifest b/dev-util/wasm3/Manifest new file mode 100644 index ..ebb17b046c3a --- /dev/null +++ b/dev-util/wasm3/Manifest @@ -0,0 +1 @@ +DIST wasm3-0.5.0.tar.gz 2582080 BLAKE2B 5ae9fd2aa295cec6a737fa6a56f35ce85a5443dc7b517b019a14bfc30110f3eec7a2421c31905c980694e5017ec6852450c7773e92d4f67fd7af4d41f1de84ed SHA512 87d29f942ef9a93faeb4085f1fc7ae8c274a7bd528ccaaf56a273815c524e43c96635acd6b59ee607d5d0c383c1d1358d09080a0d1a23cf1dcaedcab6c56d39e diff --git a/dev-util/wasm3/metadata.xml b/dev-util/wasm3/metadata.xml new file mode 100644 index ..30cd34ad07ab --- /dev/null +++ b/dev-util/wasm3/metadata.xml @@ -0,0 +1,13 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + +x...@gentoo.org +Maciej Barć + + +https://github.com/wasm3/wasm3/issues/ +wasm3/wasm3 + + diff --git a/dev-util/wasm3/wasm3-0.5.0.ebuild b/dev-util/wasm3/wasm3-0.5.0.ebuild new file mode 100644 index ..316033c51925 --- /dev/null +++ b/dev-util/wasm3/wasm3-0.5.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="A fast WebAssembly interpreter and the most universal WASM runtime" +HOMEPAGE="https://github.com/wasm3/wasm3/; + +if [[ "${PV}" == ** ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git; +else + SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" + +DOCS=( README.md docs ) + +src_configure() { + local -a mycmakeargs=( + -DBUILD_WASI=simple + ) + + cmake_src_configure +} + +src_install() { + dobin "${BUILD_DIR}/wasm3" + + einstalldocs +}