!12 fix build when Meson >= 0.61.5

From: @zhang__3125 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2022-06-22 15:40:20 +00:00 committed by Gitee
commit 5cb2658fa0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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