aboutsummaryrefslogtreecommitdiff
path: root/community/libquotient
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-07-24 20:35:23 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-07-30 11:25:15 +0000
commit4b1eb252537a85f8327afc7b5d50465cd689c9e9 (patch)
tree78615d01950c856fc5e7f79daabb03efa411a49b /community/libquotient
parent394e12f188601a4b8fa99e1ec506359d800932d1 (diff)
downloadalpine_aports-4b1eb252537a85f8327afc7b5d50465cd689c9e9.tar.bz2
alpine_aports-4b1eb252537a85f8327afc7b5d50465cd689c9e9.tar.xz
alpine_aports-4b1eb252537a85f8327afc7b5d50465cd689c9e9.zip
community/libQuotient: upgrade to 0.6.0
Diffstat (limited to 'community/libquotient')
-rw-r--r--community/libquotient/APKBUILD22
1 files changed, 14 insertions, 8 deletions
diff --git a/community/libquotient/APKBUILD b/community/libquotient/APKBUILD
index 64048e6913..26d8fd359e 100644
--- a/community/libquotient/APKBUILD
+++ b/community/libquotient/APKBUILD
@@ -1,9 +1,8 @@
1# Contributor: Leo <thinkabit.ukim@gmail.com> 1# Contributor: Leo <thinkabit.ukim@gmail.com>
2# Maintainer: Bart Ribbers <bribbers@disroot.org> 2# Maintainer: Bart Ribbers <bribbers@disroot.org>
3pkgname=libquotient 3pkgname=libquotient
4pkgver=0.5.3.2_git20200814 4pkgver=0.6.0
5pkgrel=0 5pkgrel=0
6_commit="58dfe74390ebdd8ec6611d3b8fecfe7d051ff955"
7pkgdesc="Qt5 library for cross-platform clients for Matrix" 6pkgdesc="Qt5 library for cross-platform clients for Matrix"
8url="https://github.com/quotient-im/libQuotient" 7url="https://github.com/quotient-im/libQuotient"
9arch="all !armhf" # blocked by qt5-qtmultimedia 8arch="all !armhf" # blocked by qt5-qtmultimedia
@@ -11,9 +10,9 @@ license="LGPL-2.1-or-later"
11depends_dev="qt5-qtbase-dev qt5-qtmultimedia-dev libqtolm-dev" 10depends_dev="qt5-qtbase-dev qt5-qtmultimedia-dev libqtolm-dev"
12makedepends="$depends_dev cmake" 11makedepends="$depends_dev cmake"
13subpackages="$pkgname-dev" 12subpackages="$pkgname-dev"
14source="https://github.com/quotient-im/libQuotient/archive/$_commit/libQuotient-$_commit.tar.gz" 13source="https://github.com/quotient-im/libQuotient/archive/$pkgver/libQuotient-$pkgver.tar.gz"
15options="!check" # No testsuite 14options="!check" # Requires a running homeserver
16builddir="$srcdir/libQuotient-$_commit" 15builddir="$srcdir/libQuotient-$pkgver"
17 16
18build() { 17build() {
19 cmake -B build \ 18 cmake -B build \
@@ -22,11 +21,18 @@ build() {
22 -DCMAKE_INSTALL_LIBDIR=lib \ 21 -DCMAKE_INSTALL_LIBDIR=lib \
23 -DBUILD_SHARED_LIBS=True \ 22 -DBUILD_SHARED_LIBS=True \
24 -DQuotient_ENABLE_E2EE=True 23 -DQuotient_ENABLE_E2EE=True
25 make -C build 24 cmake --build build
25 cmake tests -B build-test
26 cmake --build build-test
27}
28
29check() {
30 cd build-test
31 ./quotest # <username> <password> quotest-travis '#quotest:matrix.org' "Alpine Linux CI"
26} 32}
27 33
28package() { 34package() {
29 DESTDIR="$pkgdir" make -C build install 35 DESTDIR="$pkgdir" cmake --build build --target install
30} 36}
31 37
32sha512sums="f812a230f969113f14b95df534002a1ce3957b90045197ed7789679bd92fd583b700436f8063f7bbc596bd962ff70e2b72a7f8ded7096f78e4ebc6e9559af10c libQuotient-58dfe74390ebdd8ec6611d3b8fecfe7d051ff955.tar.gz" 38sha512sums="42f7d1ee788cc2bd9d88f0ec4339573d1c4be85c462ddb81d4b4cc222fa46d3482bf4c231fd8c35f334aefa112f45251239a99c37456efcae0ca5d9359271f72 libQuotient-0.6.0.tar.gz"