summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2012-03-24 20:44:51 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2012-03-24 20:44:51 +0000
commit3ab7f1f93d886ec1b416c2708d51e15659bcd22f (patch)
tree8fb24e46b64818406c717a641d4a8ecc99c1761b /eclass/kde4-meta.eclass
parentVersion bump for dev channel release. Remove old. (diff)
downloadgentoo-2-3ab7f1f93d886ec1b416c2708d51e15659bcd22f.tar.gz
gentoo-2-3ab7f1f93d886ec1b416c2708d51e15659bcd22f.tar.bz2
gentoo-2-3ab7f1f93d886ec1b416c2708d51e15659bcd22f.zip
Make opengl dependency soft in kde-workspace (except kwin)
Diffstat (limited to 'eclass/kde4-meta.eclass')
-rw-r--r--eclass/kde4-meta.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/kde4-meta.eclass b/eclass/kde4-meta.eclass
index e21e734da527..2fc7b37266db 100644
--- a/eclass/kde4-meta.eclass
+++ b/eclass/kde4-meta.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.60 2012/03/06 22:23:51 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.61 2012/03/24 20:44:51 dilfridge Exp $
#
# @ECLASS: kde4-meta.eclass
# @MAINTAINER:
@@ -573,6 +573,10 @@ kde4-meta_change_cmakelists() {
sed -e '/KActivities/s/REQUIRED//' \
-i CMakeLists.txt || die "${LINENO}: sed died in kde-workspace dep reduction section"
fi
+ if [[ "${PN}" != "kwin" ]]; then
+ sed -i -e "/^ macro_log_feature(OPENGL_OR_ES_FOUND/s/TRUE/FALSE/" \
+ "${S}"/CMakeLists.txt || die "${LINENO}: sed died removing kde-workspace opengl dependency"
+ fi
;;
kdebase-runtime | kde-runtime)
# COLLISION PROTECT section