summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-11-10 18:02:06 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-11-10 22:30:21 +0100
commitaa612de84bec0ee1508b4bf868320d6df1fb7f9b (patch)
treec99583c7e903a64bc3079117d376c20cad03971b
parentkde.org.eclass: Branching for kde-apps/ switched to "release/YY.MM" (diff)
downloadgentoo-aa612de84bec0ee1508b4bf868320d6df1fb7f9b.tar.gz
gentoo-aa612de84bec0ee1508b4bf868320d6df1fb7f9b.tar.bz2
gentoo-aa612de84bec0ee1508b4bf868320d6df1fb7f9b.zip
kde.org.eclass: Standard HOMEPAGE for kde-plasma and kde-frameworks
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--eclass/kde.org.eclass17
1 files changed, 12 insertions, 5 deletions
diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass
index 17f7bcbfe6d..8e13232bb9d 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=( )
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