aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-15 09:49:25 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-04-22 13:19:51 +0000
commit614f419a9edfc097f856f6615065d03d7951f0d5 (patch)
treee1bab25dc4fcc5e13171b94e729fe0f05b74127c
parent3326b37a3ad226e793d4388afc31b6612af2dfc6 (diff)
downloadaports-614f419a9edfc097f856f6615065d03d7951f0d5.tar.gz
aports-614f419a9edfc097f856f6615065d03d7951f0d5.tar.bz2
aports-614f419a9edfc097f856f6615065d03d7951f0d5.tar.xz
testing/quaternion: upgrade to 0.0.9.4e_git20200413 and take over maintainership
-rw-r--r--testing/quaternion/APKBUILD31
1 files changed, 13 insertions, 18 deletions
diff --git a/testing/quaternion/APKBUILD b/testing/quaternion/APKBUILD
index a9ba744454..21f419fee1 100644
--- a/testing/quaternion/APKBUILD
+++ b/testing/quaternion/APKBUILD
@@ -1,8 +1,9 @@
# Contributor: Leo <thinkabit.ukim@gmail.com>
-# Maintainer:
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=quaternion
-pkgver=0.0.9.4a
-pkgrel=1
+pkgver=0.0.9.4e_git20200413
+pkgrel=0
+_commit="a3c9ee0a61d4b1ca89cbd54a29c47fccb3b5c3c8"
pkgdesc="Qt5-based IM client for Matrix"
options="!check" # No testsuite
url="https://github.com/QMatrixClient/Quaternion"
@@ -10,26 +11,20 @@ arch="all !armhf" # armhf blocked by qt5-qtmultimedia
license="GPL-3.0-or-later"
depends="qt5-qtquickcontrols2 qt5-qtquickcontrols"
makedepends="cmake qt5-qttools-dev qt5-qtquickcontrols2-dev qt5-qtmultimedia-dev
- libquotient-dev"
-source="$pkgname-$pkgver.tar.gz::https://github.com/QMatrixClient/Quaternion/archive/${pkgver}.tar.gz"
-builddir="$srcdir/Quaternion-$pkgver"
+ qt5-qtkeychain-dev libquotient-dev libsecret-dev"
+source="https://github.com/QMatrixClient/Quaternion/archive/$_commit/Quaternion-$_commit.tar.gz"
+builddir="$srcdir/Quaternion-$_commit"
build() {
- if [ "$CBUILD" != "$CHOST" ]; then
- CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
- fi
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DBUILD_SHARED_LIBS=True \
+ cmake -B build \
-DCMAKE_BUILD_TYPE=None \
- -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
- ${CMAKE_CROSSOPTS}
- make
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make -C build
}
package() {
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" make -C build install
}
-sha512sums="cb1cd10f34670e53c6e1bf749b647cae73f7f3c72615a71d865b0599da7d2b3cb233ce8ff7d32d92a605de4e087744b438abf19c16e0e320a5ec5463b29aa84b quaternion-0.0.9.4a.tar.gz"
+sha512sums="9edbbb44def39c65d265dd6a32df1386de298083f535608fe75af221c6be2d31b28a0740b538aaa7158ba67b4647bf588259694009f59161403356eb37d97793 Quaternion-a3c9ee0a61d4b1ca89cbd54a29c47fccb3b5c3c8.tar.gz"