diff options
Diffstat (limited to 'dev-libs/pthreadpool/pthreadpool-2022.05.09-r1.ebuild')
-rw-r--r-- | dev-libs/pthreadpool/pthreadpool-2022.05.09-r1.ebuild | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/dev-libs/pthreadpool/pthreadpool-2022.05.09-r1.ebuild b/dev-libs/pthreadpool/pthreadpool-2022.05.09-r1.ebuild deleted file mode 100644 index 9cfc03ed4564..000000000000 --- a/dev-libs/pthreadpool/pthreadpool-2022.05.09-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit cmake - -CommitId=1787867f6183f056420e532eec640cba25efafea -DESCRIPTION="Portable and efficient thread pool implementation" -HOMEPAGE="https://github.com/Maratyszcza/pthreadpool" -SRC_URI="https://github.com/Maratyszcza/${PN}/archive/1787867.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}"/${P}-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 -} |