mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-cpp/indicators: fix build
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
12
dev-cpp/indicators/files/indicators-2.3-include.patch
Normal file
12
dev-cpp/indicators/files/indicators-2.3-include.patch
Normal file
@@ -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.
|
||||
27
dev-cpp/indicators/indicators-2.3-r1.ebuild
Normal file
27
dev-cpp/indicators/indicators-2.3-r1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user