public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/indicators/files/, dev-cpp/indicators/
@ 2024-01-09 10:19 Anna Vyalkova
  0 siblings, 0 replies; only message in thread
From: Anna Vyalkova @ 2024-01-09 10:19 UTC (permalink / raw
  To: gentoo-commits

commit:     a78729f8ee508568d8b569270e8e43e5e41ff874
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Jan  9 09:41:11 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Jan  9 10:19:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a78729f8

dev-cpp/indicators: fix build

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .../indicators/files/indicators-2.3-include.patch  | 12 ++++++++++
 dev-cpp/indicators/indicators-2.3-r1.ebuild        | 27 ++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/dev-cpp/indicators/files/indicators-2.3-include.patch b/dev-cpp/indicators/files/indicators-2.3-include.patch
new file mode 100644
index 0000000000..e0b4f336c6
--- /dev/null
+++ b/dev-cpp/indicators/files/indicators-2.3-include.patch
@@ -0,0 +1,12 @@
+Fix "error: 'uint8_t' has not been declared"
+
+--- a/include/indicators/termcolor.hpp
++++ b/include/indicators/termcolor.hpp
+@@ -14,6 +14,7 @@
+ 
+ #include <iostream>
+ #include <cstdio>
++#include <cstdint>
+ 
+ // Detect target's platform and set some macros in order to wrap platform
+ // specific code this library depends on.

diff --git a/dev-cpp/indicators/indicators-2.3-r1.ebuild b/dev-cpp/indicators/indicators-2.3-r1.ebuild
new file mode 100644
index 0000000000..11dcee7149
--- /dev/null
+++ b/dev-cpp/indicators/indicators-2.3-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Activity indicators for modern C++"
+HOMEPAGE="https://github.com/p-ranav/indicators"
+SRC_URI="https://github.com/p-ranav/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+PATCHES=( "${FILESDIR}"/${P}-include.patch )
+
+QA_PKGCONFIG_VERSION="${PV}.0"
+
+src_install() {
+	cmake_src_install
+	rm -r "${ED}"/usr/share/licenses || die
+
+	docompress -x /usr/share/doc/${PF}/samples
+	use examples && dodoc -r demo samples
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-09 10:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-09 10:19 [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/indicators/files/, dev-cpp/indicators/ Anna Vyalkova

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox