Install this version:
emerge -a =dev-cpp/string-view-lite-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-cpp/string-view-lite-9999
Or alternatively:
emerge --autounmask-write -a =dev-cpp/string-view-lite-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake git-r3
DESCRIPTION="A single-file header-only version of a C++17-like string_view"
HOMEPAGE="https://github.com/martinmoene/string-view-lite"
EGIT_REPO_URI="https://github.com/martinmoene/${PN}.git"
LICENSE="BSD-1"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
-DSTRING_VIEW_LITE_OPT_BUILD_TESTS="$(usex test)"
)
cmake_src_configure
}
Manage flags for this package:
euse -i <flag> -p dev-cpp/string-view-lite |
euse -E <flag> -p dev-cpp/string-view-lite |
euse -D <flag> -p dev-cpp/string-view-lite