commit:     90cb2de890a3be3272cc831f1421ca366d3f9d41
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 24 19:53:34 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 24 20:02:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90cb2de8

dev-cpp/libxmlpp: add 2.42.3

Bug: https://bugs.gentoo.org/939534
Closes: https://bugs.gentoo.org/931859
Closes: https://bugs.gentoo.org/948325
Signed-off-by: Sam James <sam <AT> gentoo.org>

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

diff --git a/dev-cpp/libxmlpp/Manifest b/dev-cpp/libxmlpp/Manifest
index ee7bd4532903..a4ea5830fee2 100644
--- a/dev-cpp/libxmlpp/Manifest
+++ b/dev-cpp/libxmlpp/Manifest
@@ -1,3 +1,4 @@
 DIST libxml++-2.42.2.tar.xz 848924 BLAKE2B 
75c28447b41e50f1484a8670042af819f90619acd36eaea3bf68ed197745836c3ede38c208a851e59a345cb2657989f569fd0129724916f87d90105ec3c0fc2c
 SHA512 
214da4c8120fedc96adf6ad965b65be9f4deb53d86f41667c236c52e1e3aace819fc61b096815879cc38aaf12ac77fbccb050088ce6bc3ff03030dcc81e4a8c9
+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

diff --git a/dev-cpp/libxmlpp/libxmlpp-2.42.3.ebuild 
b/dev-cpp/libxmlpp/libxmlpp-2.42.3.ebuild
new file mode 100644
index 000000000000..a82094867e6f
--- /dev/null
+++ b/dev-cpp/libxmlpp/libxmlpp-2.42.3.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
+}

Reply via email to