void-packages/srcpkgs/wxWidgets/template
Jürgen Buchmüller 5b2645f5d2 wxWidgets: add webkitgtk2 dependency
Required for boinc manager.
2015-10-14 18:32:34 +02:00

33 lines
1 KiB
Bash

# Template file for 'wxWidgets'
pkgname=wxWidgets
version=3.0.2
revision=3
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"
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
webkitgtk2-devel"
distfiles="${SOURCEFORGE_SITE}/wxwindows/${version}/${pkgname}-${version}.tar.bz2"
checksum=346879dc554f3ab8d6da2704f651ecb504a22e9d31c17ef5449b129ed711585d
# Cross compiling works, but then wx-config is wrong for native builds
# on target.
nocross=yes
wxWidgets-devel_package() {
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
}
}