fix build when Meson >= 0.61.5

This commit is contained in:
zhang__3125 2022-06-22 22:28:13 +08:00
parent fa6426a41d
commit c7b8760a79

View File

@ -6,7 +6,7 @@
Name: evince
Version: 42.3
Release: 1
Release: 2
Summary: Document viewer for multiple document formats
License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse
URL: https://wiki.gnome.org/Apps/Evince
@ -71,7 +71,7 @@ This package contain the help documents for evince.
export CFLAGS='-I%{_builddir}/%{name}-%{version}/cut-n-paste/synctex %optflags'
#export CFLAGS='-I/usr/include/synctex %optflags'
%meson -Dcomics=enabled -Ddvi=enabled -Ddjvu=enabled -Dxps=enabled \
-Dt1lib=disabled -Dsystemduserunitdir=no -Dnautilus=false \
-Dsystemduserunitdir=no -Dnautilus=false \
-Dps=enabled
%meson_build
@ -130,6 +130,10 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p
%{_mandir}/man1/*.1*
%changelog
* Mon Jun 20 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.3-2
- fix build when Meson >= 0.61.5
- remove meson option t1lib
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.3-1
- Update to 42.3