From 272927e6aa06b5e3b57a0fa696da8ae9cfbc7872 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 20 Nov 2014 11:41:14 +0100 Subject: [PATCH] wxPython: update to 3.0.1.1 --- srcpkgs/wxPython/template | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/srcpkgs/wxPython/template b/srcpkgs/wxPython/template index 14b220fd7ac..f40c7d635b0 100644 --- a/srcpkgs/wxPython/template +++ b/srcpkgs/wxPython/template @@ -1,24 +1,25 @@ -# Template build file for 'wxPython' +# Template file for 'wxPython' pkgname=wxPython -version=3.0.0.0 -revision=2 +version=3.0.1.1 +revision=1 wrksrc="${pkgname}-src-${version}" hostmakedepends="pkg-config" -makedepends="zlib-devel libpng-devel libjpeg-turbo-devel libXpm-devel - tiff-devel expat-devel libX11-devel libXinerama-devel GConf-devel cairo-devel - gtk+-devel MesaLib-devel glu-devel wxWidgets-devel python-devel gst-plugins-base-devel" +makedepends=" + zlib-devel libpng-devel libjpeg-turbo-devel tiff-devel expat-devel gtk+-devel + libSM-devel MesaLib-devel glu-devel webkit-gtk-devel gst-plugins-base-devel + libnotify-devel python-devel wxWidgets-devel" depends="python" -pycompile_module="wx-3.0-gtk2" +pycompile_module="wx-3.0-gtk2 wxversion.py" short_desc="The wxWidgets GUI toolkit library (Python Bindings)" maintainer="Juan RP " -homepage="http://www.wxwidgets.org/" +homepage="http://www.wxpython.org/" license="wxWindows" distfiles="${SOURCEFORGE_SITE}/wxpython/${pkgname}-src-${version}.tar.bz2" -checksum=af88695e820dd914e8375dc91ecb736f6fb605979bb38460ace61bbea494dc11 +checksum=d51463fe760e2fc00271678700c216809f9db32a6081a1808bd4b7c884dc0a32 nocross=yes pre_configure() { - mv wxPython/wx/tools/Editra/editra wxPython/wx/tools/Editra/Editra + mv wxPython/wx/tools/Editra/{editra,Editra} } do_configure() { @@ -31,18 +32,17 @@ do_configure() { do_build() { cd wxPython - python2.7 setup.py WXPORT=gtk2 UNICODE=1 build + python2.7 setup.py WX_CONFIG=wx-config-3.0 WXPORT=gtk2 UNICODE=1 build } do_install() { cd wxPython - python2.7 setup.py WXPORT=gtk2 UNICODE=1 install --root="${DESTDIR}" - vinstall ../docs/licence.txt 0644 \ - "usr/share/licenses/${pkgname}" LICENSE + python2.7 setup.py WX_CONFIG=wx-config-3.0 WXPORT=gtk2 UNICODE=1 install --root=${DESTDIR} + vlicense ../docs/licence.txt LICENSE } wxPython-devel_package() { - depends="wxGTK-devel wxPython>=${version}" + depends="wxWidgets-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include