commit:     4faa24b11e8d736aa7382768c8419503af348e20
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 19 10:55:15 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Aug 19 10:55:36 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4faa24b1

mail-client/claws-mail: Minor live ebuild improvements

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 mail-client/claws-mail/claws-mail-9999.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/mail-client/claws-mail/claws-mail-9999.ebuild 
b/mail-client/claws-mail/claws-mail-9999.ebuild
index e968982b5db..3633ad0400d 100644
--- a/mail-client/claws-mail/claws-mail-9999.ebuild
+++ b/mail-client/claws-mail/claws-mail-9999.ebuild
@@ -9,9 +9,9 @@ inherit autotools desktop python-single-r1 xdg
 DESCRIPTION="An email client (and news reader) based on GTK+"
 HOMEPAGE="https://www.claws-mail.org/";
 
-if [[ "${PV}" == 9999 ]] ; then
+if [[ "${PV}" == *9999 ]] ; then
        inherit git-r3
-       EGIT_REPO_URI="git://git.claws-mail.org/claws.git"
+       EGIT_REPO_URI="https://git.claws-mail.org/readonly/claws.git";
 else
        
SRC_URI="https://www.claws-mail.org/download.php?file=releases/${P}.tar.xz";
        KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
@@ -117,7 +117,7 @@ PATCHES=(
 pkg_setup() {
        use python && python-single-r1_pkg_setup
 
-       if ! use gtk2 ; then
+       if [[ "${PV}" == *9999 ]] && ! use gtk2 ; then
                EGIT_BRANCH="gtk3"
        fi
 }

Reply via email to