dev-cpp/toomanycooks: New package

New dependency for net-im/telegram-desktop

Part-of: https://github.com/gentoo/gentoo/pull/46430
Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
Esteve Varela Colominas
2026-06-18 15:57:55 +02:00
committed by Yixun Lan
parent fc22aa00b8
commit 6a4a92eaf7
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST TooManyCooks-1.6.1.tar.gz 233169 BLAKE2B f8aec220a0ce40e146f6671dfcbe80b1ddfa8d1b235cb38cc6ef01bb1ca283b759b77e2c951df793772b32c35710500c04c227edad436e436413a5af1f409385 SHA512 6a50e09f24405b23a011166881a3a76115fbc236da4777c5890246191b65d8fe3a552a599c09cc6b61733e0fe484e8471ddceab73bb3078c0d995b13623bea24

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>esteve.varela@gmail.com</email>
<name>Esteve Varela Colominas</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">tzcnt/TooManyCooks</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,36 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="C++20 concurrency framework with no compromises"
HOMEPAGE="https://github.com/tzcnt/TooManyCooks"
MY_PN=TooManyCooks
SRC_URI="https://github.com/tzcnt/TooManyCooks/archive/refs/tags/v${PV}.tar.gz -> ${MY_PN}-${PV}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="~amd64"
# NOTE: Dependents MUST add this package's DEPENDs as RDEPENDs, to ensure SLOT
# rebuilds function correctly.
#
# NOTE: While sys-apps/hwloc is technically optional, it's highly desireable
# and avoids having to propagate a conditional dependency specification
# to its dependents. Solving bug #680496 wouldn't be sufficient, as this
# still wouldn't solve SLOT rebuilds.
DEPEND="
sys-apps/hwloc:=
"
src_install() {
cmake_src_install
# Remove license file from weird location. It's included in the gentoo repository.
rm -r "${ED}/usr/licenses" || die
}