diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2010-06-26 16:02:18 +0000 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2010-06-26 16:02:18 +0000 |
commit | efe6a2d67b035532291ce6eaac83b030ba93cf3e (patch) | |
tree | f9b7518d5204231afc3a84538a2b7e9b1d9d6c4d /eclass | |
parent | Sort IUSE. (diff) | |
download | gentoo-2-efe6a2d67b035532291ce6eaac83b030ba93cf3e.tar.gz gentoo-2-efe6a2d67b035532291ce6eaac83b030ba93cf3e.tar.bz2 gentoo-2-efe6a2d67b035532291ce6eaac83b030ba93cf3e.zip |
Add comment for accessibility USE dep on qt-gui, qt-qt3support, sync kdevelop eclass updates from overlay
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kde4-base.eclass | 37 |
1 files changed, 30 insertions, 7 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass index 69f7201390c3..ffe2838f7cba 100644 --- a/eclass/kde4-base.eclass +++ b/eclass/kde4-base.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.64 2010/06/26 01:33:21 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.65 2010/06/26 16:02:18 reavertm Exp $ # @ECLASS: kde4-base.eclass # @MAINTAINER: @@ -75,17 +75,29 @@ case ${KDEBASE} in ;; kdevelop) if [[ ${BUILD_TYPE} = live ]]; then - KDEVELOP_VERSION="9999" - KDEVPLATFORM_VERSION="9999" + # @ECLASS-VARIABLE: KDEVELOP_VERSION + # @DESCRIPTION: + # Specifies KDevelop version. Default is 4.0.0 for tagged packages and 9999 for live packages. + # Applies to KDEBASE=kdevelop only. + KDEVELOP_VERSION="${KDEVELOP_VERSION:-9999}" + # @ECLASS-VARIABLE: KDEVPLATFORM_VERSION + # @DESCRIPTION: + # Specifies KDevplatform version. Default is 1.0.0 for tagged packages and 9999 for live packages. + # Applies to KDEBASE=kdevelop only. + KDEVPLATFORM_VERSION="${KDEVPLATFORM_VERSION:-9999}" else case ${PN} in kdevelop|quanta) KDEVELOP_VERSION=${PV} KDEVPLATFORM_VERSION="$(($(get_major_version)-3)).$(get_after_major_version)" ;; - *) + kdevplatform) KDEVELOP_VERSION="$(($(get_major_version)+3)).$(get_after_major_version)" KDEVPLATFORM_VERSION=${PV} + ;; + *) + KDEVELOP_VERSION="${KDEVELOP_VERSION:-4.0.0}" + KDEVPLATFORM_VERSION="${KDEVPLATFORM_VERSION:-1.0.0}" esac fi SLOT="4" @@ -259,6 +271,7 @@ esac unset cppuintdepend # KDE dependencies +# Qt accessibility classes are needed in various places, bug 325461 kdecommondepend=" >=x11-libs/qt-core-${QT_MINIMAL}:4[qt3support,ssl] >=x11-libs/qt-gui-${QT_MINIMAL}:4[accessibility,dbus] @@ -288,9 +301,19 @@ if [[ ${PN} != kdelibs ]]; then " if [[ ${KDEBASE} = kdevelop ]]; then if [[ ${PN} != kdevplatform ]]; then - kdecommondepend+=" - >=dev-util/kdevplatform-${KDEVPLATFORM_VERSION} - " + # @ECLASS-VARIABLE: KDEVPLATFORM_REQUIRED + # @DESCRIPTION: + # Specifies whether kdevplatform is required. Possible values are 'always' (default) and 'never'. + # Applies to KDEBASE=kdevelop only. + KDEVPLATFORM_REQUIRED="${KDEVPLATFORM_REQUIRED:-always}" + case ${KDEVPLATFORM_REQUIRED} in + always) + kdecommondepend+=" + >=dev-util/kdevplatform-${KDEVPLATFORM_VERSION} + " + ;; + *) ;; + esac fi fi fi |