commit:     789b0479b187e0940f2ddc6367a4c53f8cb09129
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Wed May 18 08:05:14 2016 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Nov 14 20:43:23 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=789b0479

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

 eclass/kde5.eclass | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 17b480c44e3..f1538e297e0 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)

Reply via email to