Disable v4l2-gudev for flatpak-runtime module builds

v4l2-gudev doesn't work in flatpak containers and breaks e.g. camera
detection for cheese.
This commit is contained in:
Kalev Lember 2023-01-31 19:44:38 +01:00
parent 53b1eff9f8
commit 5a0d15ca61

View File

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