diff options
author | Bart Ribbers <bribbers@disroot.org> | 2020-07-24 20:35:23 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-07-30 11:25:15 +0000 |
commit | 4b1eb252537a85f8327afc7b5d50465cd689c9e9 (patch) | |
tree | 78615d01950c856fc5e7f79daabb03efa411a49b /community/libquotient | |
parent | 394e12f188601a4b8fa99e1ec506359d800932d1 (diff) | |
download | alpine_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/APKBUILD | 22 |
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> |
3 | pkgname=libquotient | 3 | pkgname=libquotient |
4 | pkgver=0.5.3.2_git20200814 | 4 | pkgver=0.6.0 |
5 | pkgrel=0 | 5 | pkgrel=0 |
6 | _commit="58dfe74390ebdd8ec6611d3b8fecfe7d051ff955" | ||
7 | pkgdesc="Qt5 library for cross-platform clients for Matrix" | 6 | pkgdesc="Qt5 library for cross-platform clients for Matrix" |
8 | url="https://github.com/quotient-im/libQuotient" | 7 | url="https://github.com/quotient-im/libQuotient" |
9 | arch="all !armhf" # blocked by qt5-qtmultimedia | 8 | arch="all !armhf" # blocked by qt5-qtmultimedia |
@@ -11,9 +10,9 @@ license="LGPL-2.1-or-later" | |||
11 | depends_dev="qt5-qtbase-dev qt5-qtmultimedia-dev libqtolm-dev" | 10 | depends_dev="qt5-qtbase-dev qt5-qtmultimedia-dev libqtolm-dev" |
12 | makedepends="$depends_dev cmake" | 11 | makedepends="$depends_dev cmake" |
13 | subpackages="$pkgname-dev" | 12 | subpackages="$pkgname-dev" |
14 | source="https://github.com/quotient-im/libQuotient/archive/$_commit/libQuotient-$_commit.tar.gz" | 13 | source="https://github.com/quotient-im/libQuotient/archive/$pkgver/libQuotient-$pkgver.tar.gz" |
15 | options="!check" # No testsuite | 14 | options="!check" # Requires a running homeserver |
16 | builddir="$srcdir/libQuotient-$_commit" | 15 | builddir="$srcdir/libQuotient-$pkgver" |
17 | 16 | ||
18 | build() { | 17 | build() { |
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 | |||
29 | check() { | ||
30 | cd build-test | ||
31 | ./quotest # <username> <password> quotest-travis '#quotest:matrix.org' "Alpine Linux CI" | ||
26 | } | 32 | } |
27 | 33 | ||
28 | package() { | 34 | package() { |
29 | DESTDIR="$pkgdir" make -C build install | 35 | DESTDIR="$pkgdir" cmake --build build --target install |
30 | } | 36 | } |
31 | 37 | ||
32 | sha512sums="f812a230f969113f14b95df534002a1ce3957b90045197ed7789679bd92fd583b700436f8063f7bbc596bd962ff70e2b72a7f8ded7096f78e4ebc6e9559af10c libQuotient-58dfe74390ebdd8ec6611d3b8fecfe7d051ff955.tar.gz" | 38 | sha512sums="42f7d1ee788cc2bd9d88f0ec4339573d1c4be85c462ddb81d4b4cc222fa46d3482bf4c231fd8c35f334aefa112f45251239a99c37456efcae0ca5d9359271f72 libQuotient-0.6.0.tar.gz" |