summaryrefslogtreecommitdiff
path: root/eclass/kde4-base.eclass
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2013-03-28 04:11:46 +1100
committerMichael Palimaka <kensington@gentoo.org>2013-03-28 04:11:46 +1100
commit0232c5a0654a17f9693d9c27fb4592081563f395 (patch)
tree8ca3be13f28e3b2e891b2c22b0bde1d8abcbcae1 /eclass/kde4-base.eclass
parent1b4c30e22109fc2930f0754c389a91c4ac2ecc78 (diff)
downloadkde-0232c5a0654a17f9693d9c27fb4592081563f395.tar.gz
kde-0232c5a0654a17f9693d9c27fb4592081563f395.tar.bz2
kde-0232c5a0654a17f9693d9c27fb4592081563f395.zip
[eclass] Work around upstream by always pulling in certain dependencies for kde-workspace.
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).