Define TEMP_HOME=1 when building for Flatpak

It allows to open attachments from Evolution.
See https://github.com/flathub/org.gnome.Evolution/issues/89
for the details.
This commit is contained in:
Milan Crha 2022-04-01 12:14:20 +02:00
parent 8eb691149b
commit 377014ebd4

View File

@ -299,6 +299,7 @@ CFLAGS="$RPM_OPT_FLAGS -fPIC -DLDAP_DEPRECATED -Wno-sign-compare -Wno-deprecated
-DENABLE_PLUGINS=all \ -DENABLE_PLUGINS=all \
%if 0%{?flatpak} %if 0%{?flatpak}
"-DWITH_WMCLASS_OVERRIDE=evolution.bin" \ "-DWITH_WMCLASS_OVERRIDE=evolution.bin" \
"-DTEMP_HOME=1" \
%endif %endif
%{nil} %{nil}