# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=wxwidgets pkgver=3.1.3 pkgrel=0 pkgdesc="C++ library for creating applications" url="https://www.wxwidgets.org/" arch="all" options="!check" # Test suite requires X11. Passes on gwyn except wxHTML. license="LGPL-2.1-only WITH wx-exception" depends="" checkdepends="adwaita-icon-theme ttf-liberation" makedepends="glu-dev gstreamer-dev gst-plugins-base-dev gtk+3.0-dev libexecinfo-dev libjpeg-turbo-dev libnotify-dev libsecret-dev libsm-dev mesa-dev tiff-dev zlib-dev" subpackages="$pkgname-dev $pkgname-lang" source="https://github.com/wxWidgets/wxWidgets/releases/download/v$pkgver/wxWidgets-$pkgver.tar.bz2" builddir="$srcdir/wxWidgets-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --disable-xlocale make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="d19305c96f1a382ec74549f69d6a7c61ecd0abac383623c308c45f0168c670c15262efc4fb64c14fa9d1fdb3579f19abdb5c8247ead72dc926342e586d7b4532 wxWidgets-3.1.3.tar.bz2"