diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
commit | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch) | |
tree | c8af0fd04194aed03cf067d44e53c7edd3e9ab84 /dev-cpp/cpp-taskflow | |
parent | e9d044d4b9b71200a96adfa280848858c0f468c9 (diff) |
gentoo resync : 05.12.2021
Diffstat (limited to 'dev-cpp/cpp-taskflow')
-rw-r--r-- | dev-cpp/cpp-taskflow/Manifest | 3 | ||||
-rw-r--r-- | dev-cpp/cpp-taskflow/cpp-taskflow-3.2.0.ebuild | 20 | ||||
-rw-r--r-- | dev-cpp/cpp-taskflow/cpp-taskflow-9999.ebuild | 44 |
3 files changed, 63 insertions, 4 deletions
diff --git a/dev-cpp/cpp-taskflow/Manifest b/dev-cpp/cpp-taskflow/Manifest index 776de02f4595..e3a5c61b503a 100644 --- a/dev-cpp/cpp-taskflow/Manifest +++ b/dev-cpp/cpp-taskflow/Manifest @@ -1,3 +1,4 @@ DIST cpp-taskflow-3.2.0.tar.gz 79152157 BLAKE2B 03b4b1cf772c9dec4557a706c7872de95312d4e72ec7dcef1accfd1d5eaf470e60440d75ea0c993ab494ef460dc44639719ea1732fa92c54d64dde31b90b9224 SHA512 e30d95b69f64524c9b06cf7442236998f91b1083818f06439888d78d5a1b988bc952c02fd0ec88114283cbe6c31a7bbfe810a7114998f4b5f60c4cff921bb0fa -EBUILD cpp-taskflow-3.2.0.ebuild 640 BLAKE2B d3b0cb72bb472fb33746ebaf30b754a8892ef1c0607009a5c0adc0a8700d1102a8597ad21950bb454d75c073c19f0e4906db89b2e82d3dde62096646c8a42ebd SHA512 12d15a698591a04705f905593e722030e61a932910e5f4833a653815894893eb239eb0ff46b15163138ea356396e035256fb448f8045ba53b6e7a4ae1d632a7e +EBUILD cpp-taskflow-3.2.0.ebuild 916 BLAKE2B 4d5305037f08b64b32462dc9215442f97f48a4985fa4582d76432ccdb4bff650d21e43e0181b9ea0a5f8f3be344d5e9e1dc51f180852f8284639a1405b6190df SHA512 27c769ebc5b91284dc0f902c96a2fdc70f068e85e0edda344414f0433f6f3c5923c4afb34805a2f6c4416beb93ed17a41472b961dac1c38dd38d8a3b0af47dd8 +EBUILD cpp-taskflow-9999.ebuild 916 BLAKE2B 4d5305037f08b64b32462dc9215442f97f48a4985fa4582d76432ccdb4bff650d21e43e0181b9ea0a5f8f3be344d5e9e1dc51f180852f8284639a1405b6190df SHA512 27c769ebc5b91284dc0f902c96a2fdc70f068e85e0edda344414f0433f6f3c5923c4afb34805a2f6c4416beb93ed17a41472b961dac1c38dd38d8a3b0af47dd8 MISC metadata.xml 663 BLAKE2B d9364c3cb5391e8b95488f7016d1dcf51400970c8ea0737549c91ca3ec4ac1132c3c34d76bc2aaefe80dbef2887ae28e150d8d396d297c19fc2d45b7f827417e SHA512 054c5840f22ed9ecb67c85a7ca78898ab7897de5bb254ab61a602ec1031e92cde398525c9c97c59d0b66a57f3fab5f8acb0efa511c958a6754dcf7f2c0c77359 diff --git a/dev-cpp/cpp-taskflow/cpp-taskflow-3.2.0.ebuild b/dev-cpp/cpp-taskflow/cpp-taskflow-3.2.0.ebuild index fc6e30fbb60c..9b146d9dc546 100644 --- a/dev-cpp/cpp-taskflow/cpp-taskflow-3.2.0.ebuild +++ b/dev-cpp/cpp-taskflow/cpp-taskflow-3.2.0.ebuild @@ -7,17 +7,31 @@ inherit cmake DESCRIPTION="Modern C++ Parallel Task Programming" HOMEPAGE="https://cpp-taskflow.github.io" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/taskflow-${PV}" +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/cpp-taskflow/${PN}.git" + inherit git-r3 + S="${WORKDIR}/cpp-taskflow-${PV}" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/taskflow-${PV}" +fi LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" IUSE="examples test" RESTRICT="!test? ( test )" +DEPEND="test? ( dev-cpp/doctest )" + HTML_DOCS=( docs/. ) +src_prepare() { + rm -r "${S}/3rd-party" || die "rm failed" + default + cmake_src_prepare +} + src_configure() { # TODO: enable CUDA via USE flag local mycmakeargs=( diff --git a/dev-cpp/cpp-taskflow/cpp-taskflow-9999.ebuild b/dev-cpp/cpp-taskflow/cpp-taskflow-9999.ebuild new file mode 100644 index 000000000000..9b146d9dc546 --- /dev/null +++ b/dev-cpp/cpp-taskflow/cpp-taskflow-9999.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 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://cpp-taskflow.github.io" +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/cpp-taskflow/${PN}.git" + inherit git-r3 + S="${WORKDIR}/cpp-taskflow-${PV}" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/taskflow-${PV}" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="examples test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-cpp/doctest )" + +HTML_DOCS=( docs/. ) + +src_prepare() { + rm -r "${S}/3rd-party" || die "rm failed" + default + 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 +} |