diff options
Diffstat (limited to 'dev-cpp/libxmlpp')
-rw-r--r-- | dev-cpp/libxmlpp/Manifest | 1 | ||||
-rw-r--r-- | dev-cpp/libxmlpp/libxmlpp-2.42.2.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-cpp/libxmlpp/Manifest b/dev-cpp/libxmlpp/Manifest index 1737afb5645e..9332a6254298 100644 --- a/dev-cpp/libxmlpp/Manifest +++ b/dev-cpp/libxmlpp/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-cpp/libxmlpp/libxmlpp-2.42.2.ebuild b/dev-cpp/libxmlpp/libxmlpp-2.42.2.ebuild new file mode 100644 index 000000000000..f373c399cec4 --- /dev/null +++ b/dev-cpp/libxmlpp/libxmlpp-2.42.2.ebuild @@ -0,0 +1,58 @@ +# 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-multilib + +DESCRIPTION="C++ wrapper for the libxml2 XML parser library" +HOMEPAGE="http://libxmlplusplus.sourceforge.net/" + +LICENSE="LGPL-2.1" +SLOT="2.6" +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[${MULTILIB_USEDEP}] + >=dev-cpp/glibmm-2.32.0:2[${MULTILIB_USEDEP}] +" +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 +} + +multilib_src_configure() { + local emesonargs=( + -Dmaintainer-mode=false + -Dwarnings=min + -Ddist-warnings=max + -Dbuild-deprecated-api=true + $(meson_native_use_bool doc build-documentation) + -Dvalidation=false + -Dbuild-pdf=false + -Dbuild-examples=false + $(meson_use test build-tests) + -Dmsvc14x-parallel-installable=false + ) + meson_src_configure +} |