summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/coolreader/coolreader-3.1.2.71.ebuild')
-rw-r--r--app-text/coolreader/coolreader-3.1.2.71.ebuild10
1 files changed, 6 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