diff options
Diffstat (limited to 'dev-cpp/libxmlpp/libxmlpp-2.42.2-r1.ebuild')
| -rw-r--r-- | dev-cpp/libxmlpp/libxmlpp-2.42.2-r1.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/dev-cpp/libxmlpp/libxmlpp-2.42.2-r1.ebuild b/dev-cpp/libxmlpp/libxmlpp-2.42.2-r1.ebuild new file mode 100644 index 000000000000..2c4bcf287ad8 --- /dev/null +++ b/dev-cpp/libxmlpp/libxmlpp-2.42.2-r1.ebuild @@ -0,0 +1,58 @@ +# 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-multilib + +DESCRIPTION="C++ wrapper for the libxml2 XML parser library" +HOMEPAGE="http://libxmlplusplus.sourceforge.net/" + +LICENSE="LGPL-2.1" +SLOT="2.6" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/libxml2-2.7.7:=[${MULTILIB_USEDEP}] + >=dev-cpp/glibmm-2.32.0:2[${MULTILIB_USEDEP}] +" +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 +} + +multilib_src_configure() { + local emesonargs=( + -Dmaintainer-mode=false + -Dwarnings=min + -Ddist-warnings=max + -Dbuild-deprecated-api=true + $(meson_native_use_bool doc build-documentation) + -Dvalidation=false + -Dbuild-pdf=false + -Dbuild-examples=false + $(meson_use test build-tests) + -Dmsvc14x-parallel-installable=false + ) + meson_src_configure +} |
