From 3aa18b2ce09694d35a17bc514ebfb0fd19148878 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 10 Jan 2017 18:16:39 -0600 Subject: [PATCH] fix build, support htmlthumbnailer --- kio-extras.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/kio-extras.spec b/kio-extras.spec index 4f01408..22a67e6 100644 --- a/kio-extras.spec +++ b/kio-extras.spec @@ -55,6 +55,11 @@ BuildRequires: perl-generators BuildRequires: phonon-qt5-devel BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtsvg-devel +%if 0%{?fedora} > 24 +%global htmlthumbnail 1 +BuildRequires: qt5-qtwebengine-devel >= 5.7 +%endif + %if 0%{?tests} BuildRequires: dbus-x11 BuildRequires: time @@ -150,9 +155,13 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %{_kf5_qtplugindir}/exrthumbnail.so %{_kf5_qtplugindir}/imagethumbnail.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}/kfileaudiopreview.so -%{_kf5_qtplugindir}/kio_about.so +%{_kf5_qtplugindir}/libkio_about.so %{_kf5_qtplugindir}/kio_activities.so %{_kf5_qtplugindir}/kritathumbnail.so %{_kf5_qtplugindir}/libkmanpart.so @@ -183,7 +192,6 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %files docs %{_docdir}/HTML/en/kioslave5/ -%{_docdir}/HTML/en/kcontrol/ %changelog