34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'wxWidgets'
|
|
pkgname=wxWidgets
|
|
version=3.0.3.1
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--enable-unicode --with-opengl --with-sdl --with-libmspack
|
|
--with-libnotify"
|
|
short_desc="The wxWidgets GUI toolkit library (version 3)"
|
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
|
license="wxWindows"
|
|
homepage="https://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 webkitgtk2-devel"
|
|
distfiles="https://github.com/wxWidgets/wxWidgets/releases/download/v${version}/wxWidgets-${version}.tar.bz2"
|
|
checksum=3164ad6bc5f61c48d2185b39065ddbe44283eb834a5f62beb13f1d0923e366e4
|
|
|
|
# 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
|
|
ln -sf wx-config-3.0 ${PKGDESTDIR}/usr/bin/wx-config
|
|
}
|
|
}
|