1 |
commit: 789b0479b187e0940f2ddc6367a4c53f8cb09129 |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 18 08:05:14 2016 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 14 20:43:23 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=789b0479 |
7 |
|
8 |
kde5.eclass: Add icons as runtime dependency |
9 |
|
10 |
Most applications use icons at runtime, so add them when KDE_AUTODEPS is |
11 |
enabled. |
12 |
|
13 |
Bug: https://bugs.gentoo.org/564838 |
14 |
|
15 |
eclass/kde5.eclass | 5 +++++ |
16 |
1 file changed, 5 insertions(+) |
17 |
|
18 |
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass |
19 |
index 17b480c44e3..f1538e297e0 100644 |
20 |
--- a/eclass/kde5.eclass |
21 |
+++ b/eclass/kde5.eclass |
22 |
@@ -196,6 +196,11 @@ case ${KDE_AUTODEPS} in |
23 |
RDEPEND+=" >=kde-frameworks/kf-env-4" |
24 |
COMMONDEPEND+=" $(add_qt_dep qtcore)" |
25 |
|
26 |
+ # all packages need breeze/oxygen icons for basic iconset, bug #564838 |
27 |
+ if [[ ${PN} != breeze-icons && ${PN} != oxygen-icons ]]; then |
28 |
+ RDEPEND+=" || ( $(add_frameworks_dep breeze-icons) kde-frameworks/oxygen-icons:* )" |
29 |
+ fi |
30 |
+ |
31 |
case ${CATEGORY} in |
32 |
kde-frameworks | \ |
33 |
kde-plasma) |