From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/magic_enum/
Date: Sun, 8 Jan 2023 04:55:17 +0000 (UTC) [thread overview]
Message-ID: <1673153707.f76d6ead4ed5c973823443edbd1e7f3ec32dd94d.sam@gentoo> (raw)
commit: f76d6ead4ed5c973823443edbd1e7f3ec32dd94d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 8 04:21:36 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 8 04:55:07 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f76d6ead
dev-cpp/magic_enum: new package, add 0.8.2
Needed for games-strategy/ja2-stracciatella in future, possibly. I packaged
this given I thought it was required but ended up finding it was toggled
on unnecessarily.
It's cheap to build and it's likely it'll be needed in future, so..
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-cpp/magic_enum/Manifest | 1 +
dev-cpp/magic_enum/magic_enum-0.8.2.ebuild | 28 ++++++++++++++++++++++++++++
dev-cpp/magic_enum/metadata.xml | 11 +++++++++++
3 files changed, 40 insertions(+)
diff --git a/dev-cpp/magic_enum/Manifest b/dev-cpp/magic_enum/Manifest
new file mode 100644
index 000000000000..f363ac357209
--- /dev/null
+++ b/dev-cpp/magic_enum/Manifest
@@ -0,0 +1 @@
+DIST magic_enum-0.8.2.tar.gz 171915 BLAKE2B e8915aa7cafa9407d5d4ab3b6837fafde6b1cb75877c8b56f82568e6291ca317720950947b2dfc7e12ca459279ba4e809a8c5782fc04adc2d7636eddcb80122d SHA512 849c426484156faf91dde3f32f6c755c7698879b16dd83e13fb86b299b53ec9bbe4d55267581386302c8acb93d80ec044cc248371fdc8608cdd8f4ab12099f0a
diff --git a/dev-cpp/magic_enum/magic_enum-0.8.2.ebuild b/dev-cpp/magic_enum/magic_enum-0.8.2.ebuild
new file mode 100644
index 000000000000..df1937ee496b
--- /dev/null
+++ b/dev-cpp/magic_enum/magic_enum-0.8.2.ebuild
@@ -0,0 +1,28 @@
+# 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"
+IUSE="test"
+# Tests fail to compile
+RESTRICT="!test? ( test ) test"
+
+src_configure() {
+ local mycmakeargs=(
+ -DMAGIC_ENUM_OPT_BUILD_TESTS=$(usex test)
+ -DMAGIC_ENUM_OPT_INSTALL=ON
+ )
+
+ cmake_src_configure
+}
diff --git a/dev-cpp/magic_enum/metadata.xml b/dev-cpp/magic_enum/metadata.xml
new file mode 100644
index 000000000000..9c4b1d48036d
--- /dev/null
+++ b/dev-cpp/magic_enum/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="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Neargye/magic_enum</remote-id>
+ </upstream>
+</pkgmetadata>
next reply other threads:[~2023-01-08 4:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-08 4:55 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-06-10 22:34 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/magic_enum/ Sam James
2023-06-11 4:11 Arthur Zamarin
2023-07-28 17:56 Arthur Zamarin
2023-12-19 5:26 Sam James
2023-12-19 17:01 Arthur Zamarin
2023-12-19 18:54 Arthur Zamarin
2023-12-20 2:34 Ionen Wolkens
2023-12-21 0:07 Ionen Wolkens
2024-02-15 19:26 Jakov Smolić
2024-02-15 23:51 Sam James
2024-02-16 0:19 Sam James
2024-02-16 1:26 Sam James
2024-02-17 21:17 Sam James
2024-03-02 14:38 Arthur Zamarin
2024-08-02 22:20 James Le Cuirot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1673153707.f76d6ead4ed5c973823443edbd1e7f3ec32dd94d.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox