!5 fixed okular build failure in openEuler-24.03-LTS-SP1:epol

From: @zhangxianjun87 
Reviewed-by: @misaka00251 
Signed-off-by: @misaka00251
This commit is contained in:
openeuler-ci-bot 2024-11-19 07:25:26 +00:00 committed by Gitee
commit 8fe444ef99
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -12,7 +12,7 @@
Name: okular
Summary: A document viewer
Version: 23.08.4
Release: 1
Release: 2
License: GPLv2
URL: https://www.kde.org/applications/graphics/okular/
@ -144,14 +144,12 @@ sed -i -e 's|^add_subdirectory( mobile )|#add_subdirectory( mobile )|' CMakeList
%build
%cmake_kf5 -DOKULAR_UI=both \
%{cmake_kf5} -DOKULAR_UI=both \
-DFORCE_NOT_REQUIRED_DEPENDENCIES="CHM;LibZip;DjVuLibre;EPub;"
%make_build
%{cmake_build}
%install
%{make_install}
%{cmake_install}
%find_lang all --all-name --with-html --with-man
grep -v \
@ -215,6 +213,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.ok
%changelog
* Mon Nov 18 2024 zhangxianjun <zhangxianjun@kylinos.cn> - 23.08.4-2
- adapt to the new CMake macros to fix build failure
* Tue Jan 02 2024 lvgenggeng<lvgenggeng@uniontech.com> - 23.08.4-1
- bump to 23.08.4