Fix flatpak module build

This commit is contained in:
Kalev Lember 2020-04-06 23:50:21 +02:00
parent 89a86276e6
commit b3dd0f68a1

View File

@ -84,6 +84,10 @@ emulator library.
%prep
%setup -q -n vte-%{version}
%patch100 -p1 -b .cntnr-precmd-preexec-scroll
%if 0%{?flatpak}
# Install user units where systemd macros expect them
sed -i -e "/^vte_systemduserunitdir =/s|vte_prefix|'/usr'|" meson.build
%endif
%build
# Avoid overriding vte's own -fno-exceptions