commit:     a6abe55e28bd76fc58b79fac5f6f843ef10d3f8a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May 29 12:33:49 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 29 12:33:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6abe55e

dev-cpp/taskflow: add 3.10.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/taskflow/Manifest               |  1 +
 dev-cpp/taskflow/taskflow-3.10.0.ebuild | 45 +++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-cpp/taskflow/Manifest b/dev-cpp/taskflow/Manifest
index 05b23be00440..050b00c3f527 100644
--- a/dev-cpp/taskflow/Manifest
+++ b/dev-cpp/taskflow/Manifest
@@ -1,3 +1,4 @@
+DIST taskflow-3.10.0.tar.gz 55396434 BLAKE2B 
8b2351de0ae898e4e42aec295723064ac2167d3afe01b2a47c88443b30220f258c8955d9ddf2727510ea35523c54dd88050a9e0654a03d6d74527a2d21d35654
 SHA512 
b7919d9ed47a27d706c552944a2f92ce9dcb012983622f4d62a2226389fd4628658a7e1090804a5dc860f16a10a4e1b31802a4019722283ff7912aa2a7334d0e
 DIST taskflow-3.3.0.tar.gz 64446007 BLAKE2B 
07878a03bd90af64914f1dc80850bcf5d4140f20ecfa998237039b6f37cc668e8c2b5dffafb75f4518209b3ac01f9935f5e30a020871334f131e6fe7654748bf
 SHA512 
08ab20bf38927d49c8332fc103cb7b4b6358efa06466cb8471f2004eb27b79b9eadc9971ec4acd110c8f369686b6f99bf3e21192285c3f28b9cb855bfd9ab0b5
 DIST taskflow-3.4.0.tar.gz 64152239 BLAKE2B 
cec78155bc8db3ac7fb6e61ece8c1bb4697c6655122cdcd987405ce21b1f4f30570debda8a7cccf43d089bac791cb18654e829380e244addae2875ad4fdb47c5
 SHA512 
e0e3589feec65677c4de6583a70c14f90826f2177636010955c597a3232f7842431c697eae711318f4a64fae52ac3e33e2d0739ef36bb7c57698110b6fa4740d
 DIST taskflow-3.6.0.tar.gz 66335249 BLAKE2B 
bcdc6d721e32b7c40f65ed5bd115d2c0083663e8b51c0e4460baa5f62e576382a45e8da735119b577d8a6ae7a64c72431654471a3b8335997fdf4f9191ad64af
 SHA512 
1bf17b69cdb29b982fc74b9091f5b6c8fc4fd3004b26afe7e73e71569738e492cf8663b71d98cfbc4e240c08ceb8a99bf51cccce95254710722f89929a4bbea8

diff --git a/dev-cpp/taskflow/taskflow-3.10.0.ebuild 
b/dev-cpp/taskflow/taskflow-3.10.0.ebuild
new file mode 100644
index 000000000000..2006c5eb2fa0
--- /dev/null
+++ b/dev-cpp/taskflow/taskflow-3.10.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Modern C++ Parallel Task Programming"
+HOMEPAGE="https://taskflow.github.io";
+if [[ ${PV} == 9999 ]]; then
+       EGIT_REPO_URI="https://github.com/taskflow/${PN}.git";
+       inherit git-r3
+       S="${WORKDIR}/taskflow-${PV}"
+else
+       SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+       S="${WORKDIR}/taskflow-${PV}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-cpp/doctest )"
+
+HTML_DOCS=( docs/. )
+
+PATCHES=(
+)
+
+src_prepare() {
+       cmake_src_prepare
+}
+
+src_configure() {
+       # TODO: enable CUDA via USE flag
+       local mycmakeargs=(
+               -DTF_BUILD_CUDA=OFF
+               -DTF_BUILD_EXAMPLES=$(usex examples)
+               -DTF_BUILD_TESTS=$(usex test)
+       )
+
+       cmake_src_configure
+}

Reply via email to