diff --git a/dev-cpp/toomanycooks/Manifest b/dev-cpp/toomanycooks/Manifest new file mode 100644 index 0000000000000..a0f79091f544e --- /dev/null +++ b/dev-cpp/toomanycooks/Manifest @@ -0,0 +1 @@ +DIST TooManyCooks-1.6.1.tar.gz 233169 BLAKE2B f8aec220a0ce40e146f6671dfcbe80b1ddfa8d1b235cb38cc6ef01bb1ca283b759b77e2c951df793772b32c35710500c04c227edad436e436413a5af1f409385 SHA512 6a50e09f24405b23a011166881a3a76115fbc236da4777c5890246191b65d8fe3a552a599c09cc6b61733e0fe484e8471ddceab73bb3078c0d995b13623bea24 diff --git a/dev-cpp/toomanycooks/metadata.xml b/dev-cpp/toomanycooks/metadata.xml new file mode 100644 index 0000000000000..cc98f2ba028fb --- /dev/null +++ b/dev-cpp/toomanycooks/metadata.xml @@ -0,0 +1,15 @@ + + + + + esteve.varela@gmail.com + Esteve Varela Colominas + + + proxy-maint@gentoo.org + Proxy Maintainers + + + tzcnt/TooManyCooks + + diff --git a/dev-cpp/toomanycooks/toomanycooks-1.6.1.ebuild b/dev-cpp/toomanycooks/toomanycooks-1.6.1.ebuild new file mode 100644 index 0000000000000..7d308fb8b8377 --- /dev/null +++ b/dev-cpp/toomanycooks/toomanycooks-1.6.1.ebuild @@ -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 +}