summaryrefslogtreecommitdiff
path: root/dev-cpp/libxmlpp/libxmlpp-5.0.3-r1.ebuild
diff options
context:
space:
mode:
authorAlfred Wingate <parona@protonmail.com>2025-05-03 16:47:07 +0300
committerSam James <sam@gentoo.org>2025-06-09 04:09:39 +0100
commit9a5aa74c29f7836c6f55d4ea67258a14dee1fa92 (patch)
tree84394872099b9a43259776b18c9e1b1a2e9f5ddc /dev-cpp/libxmlpp/libxmlpp-5.0.3-r1.ebuild
parent64c2854478531572d2137723997ace05b862dead (diff)
downloadgentoo-9a5aa74c29f7836c6f55d4ea67258a14dee1fa92.tar.gz
gentoo-9a5aa74c29f7836c6f55d4ea67258a14dee1fa92.tar.bz2
gentoo-9a5aa74c29f7836c6f55d4ea67258a14dee1fa92.zip
dev-cpp/libxmlpp: add dev-libs/libxml2 subslot op for incoming ABI break
Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41919 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/libxmlpp/libxmlpp-5.0.3-r1.ebuild')
-rw-r--r--dev-cpp/libxmlpp/libxmlpp-5.0.3-r1.ebuild57
1 files changed, 57 insertions, 0 deletions
diff --git a/dev-cpp/libxmlpp/libxmlpp-5.0.3-r1.ebuild b/dev-cpp/libxmlpp/libxmlpp-5.0.3-r1.ebuild
new file mode 100644
index 000000000000..caa5739eab73
--- /dev/null
+++ b/dev-cpp/libxmlpp/libxmlpp-5.0.3-r1.ebuild
@@ -0,0 +1,57 @@
+# 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="http://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
+}