summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2010-11-13 20:30:26 +0000
committerAlex Alexander <wired@gentoo.org>2010-11-13 20:30:26 +0000
commitc48b9eaa4c467e2b1006f04de0c5a652c5a4e6b8 (patch)
tree5701df3754a311773e48454969079071f6eea61b
parentalpha/ia64/sparc stable wrt #341865 (diff)
downloadgentoo-2-c48b9eaa4c467e2b1006f04de0c5a652c5a4e6b8.tar.gz
gentoo-2-c48b9eaa4c467e2b1006f04de0c5a652c5a4e6b8.tar.bz2
gentoo-2-c48b9eaa4c467e2b1006f04de0c5a652c5a4e6b8.zip
adjust qt4-build eclass for qgtkstyle
-rw-r--r--eclass/qt4-build.eclass10
1 files changed, 7 insertions, 3 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass
index eae1f8fc44bb..0c1f7c2b1830 100644
--- a/eclass/qt4-build.eclass
+++ b/eclass/qt4-build.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.85 2010/11/10 13:45:38 wired Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.86 2010/11/13 20:30:26 wired Exp $
# @ECLASS: qt4-build.eclass
# @MAINTAINER:
@@ -17,7 +17,9 @@ inherit base eutils multilib toolchain-funcs flag-o-matic versionator
MY_PV=${PV/_/-}
if version_is_at_least 4.5.99999999; then
MY_P=qt-everywhere-opensource-src-${MY_PV}
- [[ ${CATEGORY}/${PN} != x11-libs/qt-xmlpatterns ]] && IUSE="+exceptions"
+ [[ ${CATEGORY}/${PN} != x11-libs/qt-xmlpatterns ]] &&
+ [[ ${CATEGORY}/${PN} != x11-themes/qgtkstyle ]] &&
+ IUSE="+exceptions"
else
MY_P=qt-x11-opensource-src-${MY_PV}
fi
@@ -26,7 +28,9 @@ HOMEPAGE="http://qt.nokia.com/"
SRC_URI="http://get.qt.nokia.com/qt/source/${MY_P}.tar.gz"
LICENSE="|| ( LGPL-2.1 GPL-3 )"
-IUSE+=" debug pch aqua"
+IUSE+=" debug"
+[[ ${CATEGORY}/${PN} != x11-themes/qgtkstyle ]] &&
+ IUSE+=" pch aqua"
RDEPEND="
!<x11-libs/qt-assistant-${PV}