/[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.4 Revision 1.6
1# Copyright 2007-2008 Gentoo Foundation 1# Copyright 2007-2008 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.4 2008/03/10 21:41:56 zlin Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.6 2008/03/26 20:39:05 zlin 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.0 ebuilds 8# @BLURB: This eclass provides functions for kde 4.0 ebuilds
269 x11-libs/qt-core:4 debug 269 x11-libs/qt-core:4 debug
270 x11-libs/qt-gui:4 debug 270 x11-libs/qt-gui:4 debug
271 x11-libs/qt-qt3support:4 debug 271 x11-libs/qt-qt3support:4 debug
272 x11-libs/qt-svg:4 debug 272 x11-libs/qt-svg:4 debug
273 x11-libs/qt-test:4 debug" 273 x11-libs/qt-test:4 debug"
274 if [[ ${OPENGL_REQUIRED} == always ]] || has opengl ${IUSE//+} && use opengl; then 274 if has opengl ${IUSE//+} && use opengl || [[ ${OPENGL_REQUIRED} == always ]]; then
275 KDE4_BUILT_WITH_USE_CHECK="${KDE4_BUILT_WITH_USE_CHECK} 275 KDE4_BUILT_WITH_USE_CHECK="${KDE4_BUILT_WITH_USE_CHECK}
276 x11-libs/qt-opengl:4 debug" 276 x11-libs/qt-opengl:4 debug"
277 fi 277 fi
278 fi 278 fi
279 fi 279 fi
280 280
281 if [[ ${OPENGL_REQUIRED} == always ]] || has opengl ${IUSE//+} && use opengl; then 281 if has opengl ${IUSE//+} && use opengl || [[ ${OPENGL_REQUIRED} == always ]]; then
282 if has_version '<x11-libs/qt-4.4.0_alpha:4'; then 282 if has_version '<x11-libs/qt-4.4.0_alpha:4'; then
283 QT4_BUILT_WITH_USE_CHECK="${QT4_BUILT_WITH_USE_CHECK} opengl" 283 QT4_BUILT_WITH_USE_CHECK="${QT4_BUILT_WITH_USE_CHECK} opengl"
284 fi 284 fi
285 fi 285 fi
286 286
378kde4-base_src_configure() { 378kde4-base_src_configure() {
379 debug-print-function ${FUNCNAME} "$@" 379 debug-print-function ${FUNCNAME} "$@"
380 380
381 # Final flag handling 381 # Final flag handling
382 if has kdeenablefinal ${IUSE//+} && use kdeenablefinal; then 382 if has kdeenablefinal ${IUSE//+} && use kdeenablefinal; then
383 einfo "Activating enable-final flag" 383 echo "Activating enable-final flag"
384 mycmakeargs="${mycmakeargs} -DKDE4_ENABLE_FINAL=ON" 384 mycmakeargs="${mycmakeargs} -DKDE4_ENABLE_FINAL=ON"
385 fi 385 fi
386 386
387 # Enable generation of HTML handbook 387 # Enable generation of HTML handbook
388 if has htmlhandbook ${IUSE//+} && use htmlhandbook; then 388 if has htmlhandbook ${IUSE//+} && use htmlhandbook; then
389 einfo "Enabling building of HTML handbook" 389 echo "Enabling building of HTML handbook"
390 mycmakeargs="${mycmakeargs} -DKDE4_ENABLE_HTMLHANDBOOK=ON" 390 mycmakeargs="${mycmakeargs} -DKDE4_ENABLE_HTMLHANDBOOK=ON"
391 fi 391 fi
392 392
393 # Build tests in src_test only, where we override this value 393 # Build tests in src_test only, where we override this value
394 mycmakeargs="${mycmakeargs} -DKDE4_BUILD_TESTS=OFF" 394 mycmakeargs="${mycmakeargs} -DKDE4_BUILD_TESTS=OFF"

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20