dev-libs/jthread: drop multilib, static-libs, EAPI 8

No reverse dependencies (hence no multilib reverse dependencies).

Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
Sam James
2022-09-09 09:58:50 +02:00
committed by David Seifert
parent d49b09a054
commit c362342fc9

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit cmake-multilib
inherit cmake
DESCRIPTION="JThread provides some classes to make use of threads easy on different platforms"
HOMEPAGE="https://research.edm.uhasselt.be/jori/page/CS/Jthread.html"
@@ -13,14 +13,11 @@ LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="amd64 x86"
IUSE="static-libs"
DOCS=( ChangeLog README.md doc/manual.tex )
src_prepare() {
# do not build static library, if it is not requested
if ! use static-libs; then
sed -i -e '/jthread-static/d' src/CMakeLists.txt || die 'sed on src/CMakeLists.txt failed'
fi
# Do not build static library
sed -i -e '/jthread-static/d' src/CMakeLists.txt || die 'sed on src/CMakeLists.txt failed'
cmake_src_prepare
}