summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-10-07 21:55:40 +0200
committerMartin Stransky <stransky@redhat.com>2020-10-07 21:55:40 +0200
commit2c42998965dd57938bf55095b190415c7c31efa4 (patch)
treef5c756c9d7bab3356910a486c2441eb350fcbf13 /firefox.spec
parentAdded mesa-dri-drivers (diff)
downloadlibrewolf-fedora-ff-2c42998965dd57938bf55095b190415c7c31efa4.tar.gz
librewolf-fedora-ff-2c42998965dd57938bf55095b190415c7c31efa4.tar.bz2
librewolf-fedora-ff-2c42998965dd57938bf55095b190415c7c31efa4.zip
set up XDG_RUNTIME_DIR for wayland PGO builds
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/firefox.spec b/firefox.spec
index cbac4d2..4903f59 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -643,6 +643,9 @@ echo "export STRIP=/bin/true" >> .mozconfig
export MACH_USE_SYSTEM_PYTHON=1
%if %{build_with_pgo}
%if %{pgo_wayland}
+if [ -z "$XDG_RUNTIME_DIR" ]; then
+ export XDG_RUNTIME_DIR=$HOME
+fi
xvfb-run mutter --wayland --nested &
if [ -z "$WAYLAND_DISPLAY" ]; then
export WAYLAND_DISPLAY=wayland-0
bgstack15