mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-libs/osl: don't install test only binaries
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41967 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -94,6 +94,7 @@ src_prepare() {
|
||||
fi
|
||||
|
||||
sed -e "/^install.*llvm_macros.cmake.*cmake/d" -i CMakeLists.txt || die
|
||||
sed -e "/install_targets ( libtestshade )/d" -i src/testshade/CMakeLists.txt || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
@@ -265,6 +266,7 @@ src_test() {
|
||||
"^testoptix-reparam.optix.opt$"
|
||||
"^transform-reg.regress.batched.opt$"
|
||||
"^spline-reg.regress.batched.opt$"
|
||||
"^texture3d-opts-reg.regress.batched.opt$"
|
||||
|
||||
# doesn't handle parameters
|
||||
"^osl-imageio$"
|
||||
@@ -335,7 +337,6 @@ src_install() {
|
||||
if use test; then
|
||||
rm \
|
||||
"${ED}/usr/bin/test"{render,shade{,_dso}} \
|
||||
"${ED}/usr/$(get_libdir)/libtestshade.so"* \
|
||||
|| die
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user