app-text/coolreader: depend on dev-qt/linguist-tools:5
authorAndrey Grozin <grozin@gentoo.org>
Thu, 23 Aug 2018 11:36:50 +0000 (18:36 +0700)
committerAndrey Grozin <grozin@gentoo.org>
Thu, 23 Aug 2018 11:36:50 +0000 (18:36 +0700)
Closes: https://bugs.gentoo.org/664218
Package-Manager: Portage-2.3.41, Repoman-2.3.9

app-text/coolreader/coolreader-3.2.2.1.ebuild

index 3d97d3b6b4e77a129384330f9e238110bcc5dc8b..caf405eb15012b0e92f17d25243e5558373c088d 100644 (file)
@@ -12,6 +12,7 @@ if [ "${PV}" != 9999 ]
 then
        # git tag cr3.2.2-1
        SRC_URI="https://github.com/buggins/${PN}/archive/cr${CR_PV}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}/${PN}-cr${CR_PV}"
 else
        inherit git-r3
        # github mirror has some new commits to fix page margins settings
@@ -34,12 +35,10 @@ DEPEND="sys-libs/zlib
        virtual/jpeg:0
        media-libs/freetype
        wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER} )
-       !wxwidgets? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtwidgets:5 )"
+       !wxwidgets? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtwidgets:5 dev-qt/linguist-tools:5 )"
 RDEPEND="${DEPEND}
        wxwidgets? ( || ( media-fonts/liberation-fonts media-fonts/corefonts ) )"
 
-S="${WORKDIR}/${PN}-cr${CR_PV}"
-
 for lang in ${PLOCALES}; do
        IUSE="${IUSE} l10n_${lang}"
 done