* update libquotient to 0.8.1.2-5
This commit is contained in:
parent
a1d9070c53
commit
2f7ecfe1e5
@ -5,21 +5,33 @@
|
||||
|
||||
pkgname=libquotient
|
||||
pkgver=0.8.1.2
|
||||
pkgrel=1
|
||||
pkgrel=5
|
||||
pkgdesc='A Qt library to write cross-platform clients for Matrix'
|
||||
license=(LGPL)
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url='https://matrix.org/docs/projects/sdk/quotient'
|
||||
depends=(qt5-multimedia qtkeychain-qt5 libolm)
|
||||
depends=(gcc-libs
|
||||
glibc
|
||||
libolm
|
||||
openssl
|
||||
qt6-base
|
||||
qtkeychain-qt6)
|
||||
makedepends=(cmake)
|
||||
source=(https://github.com/quotient-im/libQuotient/archive/$pkgver/$pkgname-$pkgver.tar.gz)
|
||||
sha256sums=('5e5539fe9616c9f63985b0aabfab1858f1626e3d71a14709eeedd85af0471c7c')
|
||||
source=(https://github.com/quotient-im/libQuotient/archive/$pkgver/$pkgname-$pkgver.tar.gz
|
||||
symbol-visibility.patch)
|
||||
sha256sums=('5e5539fe9616c9f63985b0aabfab1858f1626e3d71a14709eeedd85af0471c7c'
|
||||
'dd761aaeaaa6cefe2666859b9882d868cfba9e39a7fd6ec63344362706096a63')
|
||||
|
||||
prepare() {
|
||||
patch -d libQuotient-$pkgver -p1 < symbol-visibility.patch # https://invent.kde.org/network/neochat/-/merge_requests/1326
|
||||
}
|
||||
|
||||
build() {
|
||||
cmake -B build -S libQuotient-$pkgver \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DBUILD_WITH_QT6=ON \
|
||||
-DQuotient_ENABLE_E2EE=ON
|
||||
cmake --build build
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user