2014-03-21 14:58:24 +00:00
|
|
|
# Template file for 'wxWidgets'
|
2014-11-20 10:11:11 +00:00
|
|
|
pkgname=wxWidgets
|
|
|
|
version=3.0.2
|
|
|
|
revision=1
|
2014-03-21 14:58:24 +00:00
|
|
|
build_style=gnu-configure
|
2014-11-20 10:11:11 +00:00
|
|
|
configure_args="--enable-unicode --with-opengl --with-sdl --with-libmspack
|
|
|
|
--with-libnotify --enable-mediactrl"
|
2014-08-26 19:03:49 +00:00
|
|
|
short_desc="The wxWidgets GUI toolkit library (version 3)"
|
2014-03-21 14:58:24 +00:00
|
|
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
2014-11-20 10:11:11 +00:00
|
|
|
license="wxWindows"
|
2014-03-21 14:58:24 +00:00
|
|
|
homepage="http://www.wxwidgets.org/"
|
2014-03-21 15:18:29 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2014-06-18 06:27:53 +00:00
|
|
|
makedepends="gtk+-devel libjpeg-turbo-devel tiff-devel libSM-devel libnotify-devel
|
|
|
|
libXinerama-devel libmspack-devel SDL-devel glu-devel gst-plugins-base-devel"
|
2014-03-21 16:16:32 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/wxwindows/${version}/${pkgname}-${version}.tar.bz2"
|
2014-11-20 10:11:11 +00:00
|
|
|
checksum=346879dc554f3ab8d6da2704f651ecb504a22e9d31c17ef5449b129ed711585d
|
2014-03-21 14:58:24 +00:00
|
|
|
|
2014-08-29 23:55:02 +00:00
|
|
|
# Cross compiling works, but then wx-config is wrong for native builds
|
|
|
|
# on target.
|
|
|
|
nocross=yes
|
|
|
|
|
2014-03-21 14:58:24 +00:00
|
|
|
wxWidgets-devel_package() {
|
2014-03-21 16:16:32 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
2014-03-21 14:58:24 +00:00
|
|
|
vmove usr/include
|
2014-03-21 15:50:08 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2014-03-21 14:58:24 +00:00
|
|
|
vmove usr/share
|
2014-03-21 16:16:32 +00:00
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/lib/wx
|
|
|
|
}
|
2014-03-21 14:58:24 +00:00
|
|
|
}
|