From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0FF00158451 for ; Tue, 9 Jan 2024 07:17:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 495A1E2A86; Tue, 9 Jan 2024 07:17:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2DC39E2A86 for ; Tue, 9 Jan 2024 07:17:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A7D73432A6 for ; Tue, 9 Jan 2024 07:17:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BB2221082 for ; Tue, 9 Jan 2024 07:17:22 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1704784524.1cab2e8ceb3b3d63c9beef7e1970bd55c57d7efe.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/pthreadpool/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/pthreadpool/Manifest dev-libs/pthreadpool/pthreadpool-2023.08.29.ebuild X-VCS-Directories: dev-libs/pthreadpool/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 1cab2e8ceb3b3d63c9beef7e1970bd55c57d7efe X-VCS-Branch: master Date: Tue, 9 Jan 2024 07:17:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 93b26d27-29f0-4c4c-ba4e-43c19799fe88 X-Archives-Hash: 1fc9e91029d1665200ee40950975faff commit: 1cab2e8ceb3b3d63c9beef7e1970bd55c57d7efe Author: Sv. Lockal gmail com> AuthorDate: Mon Jan 8 20:59:31 2024 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Tue Jan 9 07:15:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cab2e8c dev-libs/pthreadpool: add 2023.08.29 Signed-off-by: Sv. Lockal gmail.com> Signed-off-by: Alfredo Tupone gentoo.org> dev-libs/pthreadpool/Manifest | 1 + dev-libs/pthreadpool/pthreadpool-2023.08.29.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-libs/pthreadpool/Manifest b/dev-libs/pthreadpool/Manifest index 4a13b9cccbfe..3350d7cafc5e 100644 --- a/dev-libs/pthreadpool/Manifest +++ b/dev-libs/pthreadpool/Manifest @@ -1 +1,2 @@ DIST pthreadpool-2022.05.09.tar.gz 55078 BLAKE2B c7ec88e9dd81c01444e511bd5ac845779f6839004130b9f306237ccb7a83fbe07851f4e780403bc97e448ba7e3f9eadb75904e4a6897503d953da8c9f1d5b0ab SHA512 e9ff2b502ee9faa78f9fe03e3e281e305ea6328bf5ebbcb0bf784786874ea3f3dd17b561a6ae98a677d56e813184d468fffab583fb45e06ec9be6ed7d7ea9f86 +DIST pthreadpool-2023.08.29.tar.gz 59634 BLAKE2B 9bcf641e65da7036959e21958511751005f4cec270e82a0bfe1fe49d1d98f79e9a981bf3e7e4fa7399bdf5127e116833855214a0ac2816ddfd7b919f0c7ad8d0 SHA512 764d81219f2bf1f056983b5c2576f377aeef37f0f2282e74f81bfe1eac5353e175603f80a6647c96165b24ebdcb7bc2189a376e8577ce4319d82679c33750451 diff --git a/dev-libs/pthreadpool/pthreadpool-2023.08.29.ebuild b/dev-libs/pthreadpool/pthreadpool-2023.08.29.ebuild new file mode 100644 index 000000000000..ba614beea387 --- /dev/null +++ b/dev-libs/pthreadpool/pthreadpool-2023.08.29.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake + +CommitId=4fe0e1e183925bf8cfa6aae24237e724a96479b8 +DESCRIPTION="Portable and efficient thread pool implementation" +HOMEPAGE="https://github.com/Maratyszcza/pthreadpool" +SRC_URI="https://github.com/Maratyszcza/${PN}/archive/${CommitId}.tar.gz + -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="dev-libs/FXdiv" +RDEPEND="${DEPEND}" +BDEPEND="test? ( dev-cpp/gtest )" +RESTRICT="!test? ( test )" + +S="${WORKDIR}"/${PN}-${CommitId} + +PATCHES=( + "${FILESDIR}"/${PN}-2022.05.09-gentoo.patch +) + +src_prepare() { + cmake_src_prepare + + # >=dev-cpp/gtest-1.13.0 requires C++14 standard or later + sed -i -e 's/CXX_STANDARD 11/CXX_STANDARD 14/g' \ + CMakeLists.txt || die "sed failed" +} + +src_configure() { + local mycmakeargs=( + -DPTHREADPOOL_BUILD_BENCHMARKS=OFF + -DPTHREADPOOL_BUILD_TESTS=$(usex test ON OFF) + ) + cmake_src_configure +}