From c431a44e3cfa102e5ef2c9d6bbac48e28c9b15cb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 20 Aug 2024 12:25:59 +0100 Subject: gentoo auto-resync : 20:08:2024 - 12:25:59 --- dev-libs/castxml/Manifest | 2 ++ dev-libs/castxml/castxml-0.6.8.ebuild | 62 +++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 dev-libs/castxml/castxml-0.6.8.ebuild (limited to 'dev-libs/castxml') diff --git a/dev-libs/castxml/Manifest b/dev-libs/castxml/Manifest index db121f4747c4..878b1a599db4 100644 --- a/dev-libs/castxml/Manifest +++ b/dev-libs/castxml/Manifest @@ -1,3 +1,5 @@ DIST CastXML-0.6.7.tar.gz 122608 BLAKE2B 04d10c34131fac97382fe33b1cfd8e65d62ce1339cb8eb253d867500f777346f352dfb9ff061c8e18be961ea9b7aeb86aef1d9c35d8f7e78687124e560bef435 SHA512 31acd05e15e44f64a92c47bbef13115d26e17488a111e5b2bb32bf6191c4555e8f7e380489ab9d6e52060285e25088f41253ba46f4eb95b6ec11e5c63412442f +DIST CastXML-0.6.8.tar.gz 122609 BLAKE2B 3266535a2f08e4aa3c344f2d26cb0b98ba5d3736036ba95face5a603bbc9547a53647892e1f11cf748d954c556bec2099a734a9b9e566254186e9765c0410413 SHA512 7645286ef7fe89ebd1d582a289f9446a96f9aa6db89539314cc2a77bd005ca203d0346f5b4f7d14b83baefc41e0a2a8e55585b429985777cff6c3c0ffc1ef6ce EBUILD castxml-0.6.7.ebuild 1186 BLAKE2B 0c8a6330f8a6ecf3d328fc1b88693d3ef425b0ef8d23434864eac0e36958e85d0a71226bda33283956ba9ca0261d99f58ab71a68911818aaacb2e3b628439420 SHA512 07c2ea36fe3523b1a361619f30459b2ec9b0908f3255b34f209048388c5f2236577c3367f6cf8d775785325d0c4bed68a74d5b053899f337ff4d3008ef6a0b88 +EBUILD castxml-0.6.8.ebuild 1187 BLAKE2B 6dac0c95865b2beeaf172091fde3ab9d57f5c9a0c714d2e0e8c697552101a7c38ed973ade0948da740857c14073b2ea290864a8c432743af4ac6b1fd5ec4a203 SHA512 67a101468e82bd12fdec2f35bd004aa1393e40f3f23c4a6061dd07e0cde92b46d409cb09d2f66f718c9f87e7e321c24bac9cfaacabdec031becd651f871b7b90 MISC metadata.xml 593 BLAKE2B dd9a10d726b1d46a88ca87601f17372ad6a10e8cd3ad6a7463c0aa7753dc7103694ac5d3120fc009cfcd3ddcfd4290d1ddd61763018addf1639520eaca493396 SHA512 5b01620d07eb9d11894a599515e70ea8d61862c4bdeae85aa2965801c26cde2b32461ba6c52b3019ae80cb05b975806bca302b6d01f7f51bd94a500dc13c77a2 diff --git a/dev-libs/castxml/castxml-0.6.8.ebuild b/dev-libs/castxml/castxml-0.6.8.ebuild new file mode 100644 index 000000000000..894410252a94 --- /dev/null +++ b/dev-libs/castxml/castxml-0.6.8.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( {17..19} ) + +inherit cmake llvm-r1 + +MY_P=CastXML-${PV} +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 + -> ${MY_P}.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~riscv ~x86" +IUSE="+man test" +RESTRICT="!test? ( test )" + +DEPEND=" + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT}= + ') +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + man? ( dev-python/sphinx ) +" + +src_configure() { + local mycmakeargs=( + -DCastXML_INSTALL_DOC_DIR="share/doc/${PF}" + -DCastXML_INSTALL_MAN_DIR="share/man" + -DSPHINX_MAN="$(usex man)" + -DSPHINX_HTML=OFF + -DBUILD_TESTING="$(usex test)" + ) + cmake_src_configure +} + +src_test() { + local CMAKE_SKIP_TESTS=( + # Regex doesn't match the full build path + cmd.input-missing + cmd.rsp-missing + + # Gets confused by extra #defines we set for hardening etc (bug #891813) + cmd.cc-gnu-src-cxx-E + cmd.cc-gnu-src-cxx-cmd + cmd.cc-gnu-c-src-c-E + cmd.cc-gnu-c-src-c-cmd + ) + + cmake_src_test +} -- cgit v1.2.3