commit:     60deb392bb7477ec998b8b6cd29063063e3eab1b
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  3 01:14:23 2019 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Wed Apr  3 01:14:23 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60deb392

x11-libs/qscintilla: use the new canonical SRC_URI

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org>

 x11-libs/qscintilla/qscintilla-2.11.1.ebuild | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/x11-libs/qscintilla/qscintilla-2.11.1.ebuild 
b/x11-libs/qscintilla/qscintilla-2.11.1.ebuild
index 548fa9681dc..ae3d709bc0d 100644
--- a/x11-libs/qscintilla/qscintilla-2.11.1.ebuild
+++ b/x11-libs/qscintilla/qscintilla-2.11.1.ebuild
@@ -5,25 +5,30 @@ EAPI=7
 
 inherit flag-o-matic qmake-utils
 
-MY_P=QScintilla_gpl-${PV/_pre/.dev}
-
 DESCRIPTION="Qt port of Neil Hodgson's Scintilla C++ editor control"
 HOMEPAGE="https://www.riverbankcomputing.com/software/qscintilla/intro";
-SRC_URI="https://www.riverbankcomputing.com/static/Downloads/QScintilla/${MY_P}.tar.gz";
+
+MY_PN=QScintilla
+MY_P=${MY_PN}_gpl-${PV/_pre/.dev}
+if [[ ${PV} == *_pre* ]]; then
+       SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz";
+else
+       
SRC_URI="https://www.riverbankcomputing.com/static/Downloads/${MY_PN}/${PV}/${MY_P}.tar.gz";
+fi
 
 LICENSE="GPL-3"
 SLOT="0/15"
 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE="designer doc"
 
-DEPEND="
+RDEPEND="
        dev-qt/qtcore:5
        dev-qt/qtgui:5
        dev-qt/qtprintsupport:5
        dev-qt/qtwidgets:5
        designer? ( dev-qt/designer:5 )
 "
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}"
 
 S=${WORKDIR}/${MY_P}
 

Reply via email to