diff --git a/media-gfx/entangle/entangle-2.0.ebuild b/media-gfx/entangle/entangle-2.0.ebuild index a8563923bc55c..8e23c27d8c658 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 }