From 40a960e586ffe32b0be97060d218cacdf34bba61 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Tue, 19 Dec 2023 19:12:08 +0000 Subject: Adding metadata --- dev-cpp/magic_enum/magic_enum-0.9.5.ebuild | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 dev-cpp/magic_enum/magic_enum-0.9.5.ebuild (limited to 'dev-cpp/magic_enum/magic_enum-0.9.5.ebuild') diff --git a/dev-cpp/magic_enum/magic_enum-0.9.5.ebuild b/dev-cpp/magic_enum/magic_enum-0.9.5.ebuild new file mode 100644 index 000000000000..5f296a7e36f2 --- /dev/null +++ b/dev-cpp/magic_enum/magic_enum-0.9.5.ebuild @@ -0,0 +1,27 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# As of 0.8.2, it has meson, but only for subproject use(?) +# Doesn't install anything. +inherit cmake + +DESCRIPTION="Static reflection for enums in header-only C++" +HOMEPAGE="https://github.com/Neargye/magic_enum" +SRC_URI="https://github.com/Neargye/magic_enum/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + -DMAGIC_ENUM_OPT_BUILD_TESTS=$(usex test) + -DMAGIC_ENUM_OPT_INSTALL=ON + ) + + cmake_src_configure +} -- cgit v1.3