From 3737c10974e52b1d0dcdbca4d64893a58ffbb810 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Oct 09 2022 10:00:25 +0000 Subject: Avoid requiring xorg-x11-server-Xwayland for flatpak builds xorg-x11-server-Xwayland should be installed on the host, not in the flatpak container. --- diff --git a/audacity.spec b/audacity.spec index 3df0afc..294e17f 100644 --- a/audacity.spec +++ b/audacity.spec @@ -106,7 +106,9 @@ BuildRequires: suil-devel >= 0.10.6 Requires: portaudio%{?_isa} >= 19-16 # We force the GDK backend to be X11 in the launcher, so we need to ensure we have Xwayland available +%if !0%{?flatpak} Requires: xorg-x11-server-Xwayland +%endif ExcludeArch: s390x