commit: 13977a3f4388ae48d575e5ea9b9da1b62b0bd7e7 Author: David Roman <davidroman96 <AT> gmail <DOT> com> AuthorDate: Tue Mar 25 15:41:51 2025 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Tue Mar 25 16:33:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=13977a3f
dev-cpp/reflection-cpp: new package, add 0.1.0 Signed-off-by: David Roman <davidroman96 <AT> gmail.com> dev-cpp/reflection-cpp/Manifest | 1 + dev-cpp/reflection-cpp/metadata.xml | 11 ++++++++ dev-cpp/reflection-cpp/reflection-cpp-0.1.0.ebuild | 32 ++++++++++++++++++++++ 3 files changed, 44 insertions(+) diff --git a/dev-cpp/reflection-cpp/Manifest b/dev-cpp/reflection-cpp/Manifest new file mode 100644 index 000000000..79a1116e9 --- /dev/null +++ b/dev-cpp/reflection-cpp/Manifest @@ -0,0 +1 @@ +DIST reflection-cpp-0.1.0.tar.gz 17746 BLAKE2B aa472f84ea7aa941043b88aa8dde3c37058cf971a1f2e65f9c7c3ddea83bf9aed490a61d525fdadc3e5c66ca3d3737a0994d723d1d0b6e68adbafa0f2ecc6828 SHA512 fbc12b0e4aae206b6eff67d1e0aea7a49e7bfa4183070d708e7bfe70326af7e7e9f0ed0b350af92d2c0ee50c23c4e971e13e9d068bfb23972a417ac6cc828143 diff --git a/dev-cpp/reflection-cpp/metadata.xml b/dev-cpp/reflection-cpp/metadata.xml new file mode 100644 index 000000000..7554862fd --- /dev/null +++ b/dev-cpp/reflection-cpp/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>David Roman</name> + </maintainer> + <upstream> + <remote-id type="github">contour-terminal/reflection-cpp</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-cpp/reflection-cpp/reflection-cpp-0.1.0.ebuild b/dev-cpp/reflection-cpp/reflection-cpp-0.1.0.ebuild new file mode 100644 index 000000000..d75d58174 --- /dev/null +++ b/dev-cpp/reflection-cpp/reflection-cpp-0.1.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Boxing primitive types in C++" +HOMEPAGE="https://github.com/contour-terminal/reflection-cpp" +SRC_URI="https://github.com/contour-terminal/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + dev-cpp/catch:0 + ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DREFLECTION_TESTING=$(usex test) + ) + + cmake_src_configure +}
