From 5a0d15ca6153c68276933c9595ce6d653d865ac3 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 31 Jan 2023 19:44:38 +0100 Subject: [PATCH] Disable v4l2-gudev for flatpak-runtime module builds v4l2-gudev doesn't work in flatpak containers and breaks e.g. camera detection for cheese. --- gstreamer1-plugins-good.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gstreamer1-plugins-good.spec b/gstreamer1-plugins-good.spec index a9296b6..3cf7a67 100644 --- a/gstreamer1-plugins-good.spec +++ b/gstreamer1-plugins-good.spec @@ -182,6 +182,9 @@ to be installed. %else -D dv=%{?with_extras:enabled}%{!?with_extras:disabled} \ -D dv1394=%{?with_extras:enabled}%{!?with_extras:disabled} \ +%endif +%if 0%{?_module_build} && "%{_module_name}" == "flatpak-runtime" + -D v4l2-gudev=disabled \ %endif -D qt6=disabled