51 lines
1.5 KiB
Plaintext
51 lines
1.5 KiB
Plaintext
# Template file for 'wxPython'
|
|
pkgname=wxPython
|
|
version=3.0.1.1
|
|
revision=1
|
|
wrksrc="${pkgname}-src-${version}"
|
|
hostmakedepends="pkg-config"
|
|
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 wxversion.py"
|
|
short_desc="The wxWidgets GUI toolkit library (Python Bindings)"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://www.wxpython.org/"
|
|
license="wxWindows"
|
|
distfiles="${SOURCEFORGE_SITE}/wxpython/${pkgname}-src-${version}.tar.bz2"
|
|
checksum=d51463fe760e2fc00271678700c216809f9db32a6081a1808bd4b7c884dc0a32
|
|
nocross=yes
|
|
|
|
pre_configure() {
|
|
mv wxPython/wx/tools/Editra/{editra,Editra}
|
|
}
|
|
|
|
do_configure() {
|
|
./configure --prefix=/usr --enable-monolithic --with-gtk=2 --with-x \
|
|
--with-opengl --enable-unicode --enable-graphics_ctx \
|
|
--enable-optimize --enable-mediactrl --with-regex=builtin \
|
|
--with-libpng=sys --with-libxpm=sys --with-libjpeg=sys \
|
|
--with-libtiff=sys --disable-precomp-headers
|
|
}
|
|
|
|
do_build() {
|
|
cd wxPython
|
|
python2.7 setup.py WX_CONFIG=wx-config-3.0 WXPORT=gtk2 UNICODE=1 build
|
|
}
|
|
|
|
do_install() {
|
|
cd wxPython
|
|
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="wxWidgets-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
}
|
|
}
|