summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQirui Wang2020-07-23 22:03:17 +0900
committerQirui Wang2020-07-23 22:03:17 +0900
commitfe1d6f12c40d491b3fb540de4a84ad03130f8154 (patch)
tree9db47a9fa6bbd3ff8b60f47cd23433a2297ce0fb
downloadaur-fe1d6f12c40d491b3fb540de4a84ad03130f8154.tar.gz
v3.1.4
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD31
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..44b11e4befe
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = wxqt-dev
+ pkgdesc = Qt implementation of wxWidgets API for GUI
+ pkgver = 3.1.4
+ pkgrel = 1
+ url = https://wxwidgets.org
+ arch = x86_64
+ license = custom:wxWindows
+ depends = libsecret
+ depends = qt5-base
+ conflicts = wxgtk-common
+ source = https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.4/wxWidgets-3.1.4.tar.bz2
+ sha1sums = f8c77e6336b5f6414b07e27baa489fb8abc620c4
+ sha256sums = 3ca3a19a14b407d0cdda507a7930c2e84ae1c8e74f946e0144d2fa7d881f1a94
+
+pkgname = wxqt-dev
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..664478326c8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Qirui Wang <wqr.prg@gmail.com>
+
+pkgname=wxqt-dev
+pkgver=3.1.4
+pkgrel=1
+pkgdesc='Qt implementation of wxWidgets API for GUI'
+arch=('x86_64')
+url="https://wxwidgets.org"
+license=('custom:wxWindows')
+depends=('libsecret' 'qt5-base')
+conflicts=('wxgtk-common')
+source=("https://github.com/wxWidgets/wxWidgets/releases/download/v${pkgver}/wxWidgets-${pkgver}.tar.bz2")
+sha1sums=('f8c77e6336b5f6414b07e27baa489fb8abc620c4')
+sha256sums=('3ca3a19a14b407d0cdda507a7930c2e84ae1c8e74f946e0144d2fa7d881f1a94')
+
+build() {
+ cd wxWidgets-${pkgver}
+ ./configure --prefix=/usr --libdir=/usr/lib --with-qt --with-opengl --enable-unicode \
+ --enable-graphics_ctx --enable-mediactrl --with-regex=builtin \
+ --with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys \
+ --disable-precomp-headers
+ make
+ make -C locale allmo
+}
+
+package() {
+ cd wxWidgets-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m644 docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}