summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-03-16 08:27:10 +0100
committerMichał Górny <mgorny@gentoo.org>2020-03-16 08:35:50 +0100
commit72ce3559a0b4e1a483606faaa4f660abbb031be7 (patch)
treefebc96010addf92304b287f2f9719adb01376c1b /media-gfx/entangle
parentpython-utils-r1.eclass: Create python3-embed.pc wrapper (diff)
downloadgentoo-72ce3559a0b4e1a483606faaa4f660abbb031be7.tar.gz
gentoo-72ce3559a0b4e1a483606faaa4f660abbb031be7.tar.bz2
gentoo-72ce3559a0b4e1a483606faaa4f660abbb031be7.zip
media-gfx/entangle: Prebuild enum targets to fix race condition
Closes: https://bugs.gentoo.org/709740 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-gfx/entangle')
-rw-r--r--media-gfx/entangle/entangle-2.0.ebuild5
1 files changed, 5 insertions, 0 deletions
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
}