/[gentoo-x86]/eclass/wxwidgets.eclass
Gentoo

Diff of /eclass/wxwidgets.eclass

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

Revision 1.37 Revision 1.38
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/wxwidgets.eclass,v 1.37 2013/11/16 13:05:11 dirtyepic Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/wxwidgets.eclass,v 1.38 2013/12/30 08:25:35 dirtyepic Exp $
4 4
5# @ECLASS: wxwidgets.eclass 5# @ECLASS: wxwidgets.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# wxwidgets@gentoo.org 7# wxwidgets@gentoo.org
8# @BLURB: Manages build configuration for wxGTK-using packages. 8# @BLURB: Manages build configuration for wxGTK-using packages.
92 eerror "WX_GTK_VER must be set before calling $FUNCNAME." 92 eerror "WX_GTK_VER must be set before calling $FUNCNAME."
93 echo 93 echo
94 die 94 die
95 fi 95 fi
96 96
97 if [[ ${WX_GTK_VER} != 2.8 && ${WX_GTK_VER} != 2.9 ]]; then 97 if [[ ${WX_GTK_VER} != 2.8 && ${WX_GTK_VER} != 2.9 && ${WX_GTK_VER} != 3.0 ]]; then
98 eerror "Invalid WX_GTK_VER: ${WX_GTK_VER} - must be set to a valid wxGTK SLOT." 98 eerror "Invalid WX_GTK_VER: ${WX_GTK_VER} - must be set to a valid wxGTK SLOT."
99 echo 99 echo
100 die 100 die
101 fi 101 fi
102 102
103 case $1 in 103 case $1 in
104 unicode|base-unicode) ;; 104 unicode|base-unicode) ;;
105 *) eerror "Invalid $FUNCNAME profile: $1" 105 *) eerror "Invalid $FUNCNAME profile: $1"
113 wxtoolkit="gtk2" 113 wxtoolkit="gtk2"
114 else 114 else
115 wxtoolkit="base" 115 wxtoolkit="base"
116 fi 116 fi
117 117
118 # 2.8 has a separate debug tuple 118 # 2.8 has a separate debug element
119 if [[ ${WX_GTK_VER} == 2.8 ]]; then 119 if [[ ${WX_GTK_VER} == 2.8 ]]; then
120 if has_version "x11-libs/wxGTK:${WX_GTK_VER}[debug]"; then 120 if has_version "x11-libs/wxGTK:${WX_GTK_VER}[debug]"; then
121 wxdebug="debug-" 121 wxdebug="debug-"
122 else 122 else
123 wxdebug="release-" 123 wxdebug="release-"

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

  ViewVC Help
Powered by ViewVC 1.1.20