/[gentoo-x86]/eclass/kde4-base.eclass
Gentoo

Diff of /eclass/kde4-base.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.123 Revision 1.124
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.123 2013/02/07 03:38:33 alexxy Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.124 2013/03/03 00:22:56 pesa Exp $
4 4
5# @ECLASS: kde4-base.eclass 5# @ECLASS: kde4-base.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# @BLURB: This eclass provides functions for kde 4.X ebuilds 8# @BLURB: This eclass provides functions for kde 4.X ebuilds
104unset buildsystem_eclass 104unset buildsystem_eclass
105unset export_fns 105unset export_fns
106 106
107# @ECLASS-VARIABLE: DECLARATIVE_REQUIRED 107# @ECLASS-VARIABLE: DECLARATIVE_REQUIRED
108# @DESCRIPTION: 108# @DESCRIPTION:
109# Is qt-declarative required? Possible values are 'always', 'optional' and 'never'. 109# Is qtdeclarative required? Possible values are 'always', 'optional' and 'never'.
110# This variable must be set before inheriting any eclasses. Defaults to 'never'. 110# This variable must be set before inheriting any eclasses. Defaults to 'never'.
111DECLARATIVE_REQUIRED="${DECLARATIVE_REQUIRED:-never}" 111DECLARATIVE_REQUIRED="${DECLARATIVE_REQUIRED:-never}"
112 112
113# @ECLASS-VARIABLE: QTHELP_REQUIRED 113# @ECLASS-VARIABLE: QTHELP_REQUIRED
114# @DESCRIPTION: 114# @DESCRIPTION:
115# Is qt-assistant required? Possible values are 'always', 'optional' and 'never'. 115# Is qthelp required? Possible values are 'always', 'optional' and 'never'.
116# This variable must be set before inheriting any eclasses. Defaults to 'never'. 116# This variable must be set before inheriting any eclasses. Defaults to 'never'.
117QTHELP_REQUIRED="${QTHELP_REQUIRED:-never}" 117QTHELP_REQUIRED="${QTHELP_REQUIRED:-never}"
118 118
119# @ECLASS-VARIABLE: OPENGL_REQUIRED 119# @ECLASS-VARIABLE: OPENGL_REQUIRED
120# @DESCRIPTION: 120# @DESCRIPTION:
121# Is qt-opengl required? Possible values are 'always', 'optional' and 'never'. 121# Is qtopengl required? Possible values are 'always', 'optional' and 'never'.
122# This variable must be set before inheriting any eclasses. Defaults to 'never'. 122# This variable must be set before inheriting any eclasses. Defaults to 'never'.
123OPENGL_REQUIRED="${OPENGL_REQUIRED:-never}" 123OPENGL_REQUIRED="${OPENGL_REQUIRED:-never}"
124 124
125# @ECLASS-VARIABLE: MULTIMEDIA_REQUIRED 125# @ECLASS-VARIABLE: MULTIMEDIA_REQUIRED
126# @DESCRIPTION: 126# @DESCRIPTION:
127# Is qt-multimedia required? Possible values are 'always', 'optional' and 'never'. 127# Is qtmultimedia required? Possible values are 'always', 'optional' and 'never'.
128# This variable must be set before inheriting any eclasses. Defaults to 'never'. 128# This variable must be set before inheriting any eclasses. Defaults to 'never'.
129MULTIMEDIA_REQUIRED="${MULTIMEDIA_REQUIRED:-never}" 129MULTIMEDIA_REQUIRED="${MULTIMEDIA_REQUIRED:-never}"
130 130
131# @ECLASS-VARIABLE: CPPUNIT_REQUIRED 131# @ECLASS-VARIABLE: CPPUNIT_REQUIRED
132# @DESCRIPTION: 132# @DESCRIPTION:
197 QT_MINIMAL="${QT_MINIMAL:-4.7.4}" 197 QT_MINIMAL="${QT_MINIMAL:-4.7.4}"
198fi 198fi
199 199
200# Declarative dependencies 200# Declarative dependencies
201qtdeclarativedepend=" 201qtdeclarativedepend="
202 >=x11-libs/qt-declarative-${QT_MINIMAL}:4 202 >=dev-qt/qtdeclarative-${QT_MINIMAL}:4
203" 203"
204case ${DECLARATIVE_REQUIRED} in 204case ${DECLARATIVE_REQUIRED} in
205 always) 205 always)
206 COMMONDEPEND+=" ${qtdeclarativedepend}" 206 COMMONDEPEND+=" ${qtdeclarativedepend}"
207 ;; 207 ;;
213esac 213esac
214unset qtdeclarativedepend 214unset qtdeclarativedepend
215 215
216# QtHelp dependencies 216# QtHelp dependencies
217qthelpdepend=" 217qthelpdepend="
218 >=x11-libs/qt-assistant-${QT_MINIMAL}:4 218 >=dev-qt/qthelp-${QT_MINIMAL}:4
219" 219"
220case ${QTHELP_REQUIRED} in 220case ${QTHELP_REQUIRED} in
221 always) 221 always)
222 COMMONDEPEND+=" ${qthelpdepend}" 222 COMMONDEPEND+=" ${qthelpdepend}"
223 ;; 223 ;;
228esac 228esac
229unset qthelpdepend 229unset qthelpdepend
230 230
231# OpenGL dependencies 231# OpenGL dependencies
232qtopengldepend=" 232qtopengldepend="
233 >=x11-libs/qt-opengl-${QT_MINIMAL}:4 233 >=dev-qt/qtopengl-${QT_MINIMAL}:4
234" 234"
235case ${OPENGL_REQUIRED} in 235case ${OPENGL_REQUIRED} in
236 always) 236 always)
237 COMMONDEPEND+=" ${qtopengldepend}" 237 COMMONDEPEND+=" ${qtopengldepend}"
238 ;; 238 ;;
244esac 244esac
245unset qtopengldepend 245unset qtopengldepend
246 246
247# MultiMedia dependencies 247# MultiMedia dependencies
248qtmultimediadepend=" 248qtmultimediadepend="
249 >=x11-libs/qt-multimedia-${QT_MINIMAL}:4 249 >=dev-qt/qtmultimedia-${QT_MINIMAL}:4
250" 250"
251case ${MULTIMEDIA_REQUIRED} in 251case ${MULTIMEDIA_REQUIRED} in
252 always) 252 always)
253 COMMONDEPEND+=" ${qtmultimediadepend}" 253 COMMONDEPEND+=" ${qtmultimediadepend}"
254 ;; 254 ;;
278 278
279# KDE dependencies 279# KDE dependencies
280# Qt accessibility classes are needed in various places, bug 325461 280# Qt accessibility classes are needed in various places, bug 325461
281kdecommondepend=" 281kdecommondepend="
282 dev-lang/perl 282 dev-lang/perl
283 >=x11-libs/qt-core-${QT_MINIMAL}:4[qt3support,ssl]
284 >=x11-libs/qt-dbus-${QT_MINIMAL}:4
285 >=x11-libs/qt-gui-${QT_MINIMAL}:4[accessibility,dbus]
286 >=x11-libs/qt-qt3support-${QT_MINIMAL}:4[accessibility] 283 >=dev-qt/qt3support-${QT_MINIMAL}:4[accessibility]
284 >=dev-qt/qtcore-${QT_MINIMAL}:4[qt3support,ssl]
285 >=dev-qt/qtdbus-${QT_MINIMAL}:4
286 >=dev-qt/qtgui-${QT_MINIMAL}:4[accessibility,dbus]
287 >=x11-libs/qt-script-${QT_MINIMAL}:4 287 >=dev-qt/qtscript-${QT_MINIMAL}:4
288 >=x11-libs/qt-sql-${QT_MINIMAL}:4[qt3support] 288 >=dev-qt/qtsql-${QT_MINIMAL}:4[qt3support]
289 >=x11-libs/qt-svg-${QT_MINIMAL}:4 289 >=dev-qt/qtsvg-${QT_MINIMAL}:4
290 >=x11-libs/qt-test-${QT_MINIMAL}:4 290 >=dev-qt/qttest-${QT_MINIMAL}:4
291 >=x11-libs/qt-webkit-${QT_MINIMAL}:4 291 >=dev-qt/qtwebkit-${QT_MINIMAL}:4
292 !aqua? ( 292 !aqua? (
293 x11-libs/libXext 293 x11-libs/libXext
294 x11-libs/libXt 294 x11-libs/libXt
295 x11-libs/libXxf86vm 295 x11-libs/libXxf86vm
296 x11-libs/libXcomposite 296 x11-libs/libXcomposite

Legend:
Removed from v.1.123  
changed lines
  Added in v.1.124

  ViewVC Help
Powered by ViewVC 1.1.20