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@gentoo.org>
This commit is contained in:
Sam James
2025-06-24 20:35:20 +01:00
parent e66ecdd1b3
commit 0655120620
2 changed files with 58 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}