summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2006-11-13 02:49:20 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2006-11-13 02:49:20 +0000
commitc6adc197a3e29003d4a8e792785bca931c46c442 (patch)
treeeeb79c2b5d94a0c43f0690761a55b0d813d7dea1 /sci-visualization/gnuplot
parentremoved gabber from the tree (diff)
downloadgentoo-2-c6adc197a3e29003d4a8e792785bca931c46c442.tar.gz
gentoo-2-c6adc197a3e29003d4a8e792785bca931c46c442.tar.bz2
gentoo-2-c6adc197a3e29003d4a8e792785bca931c46c442.zip
(#154673) Properly support wxGTK rather than autodetecting it.
(Portage version: 2.1.2_rc1-r5)
Diffstat (limited to 'sci-visualization/gnuplot')
-rw-r--r--sci-visualization/gnuplot/ChangeLog6
-rw-r--r--sci-visualization/gnuplot/gnuplot-4.2_rc1.ebuild18
2 files changed, 19 insertions, 5 deletions
diff --git a/sci-visualization/gnuplot/ChangeLog b/sci-visualization/gnuplot/ChangeLog
index d9dbec214ee1..0946d1b6d768 100644
--- a/sci-visualization/gnuplot/ChangeLog
+++ b/sci-visualization/gnuplot/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-visualization/gnuplot
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.5 2006/10/10 21:48:15 g2boojum Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.6 2006/11/13 02:49:20 dberkholz Exp $
+
+ 13 Nov 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+ gnuplot-4.2_rc1.ebuild:
+ (#154673) Properly support wxGTK rather than autodetecting it.
*gnuplot-4.2_rc1 (10 Oct 2006)
diff --git a/sci-visualization/gnuplot/gnuplot-4.2_rc1.ebuild b/sci-visualization/gnuplot/gnuplot-4.2_rc1.ebuild
index 1d89518bff29..1e3a6a32c2a2 100644
--- a/sci-visualization/gnuplot/gnuplot-4.2_rc1.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-4.2_rc1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.2_rc1.ebuild,v 1.1 2006/10/10 21:48:15 g2boojum Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.2_rc1.ebuild,v 1.2 2006/11/13 02:49:20 dberkholz Exp $
-inherit eutils elisp-common
+inherit eutils elisp-common wxwidgets
MY_P="${P/_/.}"
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/gnuplot/${MY_P}.tar.gz"
LICENSE="gnuplot"
SLOT="0"
KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc-macos ppc64 s390 sparc x86"
-IUSE="doc emacs gd ggi pdf plotutils png readline svga X xemacs"
+IUSE="doc emacs gd ggi pdf plotutils png readline svga X xemacs wxwindows"
DEPEND="
xemacs? ( virtual/xemacs )
@@ -26,7 +26,11 @@ DEPEND="
X? ( || ( x11-libs/libXaw virtual/x11 ) )
svga? ( media-libs/svgalib )
readline? ( >=sys-libs/readline-4.2 )
- plotutils? ( media-libs/plotutils )"
+ plotutils? ( media-libs/plotutils )
+ wxwindows? ( =x11-libs/wxGTK-2.6*
+ >=x11-libs/cairo-0.9
+ >=x11-libs/pango-1.10.3
+ >=x11-libs/gtk+-2.8 )"
S=${WORKDIR}/${MY_P}
@@ -40,11 +44,17 @@ E_SITEFILE="50gnuplot-gentoo.el"
#}
src_compile() {
+ if use wxwindows; then
+ WX_GTK_VER="2.6"
+ need-wxwidgets unicode
+ fi
+
local myconf="--with-gihdir=/usr/share/${PN}/gih"
myconf="${myconf} $(use_with X x)"
myconf="${myconf} $(use_with svga linux-vga)"
myconf="${myconf} $(use_with gd)"
+ myconf="${myconf} $(use_with wxwindows wxwidgets)"
myconf="${myconf} $(use_with plotutils plot /usr/lib)"
myconf="${myconf} $(use_with png png /usr/lib)"
myconf="${myconf} $(use_with pdf pdf /usr/lib)"