summaryrefslogtreecommitdiff
path: root/user/wxwidgets/APKBUILD
blob: 192e67cb2f00f185ed7fd250ce970a440319e11e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# 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"