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

Diff of /eclass/wxwidgets.eclass

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

Revision 1.7 Revision 1.8
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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.7 2005/05/02 16:43:58 pythonhead Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/wxwidgets.eclass,v 1.8 2005/05/03 07:55:17 pythonhead Exp $
4# 4#
5# Author Rob Cakebread <pythonhead@gentoo.org> 5# Author Rob Cakebread <pythonhead@gentoo.org>
6 6
7# This eclass helps you find the correct wx-config script so ebuilds 7# This eclass helps you find the correct wx-config script so ebuilds
8# can use gtk, gtk2 or gtk2+unicode versions of wxGTK 8# can use gtk, gtk2 or gtk2+unicode versions of wxGTK
27 #If you want to use wxGTK-2.6* export WX_GTK_VER in your ebuild: 27 #If you want to use wxGTK-2.6* export WX_GTK_VER in your ebuild:
28 if [ "${WX_GTK_VER}" = "2.6" ]; then 28 if [ "${WX_GTK_VER}" = "2.6" ]; then
29 case $1 in 29 case $1 in
30 gtk) set-wxconfig gtk-ansi;; 30 gtk) set-wxconfig gtk-ansi;;
31 gtk2) set-wxconfig gtk2-ansi;; 31 gtk2) set-wxconfig gtk2-ansi;;
32 gtk2-unicode) set-wxconfig gtk2-unicode;; 32 unicode) set-wxconfig gtk2-unicode;;
33 base) set-wxconfig base-ansi;; 33 base) set-wxconfig base-ansi;;
34 base-unicode) set-wxconfig base-unicode;; 34 base-unicode) set-wxconfig base-unicode;;
35 mac) set-wxconfig mac-ansi;; 35 mac) set-wxconfig mac-ansi;;
36 mac-unicode) set-wxconfig mac-unicode;; 36 mac-unicode) set-wxconfig mac-unicode;;
37 *) echo "!!! $FUNCNAME: Error: wxGTK was not comipled with $1." 37 *) echo "!!! $FUNCNAME: Error: wxGTK was not comipled with $1."

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20