gentoo/dev-cpp/libxmlpp/libxmlpp-5.0.3-r1.ebuild
Arthur Zamarin 0ad96e879b
*/*: destable sparc
Result of running the command:
 grep --include="*.ebuild" -r . -e 'KEYWORDS=.*[" ]sparc' -l | xargs ekeyword ~sparc

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-09-02 20:00:14 +03:00

58 lines
1.2 KiB
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
GNOME_ORG_MODULE="${PN/pp/++}"
inherit gnome2 meson
DESCRIPTION="C++ wrapper for the libxml2 XML parser library"
HOMEPAGE="https://libxmlplusplus.sourceforge.net/"
LICENSE="LGPL-2.1"
SLOT="5.0"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/libxml2-2.7.7:=
"
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
$(meson_use test build-tests)
-Dmsvc14x-parallel-installable=false
)
meson_src_configure
}