Files
gentoo/dev-cpp/glaze/glaze-8.1.0.ebuild
Adel KARA SLIMANE d9b4fe0ea6 dev-cpp/glaze: add 8.1.0
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
Part-of: https://github.com/gentoo/gentoo/pull/46358
Closes: https://github.com/gentoo/gentoo/pull/46358
Signed-off-by: Sam James <sam@gentoo.org>
2026-09-16 00:48:43 +01:00

42 lines
837 B
Bash

# 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}"
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
}