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>
This commit is contained in:
Michał Górny
2020-03-16 08:27:10 +01:00
parent e1e92875f9
commit 72ce3559a0

View File

@@ -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
}