|
|
@ -121,7 +121,7 @@ sed -e "s|c_preproc.standard_includes.append('/usr/local/include')|c_preproc.sta
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%set_build_flags
|
|
|
|
%set_build_flags
|
|
|
|
%{_bindir}/waf configure \
|
|
|
|
waf configure \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--bindir=%{_bindir} \
|
|
|
|
--bindir=%{_bindir} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
@ -138,10 +138,10 @@ sed -e "s|c_preproc.standard_includes.append('/usr/local/include')|c_preproc.sta
|
|
|
|
--enable-dvbin \
|
|
|
|
--enable-dvbin \
|
|
|
|
--enable-gl-x11 \
|
|
|
|
--enable-gl-x11 \
|
|
|
|
--enable-wayland
|
|
|
|
--enable-wayland
|
|
|
|
%{_bindir}/waf -v build %{?_smp_mflags}
|
|
|
|
waf -v build %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{_bindir}/waf install --destdir=%{buildroot}
|
|
|
|
waf install --destdir=%{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.metainfo.xml
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.metainfo.xml
|
|
|
|