commit:     f322bb6aa817f6a6b62b4768aa2800995a0e1291
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 10 17:02:06 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Nov 10 17:06:52 2019 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=f322bb6a

kde.org.eclass: Standard HOMEPAGE for kde-plasma and kde-frameworks

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 eclass/kde.org.eclass | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass
index 27cec7cc3b..44b03b795e 100644
--- a/eclass/kde.org.eclass
+++ b/eclass/kde.org.eclass
@@ -55,11 +55,6 @@ case ${KDE_SELINUX_MODULE} in
                ;;
 esac
 
-if [[ ${CATEGORY} = kde-frameworks ]]; then
-       SLOT=5/${PV}
-       [[ ${KDE_BUILD_TYPE} = release ]] && SLOT=$(ver_cut 1)/$(ver_cut 1-2)
-fi
-
 # @ECLASS-VARIABLE: KDE_UNRELEASED
 # @INTERNAL
 # @DESCRIPTION
@@ -70,6 +65,18 @@ KDE_UNRELEASED=( kde-frameworks-5.64.0 kde-apps-19.08.3 )
 
 HOMEPAGE="https://kde.org/";
 
+case ${CATEGORY} in
+       kde-plasma)
+               HOMEPAGE="https://kde.org/plasma-desktop";
+               ;;
+       kde-frameworks)
+               HOMEPAGE="https://kde.org/products/frameworks/";
+               SLOT=5/${PV}
+               [[ ${KDE_BUILD_TYPE} = release ]] && SLOT=$(ver_cut 
1)/$(ver_cut 1-2)
+               ;;
+       *) ;;
+esac
+
 _kde_is_unreleased() {
        local pair
        for pair in "${KDE_UNRELEASED[@]}" ; do

Reply via email to