/[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.67 Revision 1.68
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 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.67 2010/08/12 19:32:23 reavertm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.68 2010/08/13 05:05:40 reavertm 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
643 643
644 if has kdeenablefinal ${IUSE//+} && use kdeenablefinal; then 644 if has kdeenablefinal ${IUSE//+} && use kdeenablefinal; then
645 cmakeargs+=(-DKDE4_ENABLE_FINAL=ON) 645 cmakeargs+=(-DKDE4_ENABLE_FINAL=ON)
646 fi 646 fi
647 647
648 if [[ ${CMAKE_BUILD_TYPE} = Gentoo ]]; then
649 # Handle debug and release codepaths
650 if has debug ${IUSE//+} && use debug; then 648 if has debug ${IUSE//+} && use debug; then
651 append-cppflags -DDEBUG 649 # Set "real" debug mode
650 CMAKE_BUILD_TYPE="Debugfull"
652 else 651 else
653 append-cppflags -DNDEBUG -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM 652 # Handle common release builds
654 fi 653 append-cppflags -DQT_NO_DEBUG
655 fi 654 fi
656 655
657 # Set distribution name 656 # Set distribution name
658 [[ ${PN} = kdelibs ]] && cmakeargs+=(-DKDE_DISTRIBUTION_TEXT=Gentoo) 657 [[ ${PN} = kdelibs ]] && cmakeargs+=(-DKDE_DISTRIBUTION_TEXT=Gentoo)
659 658

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.68

  ViewVC Help
Powered by ViewVC 1.1.20