Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/libxmlpp/
Date: Sat, 31 Dec 2022 20:39:25
Message-Id: 1672519153.fda99862783d5c2c456dcc104f26b7cd886a79b3.mattst88@gentoo
1 commit: fda99862783d5c2c456dcc104f26b7cd886a79b3
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 31 20:03:43 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 31 20:39:13 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fda99862
7
8 dev-cpp/libxmlpp: Version bump to 5.0.2
9
10 Closes: https://bugs.gentoo.org/888898
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 dev-cpp/libxmlpp/Manifest | 1 +
14 dev-cpp/libxmlpp/libxmlpp-5.0.2.ebuild | 57 ++++++++++++++++++++++++++++++++++
15 2 files changed, 58 insertions(+)
16
17 diff --git a/dev-cpp/libxmlpp/Manifest b/dev-cpp/libxmlpp/Manifest
18 index 9332a6254298..c212cc3e893c 100644
19 --- a/dev-cpp/libxmlpp/Manifest
20 +++ b/dev-cpp/libxmlpp/Manifest
21 @@ -1,3 +1,4 @@
22 DIST libxml++-2.40.1.tar.xz 955220 BLAKE2B 44c55ab0e9018af859097e1a753c1457f5694b282f8f5187b32ce908d34f7953b8e73f1e41750ddf5f5c912712539e32f608a33ab79f22644e15010f75be6c51 SHA512 a4ec2e8182d981c57bdcb8f0a203a3161f8c735ceb59fd212408b7a539d1dc826adf6717bed8f4d544ab08afd9c2fc861efe518e24bbd3a1c4b158e2ca48183a
23 DIST libxml++-2.42.2.tar.xz 848924 BLAKE2B 75c28447b41e50f1484a8670042af819f90619acd36eaea3bf68ed197745836c3ede38c208a851e59a345cb2657989f569fd0129724916f87d90105ec3c0fc2c SHA512 214da4c8120fedc96adf6ad965b65be9f4deb53d86f41667c236c52e1e3aace819fc61b096815879cc38aaf12ac77fbccb050088ce6bc3ff03030dcc81e4a8c9
24 DIST libxml++-3.0.1.tar.xz 948796 BLAKE2B cdfa37f3aebdd8109653c50d6e977a443173fe4ff18b3644a030bba065c7ced01bedc98a273ab3a8def73f78efd2458afd16ec68df9f9109b816527383904025 SHA512 9b8ccea9df11d70bb23d7d9983b18d28c648aa0107f9654a79d1cfe97db4633b69dd4b97b76d155aca8553d014a314247851f18d0371717e44a056ee804ccd95
25 +DIST libxml++-5.0.2.tar.xz 796484 BLAKE2B 57809c52ab38c359b453515805fff9631c1c7614f313fe8234384fa485c08a166dad66dad0c3caabc8c8698111c6702e568f73472269855c5290956e9d130bdb SHA512 f0fc0d2e2bc14eeefb9d4a6bec661a2377a60874c877cdddaadadce1d22e5186516a37587fc67ed570858e1871164e30535b779fd2fac12475ef6fdfcc2e3469
26
27 diff --git a/dev-cpp/libxmlpp/libxmlpp-5.0.2.ebuild b/dev-cpp/libxmlpp/libxmlpp-5.0.2.ebuild
28 new file mode 100644
29 index 000000000000..7a9d793a15d0
30 --- /dev/null
31 +++ b/dev-cpp/libxmlpp/libxmlpp-5.0.2.ebuild
32 @@ -0,0 +1,57 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +GNOME_ORG_MODULE="${PN/pp/++}"
38 +
39 +inherit gnome2 meson
40 +
41 +DESCRIPTION="C++ wrapper for the libxml2 XML parser library"
42 +HOMEPAGE="http://libxmlplusplus.sourceforge.net/"
43 +
44 +LICENSE="LGPL-2.1"
45 +SLOT="5.0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
47 +IUSE="doc test"
48 +RESTRICT="!test? ( test )"
49 +
50 +RDEPEND="
51 + >=dev-libs/libxml2-2.7.7
52 +"
53 +DEPEND="${RDEPEND}"
54 +BDEPEND="
55 + virtual/pkgconfig
56 + doc? (
57 + dev-cpp/mm-common
58 + app-doc/doxygen
59 + media-gfx/graphviz
60 + dev-libs/libxslt
61 + )
62 +"
63 +
64 +src_prepare() {
65 + default
66 +
67 + sed -i \
68 + -e "/install_docdir = /s/'doc'/'gtk-doc'/" \
69 + docs/reference/meson.build || die
70 + sed -i \
71 + -e "/install_tutorialdir = /s/'doc'/'gtk-doc'/" \
72 + docs/manual/meson.build || die
73 +}
74 +
75 +src_configure() {
76 + local emesonargs=(
77 + -Dmaintainer-mode=false
78 + -Dwarnings=min
79 + -Ddist-warnings=max
80 + -Dbuild-deprecated-api=true
81 + $(meson_use doc build-documentation)
82 + -Dvalidation=false
83 + -Dbuild-pdf=false
84 + -Dbuild-examples=false
85 + $(meson_use test build-tests)
86 + -Dmsvc14x-parallel-installable=false
87 + )
88 + meson_src_configure
89 +}