Use qt5-qtwebkit-devel instead when qtwebengine is not available

This commit is contained in:
Robin Lee 2019-06-10 10:52:38 +08:00
parent c7651a77f1
commit d518ac1796
1 changed files with 4 additions and 0 deletions

View File

@ -8,7 +8,11 @@ URL: https://userbase.kde.org/KBibTeX
Source0: https://github.com/KDE/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake qt5-qtbase-devel desktop-file-utils gettext-devel
%ifarch %qt5_qtwebengine_arches
BuildRequires: qt5-qtwebengine-devel
%else
BuildRequires: qt5-qtwebkit-devel
%endif
BuildRequires: cmake(Qt5XmlPatterns)
BuildRequires: cmake(KF5TextEditor)
BuildRequires: cmake(KF5I18n)