Install this version:
emerge -a =dev-cpp/glaze-8.1.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-cpp/glaze-8.1.0
Or alternatively:
emerge --autounmask-write -a =dev-cpp/glaze-8.1.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 8.1.0 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Extremely fast, in memory, JSON and interface library for modern C++"
HOMEPAGE="https://github.com/stephenberry/glaze"
SRC_URI="
https://github.com/stephenberry/glaze/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
"
S="${WORKDIR}/glaze-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="examples fuzzing test"
RESTRICT="!test? ( test )"
DEPEND="
test? (
dev-cpp/asio
>=dev-cpp/eigen-3.4:=
>=dev-cpp/ut2-glaze-1.2.1
)
"
RDEPEND="${DEPEND}"
# Unbundle test dependencies otherwise they are fetched from github at build time
PATCHES=(
"${FILESDIR}/${P}-unbundle-test-deps.patch"
)
src_configure() {
local mycmakeargs=(
-DCMAKE_SKIP_INSTALL_RULES=OFF
-Dglaze_DEVELOPER_MODE=ON
-Dglaze_ENABLE_FUZZING=$(usex fuzzing)
-Dglaze_BUILD_EXAMPLES=$(usex examples)
-DBUILD_TESTING=$(usex test)
)
cmake_src_configure
}
Manage flags for this package:
euse -i <flag> -p dev-cpp/glaze |
euse -E <flag> -p dev-cpp/glaze |
euse -D <flag> -p dev-cpp/glaze
test? ( dev-cpp/asio >=dev-cpp/eigen-3.4:= >=dev-cpp/ut2-glaze-1.2.1 )
test? ( dev-cpp/asio >=dev-cpp/eigen-3.4:= >=dev-cpp/ut2-glaze-1.2.1 )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | glaze-8.1.0.tar.gz | 2088152 bytes | https://github.com/stephenberry/glaze/archive/refs/tags/v8.1.0.tar.gz |