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