commit: 0655120620aa95b4e2a465f6d73cb77ed8a83071 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Jun 24 19:35:20 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Jun 24 20:02:41 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06551206
dev-cpp/libxmlpp: add 5.0.4 Bug: https://bugs.gentoo.org/931859 Bug: https://bugs.gentoo.org/948325 Closes: https://bugs.gentoo.org/939534 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-cpp/libxmlpp/Manifest | 1 + dev-cpp/libxmlpp/libxmlpp-5.0.4.ebuild | 57 ++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-cpp/libxmlpp/Manifest b/dev-cpp/libxmlpp/Manifest index a5dac479567c..ee7bd4532903 100644 --- a/dev-cpp/libxmlpp/Manifest +++ b/dev-cpp/libxmlpp/Manifest @@ -1,2 +1,3 @@ DIST libxml++-2.42.2.tar.xz 848924 BLAKE2B 75c28447b41e50f1484a8670042af819f90619acd36eaea3bf68ed197745836c3ede38c208a851e59a345cb2657989f569fd0129724916f87d90105ec3c0fc2c SHA512 214da4c8120fedc96adf6ad965b65be9f4deb53d86f41667c236c52e1e3aace819fc61b096815879cc38aaf12ac77fbccb050088ce6bc3ff03030dcc81e4a8c9 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-5.0.4.ebuild b/dev-cpp/libxmlpp/libxmlpp-5.0.4.ebuild new file mode 100644 index 000000000000..4aa8016b6189 --- /dev/null +++ b/dev-cpp/libxmlpp/libxmlpp-5.0.4.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 +}
