summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Joandet <gjoandet@gmail.com>2023-03-22 10:48:31 -0300
committerMatt Turner <mattst88@gentoo.org>2023-03-22 10:58:23 -0400
commit402ce3e6288e3ed52a381f555a4b053c6879cb24 (patch)
tree1af1f254ac0c93542e281f68ce728c85649ef4a0 /dev-cpp/libxmlpp
parentdev-util/gdbus-codegen: Version bump to 2.76.1 (diff)
downloadgentoo-402ce3e6288e3ed52a381f555a4b053c6879cb24.tar.gz
gentoo-402ce3e6288e3ed52a381f555a4b053c6879cb24.tar.bz2
gentoo-402ce3e6288e3ed52a381f555a4b053c6879cb24.zip
dev-cpp/libxmlpp: Version bump to 5.0.3
Signed-off-by: Guillermo Joandet <gjoandet@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/30304 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-cpp/libxmlpp')
-rw-r--r--dev-cpp/libxmlpp/Manifest1
-rw-r--r--dev-cpp/libxmlpp/libxmlpp-5.0.3.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-cpp/libxmlpp/Manifest b/dev-cpp/libxmlpp/Manifest
index d83e33a35e99..d65dcea1ec68 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.2.tar.xz 796484 BLAKE2B 57809c52ab38c359b453515805fff9631c1c7614f313fe8234384fa485c08a166dad66dad0c3caabc8c8698111c6702e568f73472269855c5290956e9d130bdb SHA512 f0fc0d2e2bc14eeefb9d4a6bec661a2377a60874c877cdddaadadce1d22e5186516a37587fc67ed570858e1871164e30535b779fd2fac12475ef6fdfcc2e3469
+DIST libxml++-5.0.3.tar.xz 843720 BLAKE2B 0c85171962c9637f71846a6a4914229f2ad6c60a0315743543526d78a33baf2e86f21eeef2279c8d51233d40fd059aad266c80c365decd587c5c54a303ad93a8 SHA512 418723a96f018fb8e332847d0ab601eda38c99d6be48c83b6cda6f07789e5ecac76bb417540e29d0abace2828a74eb1e08695ff2fc92ebf3e7458364547ef675
diff --git a/dev-cpp/libxmlpp/libxmlpp-5.0.3.ebuild b/dev-cpp/libxmlpp/libxmlpp-5.0.3.ebuild
new file mode 100644
index 000000000000..49fe9c91a7cb
--- /dev/null
+++ b/dev-cpp/libxmlpp/libxmlpp-5.0.3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2023 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 ~mips ~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
+}