fix build, support htmlthumbnailer

epel9
Rex Dieter 8 years ago
parent b87e43b2a4
commit 3aa18b2ce0

@ -55,6 +55,11 @@ BuildRequires: perl-generators
BuildRequires: phonon-qt5-devel BuildRequires: phonon-qt5-devel
BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtsvg-devel BuildRequires: qt5-qtsvg-devel
%if 0%{?fedora} > 24
%global htmlthumbnail 1
BuildRequires: qt5-qtwebengine-devel >= 5.7
%endif
%if 0%{?tests} %if 0%{?tests}
BuildRequires: dbus-x11 BuildRequires: dbus-x11
BuildRequires: time BuildRequires: time
@ -150,9 +155,13 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%{_kf5_qtplugindir}/exrthumbnail.so %{_kf5_qtplugindir}/exrthumbnail.so
%{_kf5_qtplugindir}/imagethumbnail.so %{_kf5_qtplugindir}/imagethumbnail.so
%{_kf5_qtplugindir}/jpegthumbnail.so %{_kf5_qtplugindir}/jpegthumbnail.so
# make subpkg? -- rex
%if 0%{?htmlthumbnail}
%{_kf5_qtplugindir}/htmlthumbnail.so
%endif
%{_kf5_qtplugindir}/kactivitymanagerd_fileitem_linking_plugin.so %{_kf5_qtplugindir}/kactivitymanagerd_fileitem_linking_plugin.so
%{_kf5_qtplugindir}/kfileaudiopreview.so %{_kf5_qtplugindir}/kfileaudiopreview.so
%{_kf5_qtplugindir}/kio_about.so %{_kf5_qtplugindir}/libkio_about.so
%{_kf5_qtplugindir}/kio_activities.so %{_kf5_qtplugindir}/kio_activities.so
%{_kf5_qtplugindir}/kritathumbnail.so %{_kf5_qtplugindir}/kritathumbnail.so
%{_kf5_qtplugindir}/libkmanpart.so %{_kf5_qtplugindir}/libkmanpart.so
@ -183,7 +192,6 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%files docs %files docs
%{_docdir}/HTML/en/kioslave5/ %{_docdir}/HTML/en/kioslave5/
%{_docdir}/HTML/en/kcontrol/
%changelog %changelog

Loading…
Cancel
Save