summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartchus2020-07-07 18:05:56 +0200
committerMartchus2020-07-07 18:05:56 +0200
commit4adbb0525d89c8334fea75fecf62df0bba7f0a53 (patch)
treeb838626d1d3dd87cb6047e3217288e56b68612e6
parent07ef0b19ff149fbf640453a878a67fe66becc146 (diff)
downloadaur-4adbb0525d89c8334fea75fecf62df0bba7f0a53.tar.gz
Update version
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD18
2 files changed, 20 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7cb17c316bb..e88135fd2e5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
pkgbase = mingw-w64-qtutilities
pkgdesc = Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models (mingw-w64)
- pkgver = 6.0.6
+ pkgver = 6.1.0
pkgrel = 1
url = https://github.com/Martchus/qtutilities
arch = any
license = GPL
+ checkdepends = mingw-w64-wine
makedepends = mingw-w64-gcc
makedepends = mingw-w64-cmake
makedepends = mingw-w64-qt5-tools
@@ -17,8 +18,8 @@ pkgbase = mingw-w64-qtutilities
options = staticlibs
options = !strip
options = !emptydirs
- source = qtutilities-6.0.6.tar.gz::https://github.com/Martchus/qtutilities/archive/v6.0.6.tar.gz
- sha256sums = 6e853502cc3a636d82e64f23e96050f8357f2937bca35ef3359c2ec75e8fedf3
+ source = qtutilities-6.1.0.tar.gz::https://github.com/Martchus/qtutilities/archive/v6.1.0.tar.gz
+ sha256sums = e060b4131e3193a7d72e6b4f4c70a19fddb3033c9e193dd87bc3381b265305bc
pkgname = mingw-w64-qtutilities
diff --git a/PKGBUILD b/PKGBUILD
index c39438f6271..d07323f2364 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,17 +6,18 @@
_reponame=qtutilities
pkgname=mingw-w64-qtutilities
_name=${pkgname#mingw-w64-}
-pkgver=6.0.6
+pkgver=6.1.0
pkgrel=1
arch=('any')
pkgdesc='Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models (mingw-w64)'
license=('GPL')
depends=('mingw-w64-crt' 'mingw-w64-qt5-base' 'mingw-w64-c++utilities')
optdepends=("$_name-doc: API documentation")
+checkdepends=('mingw-w64-wine')
makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt5-tools')
url="https://github.com/Martchus/${_reponame}"
source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
-sha256sums=('6e853502cc3a636d82e64f23e96050f8357f2937bca35ef3359c2ec75e8fedf3')
+sha256sums=('e060b4131e3193a7d72e6b4f4c70a19fddb3033c9e193dd87bc3381b265305bc')
options=(!buildflags staticlibs !strip !emptydirs)
_architectures=('i686-w64-mingw32' 'x86_64-w64-mingw32')
@@ -60,6 +61,19 @@ build() {
done
}
+check() {
+ cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
+
+ for _arch in "${_architectures[@]}"; do
+ for _cfg in "${_configurations[@]}"; do
+ msg2 "${_arch}-${_cfg}"
+ pushd "build-${_arch}-${_cfg}"
+ make WINEPATH="/usr/${_arch}/bin" WINEDEBUG=-all QT_QPA_PLATFORM=offscreen check || test "$_cfg" = static
+ popd
+ done
+ done
+}
+
package() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"