diff options
author | Andrey Grozin <grozin@gentoo.org> | 2017-08-31 21:16:36 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2017-08-31 21:16:36 +0700 |
commit | 4c6980c13beb88ed0c758e1334191e012e3a7548 (patch) | |
tree | 813d0855b63543c5b57f6d882b9bc1aca5e00cd6 /app-text/coolreader | |
parent | media-libs/openctm: prefix support (diff) | |
download | gentoo-4c6980c13beb88ed0c758e1334191e012e3a7548.tar.gz gentoo-4c6980c13beb88ed0c758e1334191e012e3a7548.tar.bz2 gentoo-4c6980c13beb88ed0c758e1334191e012e3a7548.zip |
app-text/coolreader: USE flag corefonts added
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'app-text/coolreader')
-rw-r--r-- | app-text/coolreader/coolreader-3.1.2.71.ebuild | 10 | ||||
-rw-r--r-- | app-text/coolreader/metadata.xml | 3 |
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 4e0282b7ebdd..bd78feec198d 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 afd1b4bc9da9..0d1bc31e137a 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> |