summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-apps/okular/metadata.xml1
-rw-r--r--kde-apps/okular/okular-17.04.2.ebuild6
2 files changed, 4 insertions, 3 deletions
diff --git a/kde-apps/okular/metadata.xml b/kde-apps/okular/metadata.xml
index 0a06fc744c3f..f7aaf444aa2d 100644
--- a/kde-apps/okular/metadata.xml
+++ b/kde-apps/okular/metadata.xml
@@ -8,6 +8,7 @@
<use>
<flag name="chm">Enable support for Microsoft Compiled HTML Help files</flag>
<flag name="ebook">Add E-Book support</flag>
+ <flag name="epub">Add E-Book support via <pkg>app-text/ebook-tools</pkg></flag>
<flag name="image-backend">Enable image viewing support</flag>
<flag name="mobi">Add mobipocket support</flag>
<flag name="mobile">Enable Plasma mobile support</flag>
diff --git a/kde-apps/okular/okular-17.04.2.ebuild b/kde-apps/okular/okular-17.04.2.ebuild
index 6981d0540940..c9f7f35e22cd 100644
--- a/kde-apps/okular/okular-17.04.2.ebuild
+++ b/kde-apps/okular/okular-17.04.2.ebuild
@@ -11,7 +11,7 @@ inherit kde5
DESCRIPTION="Universal document viewer based on KDE Frameworks"
HOMEPAGE="https://okular.kde.org https://www.kde.org/applications/graphics/okular"
KEYWORDS="~amd64 ~x86"
-IUSE="chm crypt djvu ebook +image-backend mobi mobile +pdf plucker +postscript speech +tiff"
+IUSE="chm crypt djvu epub +image-backend mobi mobile +pdf plucker +postscript speech +tiff"
DEPEND="
$(add_frameworks_dep kactivities)
@@ -41,7 +41,7 @@ DEPEND="
)
crypt? ( app-crypt/qca:2[qt5] )
djvu? ( app-text/djvu )
- ebook? ( app-text/ebook-tools )
+ epub? ( app-text/ebook-tools )
image-backend? (
$(add_kdeapps_dep libkexiv2)
$(add_qt_dep qtgui 'gif,jpeg,png')
@@ -72,7 +72,7 @@ src_configure() {
$(cmake-utils_use_find_package chm CHM)
$(cmake-utils_use_find_package crypt Qca-qt5)
$(cmake-utils_use_find_package djvu DjVuLibre)
- $(cmake-utils_use_find_package ebook EPub)
+ $(cmake-utils_use_find_package epub EPub)
$(cmake-utils_use_find_package image-backend KF5KExiv2)
$(cmake-utils_use_find_package mobi QMobipocket)
$(cmake-utils_use_find_package pdf Poppler)