dev-libs/quickjs-ng: add 0.16.2

Bug: https://bugs.gentoo.org/977371
Bug: https://bugs.gentoo.org/982157
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2026-09-13 22:45:18 +02:00
parent fc6b3fe307
commit 1c6dbb7d7f
2 changed files with 40 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST quickjs-ng-0.14.0.tar.gz 824003 BLAKE2B 79b1c8744b72a8364958c8cc3fe48a490e48f7c89a80d91e32c348c4289750a57e6c71f28ff8e8920963b02d29b7e3b07365cdafbbad82df2fbaebf4f4cd3a26 SHA512 a6679a61da1ad232afb59e6c997106f9909084b853c3c615b2410681c4272071a69fcad213374bec60fa3187569de874daa6d6bfcc2cd6e47ca5a0d978d63392
DIST quickjs-ng-0.16.2.tar.gz 901847 BLAKE2B 4572c4c18b20f4b3a91cea7299aaeb0036a489e95820dbc42d670048170698f55ca5513a9e01b17a26d398e8ac738d172fdd123c53f428b487db3eda347a6192 SHA512 477b44986c2430c2e17c997c8bb04b1802bee03739ab8be1837771642c543ae4ac0a782598b9645f9959299ced3039e4fab2ad5c4458d76171675146a2e8bce4

View File

@@ -0,0 +1,39 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="QuickJS, the Next Generation: a mighty JavaScript engine"
HOMEPAGE="https://github.com/quickjs-ng/quickjs"
SRC_URI="
https://github.com/quickjs-ng/quickjs/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
"
MY_PN="quickjs"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0/$(ver_cut 1)"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
src_configure() {
local emesonargs=(
-Ddefault_library=shared # default_library=static hardcoded.
-Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
"$(meson_feature test tests)"
-Dlibc=true
-Dexamples=disabled
)
meson_src_configure
}
src_install() {
# Source code files under examples.
docompress -x "/usr/share/doc/${PF}/examples"
meson_src_install
}