summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/coolreader')
-rw-r--r--app-text/coolreader/coolreader-3.1.2.71.ebuild10
-rw-r--r--app-text/coolreader/metadata.xml3
2 files changed, 9 insertions, 4 deletions
diff --git a/app-text/coolreader/coolreader-3.1.2.71.ebuild b/app-text/coolreader/coolreader-3.1.2.71.ebuild
index 4e0282b7ebd..bd78feec198 100644
--- a/app-text/coolreader/coolreader-3.1.2.71.ebuild
+++ b/app-text/coolreader/coolreader-3.1.2.71.ebuild
@@ -21,21 +21,23 @@ HOMEPAGE="https://sourceforge.net/projects/crengine/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="qt4 qt5 wxwidgets"
-REQUIRED_USE="^^ ( qt4 qt5 wxwidgets )"
+IUSE="qt4 qt5 wxwidgets corefonts"
+REQUIRED_USE="^^ ( qt4 qt5 wxwidgets )
+ wxwidgets? ( corefonts )"
DEPEND="sys-libs/zlib
media-libs/libpng:0
virtual/jpeg:0
media-libs/freetype
wxwidgets? (
- || ( x11-libs/wxGTK:3.0-gtk3 x11-libs/wxGTK:3.0 x11-libs/wxGTK:2.8 ) )
+ || ( x11-libs/wxGTK:3.0 x11-libs/wxGTK:2.8 ) )
qt4? ( dev-qt/qtcore:4
dev-qt/qtgui:4 )
qt5? ( dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5 )"
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+ corefonts? ( media-fonts/corefonts )"
src_prepare() {
# setting patch to save cr3.ini to ~homedir
diff --git a/app-text/coolreader/metadata.xml b/app-text/coolreader/metadata.xml
index afd1b4bc9da..0d1bc31e137 100644
--- a/app-text/coolreader/metadata.xml
+++ b/app-text/coolreader/metadata.xml
@@ -8,6 +8,9 @@
A fast and small cross-platform XML/CSS based eBook reader for desktops and handheld devices.
Supported formats: FB2, TXT, RTF, DOC, TCR, HTML, EPUB, CHM, PDB, MOBI.
</longdescription>
+ <use>
+ <flag name="corefonts">Use <pkg>media-fonts/corefonts</pkg></flag>
+ </use>
<upstream>
<remote-id type="sourceforge">crengine</remote-id>
</upstream>