kde.org.eclass: Standard HOMEPAGE for kde-plasma and kde-frameworks
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 10 Nov 2019 17:02:06 +0000 (18:02 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 10 Nov 2019 21:30:21 +0000 (22:30 +0100)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
eclass/kde.org.eclass

index 17f7bcbfe6db2e56a93077ded667c648f30873c8..8e13232bb9d1d9c1a1319266047ef2f2cf15e54e 100644 (file)
@@ -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=( )
 
 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