From: Michał Górny Date: Mon, 16 Mar 2020 07:27:10 +0000 (+0100) Subject: media-gfx/entangle: Prebuild enum targets to fix race condition X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=72ce3559a0b4e1a483606faaa4f660abbb031be7;p=gentoo.git media-gfx/entangle: Prebuild enum targets to fix race condition Closes: https://bugs.gentoo.org/709740 Signed-off-by: Michał Górny --- diff --git a/media-gfx/entangle/entangle-2.0.ebuild b/media-gfx/entangle/entangle-2.0.ebuild index a8563923bc55..8e23c27d8c65 100644 --- a/media-gfx/entangle/entangle-2.0.ebuild +++ b/media-gfx/entangle/entangle-2.0.ebuild @@ -48,6 +48,11 @@ src_compile() { # prevent gst from loading system plugins which causes # sandbox violations on device access local -x GST_PLUGIN_SYSTEM_PATH_1_0= + # pre-generate enums to resolve race conditions + # https://bugs.gentoo.org/709740 + meson_src_compile \ + src/backend/entangle-{camera,colour-profile}-enums.h \ + src/frontend/entangle-image-display-enums.h meson_src_compile }