Install this version:
emerge -a =dev-libs/quickjs-ng-0.18.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-libs/quickjs-ng-0.18.0
Or alternatively:
emerge --autounmask-write -a =dev-libs/quickjs-ng-0.18.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.18.0 | 8 | ~amd64 | 0/$(ver_cut 1) |
# 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"
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
}
Manage flags for this package:
euse -i <flag> -p dev-libs/quickjs-ng |
euse -E <flag> -p dev-libs/quickjs-ng |
euse -D <flag> -p dev-libs/quickjs-ng
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | quickjs-ng-0.18.0.tar.gz | 910210 bytes | https://github.com/quickjs-ng/quickjs/archive/refs/tags/v0.18.0.tar.gz |