summaryrefslogtreecommitdiff
path: root/user/wxwidgets/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-24 21:46:53 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-24 21:46:53 +0000
commitc6cc5ddde484009c21a5124d09fcbfcfba632d54 (patch)
tree947ebe5f22db0db73fa9a478fac312cd876904c5 /user/wxwidgets/APKBUILD
parentdd044a7103ce0d5a7c309829e0dbad1e3b863438 (diff)
downloadpackages-c6cc5ddde484009c21a5124d09fcbfcfba632d54.tar.gz
packages-c6cc5ddde484009c21a5124d09fcbfcfba632d54.tar.bz2
packages-c6cc5ddde484009c21a5124d09fcbfcfba632d54.tar.xz
packages-c6cc5ddde484009c21a5124d09fcbfcfba632d54.zip
user/wxwidgets: new package
Diffstat (limited to 'user/wxwidgets/APKBUILD')
-rw-r--r--user/wxwidgets/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/user/wxwidgets/APKBUILD b/user/wxwidgets/APKBUILD
new file mode 100644
index 000000000..4ad5c7920
--- /dev/null
+++ b/user/wxwidgets/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=wxwidgets
+pkgver=3.1.2
+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
+ disable-xlocale.patch
+ "
+builddir="$srcdir/wxWidgets-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e0c6cc58f87c7534be100b098b6db4c5a7a6b7972a8ccc0573dc38cda1b098e1d9f3ea541771173889806f093b4fb5bc0f2b57952eedf907fe7e5d7c01840cf6 wxWidgets-3.1.2.tar.bz2
+46e72528d6b7d248abf11925db51110d9b3be0c0ad89acc611a0e10ca9b63e26eb4ec48da9118db4d3f6a2b9bb3a2ba8946d44ac9aede47b5f4deba3226424f2 disable-xlocale.patch"