commit:     a188f3a1695fef1368cca99ed9a6268d8c4c87c0
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 14 16:42:59 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Dec 14 17:03:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a188f3a1

dev-cpp/libxmlpp: add 5.4.0

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 dev-cpp/libxmlpp/Manifest              |  1 +
 dev-cpp/libxmlpp/libxmlpp-5.4.0.ebuild | 58 ++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/dev-cpp/libxmlpp/Manifest b/dev-cpp/libxmlpp/Manifest
index a4ea5830fee2..4b606471d70e 100644
--- a/dev-cpp/libxmlpp/Manifest
+++ b/dev-cpp/libxmlpp/Manifest
@@ -2,3 +2,4 @@ DIST libxml++-2.42.2.tar.xz 848924 BLAKE2B 
75c28447b41e50f1484a8670042af819f9061
 DIST libxml++-2.42.3.tar.xz 922400 BLAKE2B 
ce4538094b758f990418e1fe5f00e6b839ec82041983855d018c1ff94a3a21038f5d99456e8374aed552108a463c6481def6ac695626134dd5d514c7124c6568
 SHA512 
591d1a203a4c1bb2c27200322429ee68ed12e6ddfd9cb3168e50fb2382102ee113d70b66b485ccac0b4aabefa2ff567ccf813d35d3aa70251367bd07722bfb2a
 DIST libxml++-5.0.3.tar.xz 843720 BLAKE2B 
0c85171962c9637f71846a6a4914229f2ad6c60a0315743543526d78a33baf2e86f21eeef2279c8d51233d40fd059aad266c80c365decd587c5c54a303ad93a8
 SHA512 
418723a96f018fb8e332847d0ab601eda38c99d6be48c83b6cda6f07789e5ecac76bb417540e29d0abace2828a74eb1e08695ff2fc92ebf3e7458364547ef675
 DIST libxml++-5.0.4.tar.xz 896868 BLAKE2B 
71711163edb1c101700b4d2414ac8cb9f58116405c17bed23bef0abe664af82ddb2a4384b777bacc3035ea42177b8711ac81acb58460cd1bf4f35365a782b4e0
 SHA512 
449c624848b5b66b6a1a185f2486cb146bc3470e21dc0d6b56d6022ca521217e9f00e973f7085c04c64bfcd9491f16d1879e55f80996176ae62674f61acb9bd8
+DIST libxml++-5.4.0.tar.xz 887292 BLAKE2B 
7c6ca01092b29a67b35978c8bf0b359e7c8b1a7a96d5f561945844f1bffe510bec62a9c33949113a03819f51736361a26939387809ca88338c40549e9b11436c
 SHA512 
bba28edf40c60ac186ff1b704d9f4f41f73c1be3126cfb345005283b32bb5c9a596b8def64be8ad8e295e1e169bed91d120d5105cbbb6cecc4675d10b897dfe6

diff --git a/dev-cpp/libxmlpp/libxmlpp-5.4.0.ebuild 
b/dev-cpp/libxmlpp/libxmlpp-5.4.0.ebuild
new file mode 100644
index 000000000000..55a4b530eede
--- /dev/null
+++ b/dev-cpp/libxmlpp/libxmlpp-5.4.0.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
+
+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
+               -Dbuild-manual=false
+               $(meson_use test build-tests)
+               -Dmsvc14x-parallel-installable=false
+       )
+       meson_src_configure
+}

Reply via email to