summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2016-05-18 10:05:14 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-11-14 21:43:23 +0100
commit789b0479b187e0940f2ddc6367a4c53f8cb09129 (patch)
tree811894328753f8d1945739a0aceebcadf98ebad6 /eclass
parentprofiles: Add kde-apps/{kanagram,kdepim-runtime} to p.use.stable.mask (diff)
downloadgentoo-789b0479b187e0940f2ddc6367a4c53f8cb09129.tar.gz
gentoo-789b0479b187e0940f2ddc6367a4c53f8cb09129.tar.bz2
gentoo-789b0479b187e0940f2ddc6367a4c53f8cb09129.zip
kde5.eclass: Add icons as runtime dependency
Most applications use icons at runtime, so add them when KDE_AUTODEPS is enabled. Bug: https://bugs.gentoo.org/564838
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde5.eclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 17b480c44e33..f1538e297e05 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -196,6 +196,11 @@ case ${KDE_AUTODEPS} in
RDEPEND+=" >=kde-frameworks/kf-env-4"
COMMONDEPEND+=" $(add_qt_dep qtcore)"
+ # all packages need breeze/oxygen icons for basic iconset, bug #564838
+ if [[ ${PN} != breeze-icons && ${PN} != oxygen-icons ]]; then
+ RDEPEND+=" || ( $(add_frameworks_dep breeze-icons) kde-frameworks/oxygen-icons:* )"
+ fi
+
case ${CATEGORY} in
kde-frameworks | \
kde-plasma)