dev-libs/quickjs-ng - 0.14.0 (gentoo)

Search

Install

Install this version:

emerge -a =dev-libs/quickjs-ng-0.14.0

Package Information

Description:
QuickJS, the Next Generation: a mighty JavaScript engine
Homepage:
https://github.com/quickjs-ng/quickjs
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.14.0 8 amd64 arm64 ~x86 0/$(ver_cut 1)
View Raw Ebuild
# 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 arm64 ~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
}

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Manifest for 0.14.0

Type File Size Source URLs
DIST quickjs-ng-0.14.0.tar.gz 824003 bytes https://github.com/quickjs-ng/quickjs/archive/refs/tags/v0.14.0.tar.gz