disable qt6 for loongarch64

This commit is contained in:
Wenlong Zhang 2024-04-16 07:05:16 +00:00
parent c671b48c29
commit cc22a37c7a

View File

@ -1,10 +1,14 @@
%global test_sha 03a4b9eb854a06a83c465e82de601796c458bbe9
%global test_date 2021-01-11
%ifarch loongarch64
%global qt6 0
%else
%global qt6 1
%endif
Name: poppler
Version: 23.12.0
Release: 1
Release: 2
Summary: PDF rendering library
License: GPLv2+ and LGPLv2+ and MIT
URL: http://poppler.freedesktop.org/
@ -162,6 +166,9 @@ cd build
-DENABLE_LIBOPENJPEG=openjpeg2 \
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
-DENABLE_ZLIB=OFF \
%ifarch loongarch64
-DENABLE_QT6=OFF \
%endif
..
%make_build
@ -253,6 +260,9 @@ test "$(pkg-config --modversion poppler-qt6)" = "%{version}"
%{_mandir}/man1/*
%changelog
* Tue Apr 16 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 23.12.0-2
- disable qt6 for loongarch64
* Thu Dec 28 2023 Paul Thomas <paulthomas100199@gmail.com> - 23.12.0-1
- update to version 23.12.0