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:
Steffen Winter
2024-03-01 15:11:08 +01:00
parent a402ee97f2
commit 54fbd24627
2 changed files with 10 additions and 12 deletions

View File

@@ -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
}

View File

@@ -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
}