void-packages/srcpkgs/wxWidgets/template
2014-08-30 01:57:26 +02:00

32 lines
1.1 KiB
Text

# Template file for 'wxWidgets'
pkgname="wxWidgets"
version=3.0.1
revision=2
build_style=gnu-configure
configure_args="--enable-unicode --with-opengl --with-sdl --with-libmspack --with-libnotify --enable-mediactrl"
short_desc="The wxWidgets GUI toolkit library (version 3)"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="wxWindows Library Licence"
homepage="http://www.wxwidgets.org/"
hostmakedepends="pkg-config"
makedepends="gtk+-devel libjpeg-turbo-devel tiff-devel libSM-devel libnotify-devel
libXinerama-devel libmspack-devel SDL-devel glu-devel gst-plugins-base-devel"
distfiles="${SOURCEFORGE_SITE}/wxwindows/${version}/${pkgname}-${version}.tar.bz2"
checksum=bd671b79ec56af8fb3844e11cafceac1a4276fb02c79404d06b91b6c19d2c5f5
# Cross compiling works, but then wx-config is wrong for native builds
# on target.
nocross=yes
wxWidgets-devel_package() {
conflicts="wxGTK-devel>=0"
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/share
vmove usr/bin
vmove usr/lib/wx
}
}