mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
sci-electronics/slang: Reorder deps, remove mimalloc dep
mimalloc from ::gentoo doesn't install static libraries which would be required here. Fixes: https://bugs.gentoo.org/922041 Signed-off-by: Steffen Winter <steffen.winter@proton.me>
This commit is contained in:
@@ -29,16 +29,14 @@ RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=dev-cpp/catch-3.0.1
|
||||
>=dev-libs/libfmt-9.1.0
|
||||
>=dev-libs/mimalloc-2.1.2
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/pybind11-2.10[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
>=dev-libs/libfmt-9.1.0
|
||||
test? ( >=dev-cpp/catch-3.0.1 )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
@@ -52,6 +50,7 @@ src_configure() {
|
||||
-D BUILD_SHARED_LIBS=ON
|
||||
-D SLANG_INCLUDE_PYLIB=$(usex python)
|
||||
-D SLANG_INCLUDE_TESTS=$(usex test)
|
||||
-D SLANG_USE_MIMALLOC=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -29,16 +29,14 @@ RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=dev-cpp/catch-3.0.1
|
||||
>=dev-libs/libfmt-9.1.0
|
||||
>=dev-libs/mimalloc-2.1.2
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/pybind11-2.10[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
>=dev-libs/libfmt-9.1.0
|
||||
test? ( >=dev-cpp/catch-3.0.1 )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
@@ -52,6 +50,7 @@ src_configure() {
|
||||
-D BUILD_SHARED_LIBS=ON
|
||||
-D SLANG_INCLUDE_PYLIB=$(usex python)
|
||||
-D SLANG_INCLUDE_TESTS=$(usex test)
|
||||
-D SLANG_USE_MIMALLOC=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user