From df25d7a3b66fe96d6415197384820d45f626e4f9 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 6 Feb 2023 11:20:25 -0500 Subject: [PATCH] Fix flatpak build --- mpv.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mpv.spec b/mpv.spec index 1a61e84..aa4660b 100644 --- a/mpv.spec +++ b/mpv.spec @@ -121,7 +121,7 @@ sed -e "s|c_preproc.standard_includes.append('/usr/local/include')|c_preproc.sta %build %set_build_flags -%{_bindir}/waf configure \ +waf configure \ --prefix=%{_prefix} \ --bindir=%{_bindir} \ --libdir=%{_libdir} \ @@ -138,10 +138,10 @@ sed -e "s|c_preproc.standard_includes.append('/usr/local/include')|c_preproc.sta --enable-dvbin \ --enable-gl-x11 \ --enable-wayland -%{_bindir}/waf -v build %{?_smp_mflags} +waf -v build %{?_smp_mflags} %install -%{_bindir}/waf install --destdir=%{buildroot} +waf install --destdir=%{buildroot} %check appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.metainfo.xml