diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-22 18:43:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-22 18:43:12 +0000 |
commit | 5d09fc9f5630bcabb50afc96e20ff662a0771440 (patch) | |
tree | e63c874a4e2b6316833ac048632bb64f88c10d5f /dev-cpp/libxmlpp/libxmlpp-5.0.3.ebuild | |
parent | 0db63353439ccde38447ea44cc8f16793d443f88 (diff) |
gentoo auto-resync : 22:03:2023 - 18:43:12
Diffstat (limited to 'dev-cpp/libxmlpp/libxmlpp-5.0.3.ebuild')
-rw-r--r-- | dev-cpp/libxmlpp/libxmlpp-5.0.3.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
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 +} |