summaryrefslogtreecommitdiff
path: root/eclass/kde4-base.eclass
diff options
context:
space:
mode:
authorTomáš Chvátal <scarabeus@gentoo.org>2009-05-30 12:44:05 +0200
committerTomáš Chvátal <scarabeus@gentoo.org>2009-05-30 12:44:05 +0200
commit986639da8eedbdcaeb3499f1805392f389fb05e1 (patch)
tree705d07eafab9c4a4c4180e9a5945cdb5f5a35162 /eclass/kde4-base.eclass
parent041a8e71f6b1d10af810b10fc427b09bce7f1401 (diff)
downloadkde-986639da8eedbdcaeb3499f1805392f389fb05e1.tar.gz
kde-986639da8eedbdcaeb3499f1805392f389fb05e1.tar.bz2
kde-986639da8eedbdcaeb3499f1805392f389fb05e1.zip
Allow variable enforcing qt version.
Diffstat (limited to 'eclass/kde4-base.eclass')
-rw-r--r--eclass/kde4-base.eclass24
1 files changed, 15 insertions, 9 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index 382d305bf6a..5d95db918c0 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -82,9 +82,15 @@ if [[ -n ${NEED_KDE} ]]; then
esac
fi
+# @ECLASS-VARIABLE: QT_DEPEND
+# @DESCRIPTION:
+# Determine version of qt we enforce as minimal for the package. 4.4.0 4.5.1..
+# Currently defaults to 4.5.1
+QT_DEPEND="${QT_DEPEND:-4.5.1}"
+
# OpenGL dependencies
qtopengldepend="
- x11-libs/qt-opengl:4
+ x11-libs/qt-opengl-${QT_DEPEND}:4
"
case ${OPENGL_REQUIRED} in
always)
@@ -102,7 +108,7 @@ unset qtopengldepend
# WebKit dependencies
qtwebkitdepend="
- x11-libs/qt-webkit:4
+ x11-libs/qt-webkit-${QT_DEPEND}:4
"
case ${WEBKIT_REQUIRED} in
always)
@@ -211,13 +217,13 @@ kdecommondepend="
x11-libs/libXext
x11-libs/libXt
x11-libs/libXxf86vm
- x11-libs/qt-core:4[qt3support,ssl]
- x11-libs/qt-gui:4[accessibility,dbus]
- x11-libs/qt-qt3support:4[accessibility]
- x11-libs/qt-script:4
- x11-libs/qt-sql:4[qt3support]
- x11-libs/qt-svg:4
- x11-libs/qt-test:4
+ >=x11-libs/qt-core-${QT_DEPEND}:4[qt3support,ssl]
+ >=x11-libs/qt-gui-${QT_DEPEND}:4[accessibility,dbus]
+ >=x11-libs/qt-qt3support-${QT_DEPEND}:4[accessibility]
+ >=x11-libs/qt-script-${QT_DEPEND}:4
+ >=x11-libs/qt-sql-${QT_DEPEND}:4[qt3support]
+ >=x11-libs/qt-svg-${QT_DEPEND}:4
+ >=x11-libs/qt-test-${QT_DEPEND}:4
"
if [[ ${PN} != kdelibs ]]; then
if [[ ${KDEBASE} = kde-base ]]; then