summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2022-12-31 15:03:43 -0500
committerMatt Turner <mattst88@gentoo.org>2022-12-31 15:39:13 -0500
commitfda99862783d5c2c456dcc104f26b7cd886a79b3 (patch)
tree9a740e0c16344b227831fa442006a154bc15b768 /dev-cpp
parentdev-cpp/libxmlpp: Version bump to 2.42.2 (diff)
downloadgentoo-fda99862783d5c2c456dcc104f26b7cd886a79b3.tar.gz
gentoo-fda99862783d5c2c456dcc104f26b7cd886a79b3.tar.bz2
gentoo-fda99862783d5c2c456dcc104f26b7cd886a79b3.zip
dev-cpp/libxmlpp: Version bump to 5.0.2
Closes: https://bugs.gentoo.org/888898 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/libxmlpp/Manifest1
-rw-r--r--dev-cpp/libxmlpp/libxmlpp-5.0.2.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-cpp/libxmlpp/Manifest b/dev-cpp/libxmlpp/Manifest
index 9332a6254298..c212cc3e893c 100644
--- a/dev-cpp/libxmlpp/Manifest
+++ b/dev-cpp/libxmlpp/Manifest
@@ -1,3 +1,4 @@
DIST libxml++-2.40.1.tar.xz 955220 BLAKE2B 44c55ab0e9018af859097e1a753c1457f5694b282f8f5187b32ce908d34f7953b8e73f1e41750ddf5f5c912712539e32f608a33ab79f22644e15010f75be6c51 SHA512 a4ec2e8182d981c57bdcb8f0a203a3161f8c735ceb59fd212408b7a539d1dc826adf6717bed8f4d544ab08afd9c2fc861efe518e24bbd3a1c4b158e2ca48183a
DIST libxml++-2.42.2.tar.xz 848924 BLAKE2B 75c28447b41e50f1484a8670042af819f90619acd36eaea3bf68ed197745836c3ede38c208a851e59a345cb2657989f569fd0129724916f87d90105ec3c0fc2c SHA512 214da4c8120fedc96adf6ad965b65be9f4deb53d86f41667c236c52e1e3aace819fc61b096815879cc38aaf12ac77fbccb050088ce6bc3ff03030dcc81e4a8c9
DIST libxml++-3.0.1.tar.xz 948796 BLAKE2B cdfa37f3aebdd8109653c50d6e977a443173fe4ff18b3644a030bba065c7ced01bedc98a273ab3a8def73f78efd2458afd16ec68df9f9109b816527383904025 SHA512 9b8ccea9df11d70bb23d7d9983b18d28c648aa0107f9654a79d1cfe97db4633b69dd4b97b76d155aca8553d014a314247851f18d0371717e44a056ee804ccd95
+DIST libxml++-5.0.2.tar.xz 796484 BLAKE2B 57809c52ab38c359b453515805fff9631c1c7614f313fe8234384fa485c08a166dad66dad0c3caabc8c8698111c6702e568f73472269855c5290956e9d130bdb SHA512 f0fc0d2e2bc14eeefb9d4a6bec661a2377a60874c877cdddaadadce1d22e5186516a37587fc67ed570858e1871164e30535b779fd2fac12475ef6fdfcc2e3469
diff --git a/dev-cpp/libxmlpp/libxmlpp-5.0.2.ebuild b/dev-cpp/libxmlpp/libxmlpp-5.0.2.ebuild
new file mode 100644
index 000000000000..7a9d793a15d0
--- /dev/null
+++ b/dev-cpp/libxmlpp/libxmlpp-5.0.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 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 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-libs/libxml2-2.7.7
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ doc? (
+ dev-cpp/mm-common
+ app-doc/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
+}