git » gnuplot.git » commit e7c7eed

Change wxgtk depends to wxgtk2.8 (close FS#38505)

author Eric Bélanger
2014-01-15 04:17:58 UTC
committer Eric Bélanger
2014-01-15 04:17:58 UTC
parent b93979560eff4fe654fd538c733c8fc5c1917d20

Change wxgtk depends to wxgtk2.8 (close FS#38505)

PKGBUILD +3 -3

diff --git a/PKGBUILD b/PKGBUILD
index 0d035b4..de93733 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,12 +4,12 @@
 
 pkgname=gnuplot
 pkgver=4.6.4
-pkgrel=4
+pkgrel=5
 pkgdesc="Plotting package which outputs to X11, PostScript, PNG, GIF, and others" 
 arch=('i686' 'x86_64') 
 url="http://www.gnuplot.info" 
 license=('custom') 
-depends=('readline' 'gd' 'wxgtk' 'cairo' 'libjpeg' 'lua' 'qt4' 'gnutls') 
+depends=('readline' 'gd' 'wxgtk2.8' 'cairo' 'libjpeg' 'lua' 'qt4' 'gnutls') 
 makedepends=('texinfo' 'emacs' 'texlive-core' 'texlive-latexextra')
 options=('!makeflags')
 install=gnuplot.install 
@@ -30,7 +30,7 @@ prepare() {
 build() {
   cd "$srcdir/$pkgname-$pkgver"
 
-  ./configure --prefix=/usr \
+   WX_CONFIG=/usr/bin/wx-config-2.8 ./configure --prefix=/usr \
               --libexecdir=/usr/bin \
               --with-gihdir=/usr/share/gnuplot \
               --with-readline=gnu --enable-qt