diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-12-29 13:50:57 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-12-29 15:28:54 -0500 |
commit | 0da2166bd6b30b34d8d9367a827b867d97814d51 (patch) | |
tree | 5692a6f3a0798da69b5e2e8237d0103942b5ac08 /media-libs | |
parent | profiles/base: package.use.mask ~libplacebo-4.192.1 glslang (diff) | |
download | gentoo-0da2166bd6b30b34d8d9367a827b867d97814d51.tar.gz gentoo-0da2166bd6b30b34d8d9367a827b867d97814d51.tar.bz2 gentoo-0da2166bd6b30b34d8d9367a827b867d97814d51.zip |
media-libs/libplacebo: always skip opengl/vulkan test
Normally auto-skipped, but in qemu (at least for me) it
tries to run the vulkan test for some reason which just
timeouts even with x10 timeout.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libplacebo/libplacebo-5.229.1.ebuild | 8 | ||||
-rw-r--r-- | media-libs/libplacebo/libplacebo-9999.ebuild | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/media-libs/libplacebo/libplacebo-5.229.1.ebuild b/media-libs/libplacebo/libplacebo-5.229.1.ebuild index 153994a42c5d..dc18093e0d60 100644 --- a/media-libs/libplacebo/libplacebo-5.229.1.ebuild +++ b/media-libs/libplacebo/libplacebo-5.229.1.ebuild @@ -69,6 +69,14 @@ src_unpack() { fi } +src_prepare() { + default + + # typically auto-skipped, but may assume usable opengl/vulkan then hang + sed -i "/tests += 'opengl_surfaceless.c'/d" src/opengl/meson.build || die + sed -i "/tests += 'vulkan.c'/d" src/vulkan/meson.build || die +} + multilib_src_configure() { local emesonargs=( -Ddemos=false #851927 diff --git a/media-libs/libplacebo/libplacebo-9999.ebuild b/media-libs/libplacebo/libplacebo-9999.ebuild index 153994a42c5d..dc18093e0d60 100644 --- a/media-libs/libplacebo/libplacebo-9999.ebuild +++ b/media-libs/libplacebo/libplacebo-9999.ebuild @@ -69,6 +69,14 @@ src_unpack() { fi } +src_prepare() { + default + + # typically auto-skipped, but may assume usable opengl/vulkan then hang + sed -i "/tests += 'opengl_surfaceless.c'/d" src/opengl/meson.build || die + sed -i "/tests += 'vulkan.c'/d" src/vulkan/meson.build || die +} + multilib_src_configure() { local emesonargs=( -Ddemos=false #851927 |