summaryrefslogtreecommitdiff
path: root/eclass/kde4-base.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/kde4-base.eclass')
-rw-r--r--eclass/kde4-base.eclass22
1 files changed, 22 insertions, 0 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index 3d76ac30f6d..0eba2aa355f 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -376,6 +376,28 @@ case ${KDE_SELINUX_MODULE} in
;;
esac
+# These dependencies are added as they are unconditionally required by kde-workspace.
+# They are not necessarily required by individual applications but are pulled in to prevent
+# bugs like bug #444438. This list is subject to change in the future so do not rely on it
+# in ebuilds - always set correct dependencies.
+case ${KMNAME} in
+ kde-workspace)
+ kdedepend+="
+ x11-libs/xcb-util
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXfixes
+ x11-libs/libxkbfile
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ "
+ ;;
+ *)
+ ;;
+esac
+
# We always need the aqua useflag because otherwise we cannot = refer to it inside
# add_kdebase_dep. This was always kind of a bug, but came to light with EAPI=5
# (where referring to a use flag not in IUSE masks the ebuild).