summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-11-12 20:39:44 +0100
committerAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-11-12 20:39:44 +0100
commitfc028b32f2a25289c136e8066f73348b0b8630ff (patch)
tree181bd566c70f201df50eb091675546f96cd34a56
parent204f7acfd597e839966c227efeea66d626a81479 (diff)
downloadkde-fc028b32f2a25289c136e8066f73348b0b8630ff.tar.gz
kde-fc028b32f2a25289c136e8066f73348b0b8630ff.tar.bz2
kde-fc028b32f2a25289c136e8066f73348b0b8630ff.zip
kde-apps/kio-extras: Add USE=htmlthumbs
Upstream commit 6dccc7739ba3d754b9209674a8985ce9d9546c2c Package-Manager: portage-2.3.0
-rw-r--r--kde-apps/kio-extras/kio-extras-9999.ebuild8
-rw-r--r--kde-apps/kio-extras/metadata.xml1
2 files changed, 5 insertions, 4 deletions
diff --git a/kde-apps/kio-extras/kio-extras-9999.ebuild b/kde-apps/kio-extras/kio-extras-9999.ebuild
index ae407372fdd..41b3922e2b8 100644
--- a/kde-apps/kio-extras/kio-extras-9999.ebuild
+++ b/kde-apps/kio-extras/kio-extras-9999.ebuild
@@ -12,7 +12,7 @@ inherit kde5
DESCRIPTION="KIO plugins present a filesystem-like view of arbitrary data"
HOMEPAGE="https://projects.kde.org/projects/kde/workspace/kio-extras"
KEYWORDS=""
-IUSE="exif mtp openexr phonon samba +sftp slp"
+IUSE="exif htmlthumbs mtp openexr phonon samba +sftp slp"
COMMON_DEPEND="
$(add_frameworks_dep kactivities)
@@ -44,6 +44,7 @@ COMMON_DEPEND="
$(add_qt_dep qtxml)
virtual/jpeg:0
exif? ( media-gfx/exiv2:= )
+ htmlthumbs? ( $(add_qt_dep qtwebengine) )
mtp? ( media-libs/libmtp:= )
openexr? ( media-libs/openexr )
phonon? ( media-libs/phonon[qt5] )
@@ -53,19 +54,18 @@ COMMON_DEPEND="
"
RDEPEND="${COMMON_DEPEND}
$(add_frameworks_dep kded)
- !<kde-apps/kcontrol-15.08.0-r1:4
- !<kde-frameworks/kactivities-5.20.0
"
DEPEND="${COMMON_DEPEND}
x11-misc/shared-mime-info
"
# requires running kde environment
-RESTRICT="test"
+RESTRICT+=" test"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package exif Exiv2)
+ $(cmake-utils_use_find_package htmlthumbs Qt5WebEngineWidgets)
$(cmake-utils_use_find_package mtp Mtp)
$(cmake-utils_use_find_package openexr OpenEXR)
$(cmake-utils_use_find_package phonon Phonon4Qt5)
diff --git a/kde-apps/kio-extras/metadata.xml b/kde-apps/kio-extras/metadata.xml
index cd4455e17c3..75cdaad7c2e 100644
--- a/kde-apps/kio-extras/metadata.xml
+++ b/kde-apps/kio-extras/metadata.xml
@@ -6,6 +6,7 @@
<name>Gentoo KDE Project</name>
</maintainer>
<use>
+ <flag name="htmlthumbs">Enable HTML thumbnail previews via <pkg>dev-qt/qtwebengine</pkg></flag>
<flag name="phonon">Enable file audio preview plugin using <pkg>media-libs/phonon</pkg></flag>
<flag name="sftp">Enable SFTP protocol support using <pkg>net-libs/libssh</pkg></flag>
</use>