Install this version:
emerge -a =dev-cpp/libxmlpp-5.6.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-cpp/libxmlpp-5.6.1
Or alternatively:
emerge --autounmask-write -a =dev-cpp/libxmlpp-5.6.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 5.6.1 | 8 | ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 | 5.0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2 meson
DESCRIPTION="C++ wrapper for the libxml2 XML parser library"
HOMEPAGE="https://libxmlplusplus.github.io/libxmlplusplus/"
SRC_URI="https://github.com/libxmlplusplus/libxmlplusplus/releases/download/${PV}/${P/pp/++}.tar.xz"
S="${WORKDIR}/${P/pp/++}"
LICENSE="LGPL-2.1"
SLOT="5.0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="doc test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/libxml2-2.7.7:2=
"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
doc? (
dev-cpp/mm-common
app-text/doxygen
media-gfx/graphviz
dev-libs/libxslt
)
"
src_prepare() {
default
sed -i \
-e "/install_docdir = /s/'doc'/'gtk-doc'/" \
docs/reference/meson.build || die
sed -i \
-e "/install_tutorialdir = /s/'doc'/'gtk-doc'/" \
docs/manual/meson.build || die
}
src_configure() {
local emesonargs=(
-Dmaintainer-mode=false
-Dwarnings=min
-Ddist-warnings=max
-Dbuild-deprecated-api=true
$(meson_use doc build-documentation)
-Dvalidation=false
-Dbuild-pdf=false
-Dbuild-examples=false
-Dbuild-manual=false
$(meson_use test build-tests)
-Dmsvc14x-parallel-installable=false
)
meson_src_configure
}
Manage flags for this package:
euse -i <flag> -p dev-cpp/libxmlpp |
euse -E <flag> -p dev-cpp/libxmlpp |
euse -D <flag> -p dev-cpp/libxmlpp
>=dev-libs/libxml2-2.7.7:2=
>=dev-libs/libxml2-2.7.7:2=
virtual/pkgconfig doc? ( dev-cpp/mm-common app-text/doxygen media-gfx/graphviz dev-libs/libxslt )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | libxml++-5.6.1.tar.xz | 836624 bytes | https://github.com/libxmlplusplus/libxmlplusplus/releases/download/5.6.1/libxml++-5.6.1.tar.xz |