diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-17 14:07:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-17 14:07:47 +0000 |
commit | 7c9730bcb62df7cbf8248c5db9a478aac52c60ea (patch) | |
tree | 3521ee333c83fb6c7ff14d0a0a2d742464e88767 /dev-libs/castxml | |
parent | 29394d0921808a94a409f01eff49f681651de5d5 (diff) |
gentoo auto-resync : 17:02:2023 - 14:07:46
Diffstat (limited to 'dev-libs/castxml')
-rw-r--r-- | dev-libs/castxml/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/castxml/castxml-0.5.1-r1.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/castxml/Manifest b/dev-libs/castxml/Manifest index e5fa293d0134..4e0410f8e562 100644 --- a/dev-libs/castxml/Manifest +++ b/dev-libs/castxml/Manifest @@ -2,5 +2,6 @@ AUX castxml-fix-tests.patch 950 BLAKE2B b4161b47cc611abaa6b62b7b657149854f505a72 DIST castxml-0.4.5.tar.gz 104158 BLAKE2B 7d1642442d6908a7d7e1dd8f80a37b55ec8652191c4c93faf7f45601d730653d9b0e5af601f74aca7bce8579c0006eab0e9a2a75752abe2acbec1cfbf1522645 SHA512 c35c5d60dc7487d5dddba34de92590122db8457659458ee4e735fe9936dc59473bd31ed602e05e73651780f25a55ef5554e2daec0923ffb5a7575904320f5352 DIST castxml-0.5.1.tar.gz 106918 BLAKE2B 9268f149ea5a511d24cbbd0c7faec5bff5eade5a511961d3bb120409691bf2b8aca7f2978e048a759419c097d9d97219a61a122bd37d4f835c1d86827bfb07e3 SHA512 1dff8f5cc6932a159e1132c0b283a28414ea6007c942cac4ae15a1c31789f5bd29efd65a6b5b63d7bc48b3d68c3550804f31bee2658e51082269fc5ecc15590e EBUILD castxml-0.4.5.ebuild 868 BLAKE2B fffd6a76827b614afa0ba0d509a4ce662a685e4a96fa18c12f5347a4cdee9c52f6687b7c5e840b7d179da19baa77ff7bed0c34086ca3933832d08696d379fe47 SHA512 e877e50c7116eb6a30fb077c51eb9c2417c3d0402fa12a2141c8e495978bba430d08ede309a52c99849e6a14a6b88e998c1b3b034a8a7ed32552960cf8a7d5d8 +EBUILD castxml-0.5.1-r1.ebuild 1049 BLAKE2B fd8c7184990cb16b03c430a01238734913a2675ec515ca951fc82ee7792fce660997e0d3785f3d31afe81a3d299d98419e9c052946d7e05f4a6d52b3c3bfa971 SHA512 0a802416045c343174131c71e086859e5dce04c04d8fff44b348d7baf2ef94e2f03d16f87f64d9a9bc9cb41c34bf6a04438a20a25fa96a644b8db6393c5cb45d EBUILD castxml-0.5.1.ebuild 868 BLAKE2B fffd6a76827b614afa0ba0d509a4ce662a685e4a96fa18c12f5347a4cdee9c52f6687b7c5e840b7d179da19baa77ff7bed0c34086ca3933832d08696d379fe47 SHA512 e877e50c7116eb6a30fb077c51eb9c2417c3d0402fa12a2141c8e495978bba430d08ede309a52c99849e6a14a6b88e998c1b3b034a8a7ed32552960cf8a7d5d8 MISC metadata.xml 423 BLAKE2B 27d86ef69d8bc39f4fc0a3d22a39b7be7e788b750d0c4b5e5bc3dac6166a4e4bb3569155c9d6e975e8b4aff23b68a33052c5255535dcabd1437838102e8dfdad SHA512 893ec7780b4964297cd62c034cd6029b857dca11315a8ddc623aabf2555b2297e5979240276467676950e3e895315a5cdd49536e5f0909d3eb10960feb81b4ca diff --git a/dev-libs/castxml/castxml-0.5.1-r1.ebuild b/dev-libs/castxml/castxml-0.5.1-r1.ebuild new file mode 100644 index 000000000000..e8addf5bbe5e --- /dev/null +++ b/dev-libs/castxml/castxml-0.5.1-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_MAX_SLOT=15 +inherit cmake llvm + +DESCRIPTION="C-family abstract syntax tree XML output tool" +HOMEPAGE="https://github.com/CastXML/CastXML" +SRC_URI="https://github.com/CastXML/CastXML/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/CastXML-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~riscv ~x86" +IUSE="+man test" +RESTRICT="!test? ( test )" + +# See comment in llvm.eclass for why we don't depend on LLVM if we already +# depend on Clang. +RDEPEND=" + <sys-devel/clang-$((LLVM_MAX_SLOT + 1)):= +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${RDEPEND} + man? ( dev-python/sphinx ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-fix-tests.patch +) + +llvm_check_deps() { + has_version "sys-devel/clang:${LLVM_SLOT}" +} + +src_configure() { + local mycmakeargs=( + -DCastXML_INSTALL_DOC_DIR="share/doc/${P}" + -DCastXML_INSTALL_MAN_DIR="share/man" + -DSPHINX_MAN="$(usex man)" + -DSPHINX_HTML=OFF + -DBUILD_TESTING="$(usex test)" + ) + cmake_src_configure +} |