Install this version:
emerge -a =dev-libs/cxx-rust-cssparser-1.0.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-libs/cxx-rust-cssparser-1.0.0
Or alternatively:
emerge --autounmask-write -a =dev-libs/cxx-rust-cssparser-1.0.0
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
"
RUST_MIN_VER="1.85.0"
# TODO: ECMGenerateQDoc
ECM_TEST="true"
# KDE_VERIFY_SIG=1
KFMIN=6.22.0
inherit cargo ecm flag-o-matic kde.org
DESCRIPTION="C++ library for parsing CSS that uses the Rust cssparser crate internally"
HOMEPAGE="https://invent.kde.org/libraries/cxx-rust-cssparser"
if [[ ${KDE_BUILD_TYPE} == release ]]; then
SRC_URI="mirror://kde/stable/${KDE_ORG_NAME}/${KDE_ORG_NAME}-${PV}.tar.xz"
# if [[ -n ${KDE_VERIFY_SIG} ]]; then
# SRC_URI+=" verify-sig? ( mirror://kde/stable/${KDE_ORG_NAME}/${KDE_ORG_NAME}-${PV}.tar.xz.sig )"
# fi
if [[ ${PKGBUMPING} != ${PVR} ]]; then
SRC_URI+=" https://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz"
fi
KEYWORDS="~amd64 ~x86"
fi
LICENSE="BSD-2 CC0-1.0 || ( LGPL-2.1 LGPL-3 )"
# Dependent crate licenses
LICENSE+=" Apache-2.0 MIT MPL-2.0 Unicode-3.0 ZLIB"
SLOT="0"
BDEPEND="dev-build/corrosion"
# bug 976796: necessary kde.org changes are not in ::gentoo yet
src_unpack() {
cargo_src_unpack
default
}
src_configure() {
# Rust extensions are incompatible with C/C++ LTO compiler see e.g.
# https://bugs.gentoo.org/910220
filter-lto
ecm_src_configure
}
| Mirror Name | URLs |
|---|---|
| kde |