/[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.66 Revision 1.67
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.66 2010/08/09 15:59:04 reavertm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.67 2010/08/12 19:32:23 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
648 if has debug ${IUSE//+} && use debug; then 650 if has debug ${IUSE//+} && use debug; then
649 # Set "real" debug mode 651 append-cppflags -DDEBUG
650 CMAKE_BUILD_TYPE="Debugfull"
651 else 652 else
652 # Handle common release builds 653 append-cppflags -DNDEBUG -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM
653 append-cppflags -DQT_NO_DEBUG 654 fi
654 fi 655 fi
655 656
656 # Set distribution name 657 # Set distribution name
657 [[ ${PN} = kdelibs ]] && cmakeargs+=(-DKDE_DISTRIBUTION_TEXT=Gentoo) 658 [[ ${PN} = kdelibs ]] && cmakeargs+=(-DKDE_DISTRIBUTION_TEXT=Gentoo)
658 659

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

  ViewVC Help
Powered by ViewVC 1.1.20