summaryrefslogtreecommitdiff
path: root/eclass/kde5.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-03-24 17:22:19 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-03-24 17:22:19 +0000
commitaa3411e241a201d53a2689766fe419f2756819f3 (patch)
treecc19adfde0a10aab1ab566c8dfe3c1616e5cc390 /eclass/kde5.eclass
parentb7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (diff)
gentoo resync : 24.03.2019
Diffstat (limited to 'eclass/kde5.eclass')
-rw-r--r--eclass/kde5.eclass20
1 files changed, 11 insertions, 9 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index eaa81039183d..d7b5eb7f15e4 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -162,9 +162,9 @@ KDE_UNRELEASED=( )
if [[ ${KDEBASE} = kdevelop ]]; then
HOMEPAGE="https://www.kdevelop.org/"
elif [[ ${KMNAME} = kdepim ]]; then
- HOMEPAGE="https://www.kde.org/applications/office/kontact/"
+ HOMEPAGE="https://kde.org/applications/office/kontact/"
else
- HOMEPAGE="https://www.kde.org/"
+ HOMEPAGE="https://kde.org/"
fi
LICENSE="GPL-2"
@@ -205,11 +205,6 @@ case ${KDE_AUTODEPS} in
if [[ ${PN} != breeze-icons && ${PN} != oxygen-icons ]]; then
RDEPEND+=" || ( $(add_frameworks_dep breeze-icons) kde-frameworks/oxygen-icons:* )"
fi
-
- if [[ ${CATEGORY} = kde-apps && ${PV} = 18.08.3 ]]; then
- [[ ${KDE_BLOCK_SLOT4} = true ]] && RDEPEND+=" !kde-apps/${PN}:4"
- RDEPEND+=" !kde-apps/kde-l10n"
- fi
;;
esac
@@ -414,6 +409,10 @@ _calculate_live_repo() {
EGIT_BRANCH="Plasma/$(ver_cut 1-2)"
fi
+ if [[ ${PV} != 9999 && ${PN} = kdevelop* ]]; then
+ EGIT_BRANCH="$(ver_cut 1-2)"
+ fi
+
EGIT_REPO_URI="${EGIT_MIRROR}/${_kmname}"
}
@@ -702,8 +701,11 @@ kde5_src_install() {
# cmake can't find the tags and qthelp viewers can't find the docs
local p=$(best_version dev-qt/qtcore:5)
local pv=$(echo ${p/%-r[0-9]*/} | rev | cut -d - -f 1 | rev)
- if [[ -d ${ED%/}/usr/share/doc/qt-${pv} ]]; then
- docompress -x /usr/share/doc/qt-${pv}
+ if [[ ${pv} = 5.11* ]]; then
+ #todo: clean up trailing slash check when EAPI <7 is removed
+ if [[ -d ${ED%/}/usr/share/doc/qt-${pv} ]]; then
+ docompress -x /usr/share/doc/qt-${pv}
+ fi
fi
if [[ ${EAPI} = 6 ]]; then