dev-cpp/glaze: drop ineffective USE=doc

also sorted DEPEND and shortened `usex`

Signed-off-by: Filip Kobierski <fkobi@pm.me>
Part-of: https://github.com/gentoo/gentoo/pull/42640
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Filip Kobierski
2025-06-17 14:00:59 +02:00
committed by Sam James
parent 4b7879ee9c
commit e32e7c8a1d
2 changed files with 5 additions and 6 deletions

View File

@@ -14,14 +14,14 @@ S="${WORKDIR}/glaze-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc examples fuzzing test"
IUSE="examples fuzzing test"
RESTRICT="!test? ( test )"
DEPEND="
test? (
dev-cpp/ut2-glaze
dev-cpp/asio
>=dev-cpp/eigen-3.4
dev-cpp/ut2-glaze
)
"
RDEPEND="${DEPEND}"
@@ -35,9 +35,9 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_SKIP_INSTALL_RULES=OFF
-Dglaze_DEVELOPER_MODE=ON
-Dglaze_ENABLE_FUZZING=$(usex fuzzing ON OFF)
-Dglaze_BUILD_EXAMPLES=$(usex examples ON OFF)
-DBUILD_TESTING=$(usex test ON OFF)
-Dglaze_ENABLE_FUZZING=$(usex fuzzing)
-Dglaze_BUILD_EXAMPLES=$(usex examples)
-DBUILD_TESTING=$(usex test)
)
cmake_src_configure

View File

@@ -14,7 +14,6 @@
</longdescription>
<use>
<flag name="fuzzing">Build fuzzers (not install)</flag>
<flag name="doc">Install README files</flag>
<flag name="examples">Build examples (not install)</flag>
</use>
<upstream>