summaryrefslogtreecommitdiffstats
path: root/linhes/libsignal-client/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2023-10-06 21:17:06 (GMT)
committerBritney Fransen <brfransen@gmail.com>2023-10-06 21:17:06 (GMT)
commited3142716014a2919af5d76b6531c987118b160d (patch)
tree5807214c0520f69f79db12af2cfc380c7dfaac15 /linhes/libsignal-client/PKGBUILD
parent3aada505c0d04b838066dd3e4970a24ab069d53e (diff)
downloadlinhes_pkgbuild-ed3142716014a2919af5d76b6531c987118b160d.zip
linhes_pkgbuild-ed3142716014a2919af5d76b6531c987118b160d.tar.gz
linhes_pkgbuild-ed3142716014a2919af5d76b6531c987118b160d.tar.bz2
libsignal-client: update to 0.32.1
Diffstat (limited to 'linhes/libsignal-client/PKGBUILD')
-rw-r--r--linhes/libsignal-client/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/linhes/libsignal-client/PKGBUILD b/linhes/libsignal-client/PKGBUILD
index d33a5dc..214266f 100644
--- a/linhes/libsignal-client/PKGBUILD
+++ b/linhes/libsignal-client/PKGBUILD
@@ -3,12 +3,13 @@
pkgname=libsignal-client
_pkgname=libsignal
_libname=libsignal_jni
-pkgver=0.30.0
+pkgver=0.32.1
pkgrel=1
pkgdesc='Library for the Signal Protocol.'
url="https://github.com/signalapp/${_pkgname}"
depends=('gcc-libs')
-makedepends=('cargo' 'gradle' 'git' 'zip' 'protobuf' 'cmake' 'clang' 'jdk17-openjdk')
+checkdepends=('cargo')
+makedepends=('cargo' 'gradle' 'git' 'zip' 'protobuf' 'cmake' 'clang' 'java-environment')
options=(!lto)
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
license=('GPL3')
@@ -16,7 +17,7 @@ source=(
"${_pkgname}-${pkgver}.tar.gz::https://github.com/signalapp/${_pkgname}/archive/refs/tags/v$pkgver.tar.gz"
)
-sha512sums=('cca37d481081c44ddd838f6a4b4f9ee468fc79f5966af62c797e9a9a692a985d5e6d0c988ff2401c515f7ded5df90248be6ca38bb77cd6f9be01fbb1f0a3fcf5')
+sha512sums=('855f053a1329d12e20f254f607db0c0db9f6e1a3eb10061996da75805bf462a5dee0f4f841ec679980c77da87d600f92a21cd643c36d44e017cb3cbf57003b09')
prepare() {
tar xf "${_pkgname}-$pkgver.tar.gz"
@@ -36,7 +37,7 @@ build() {
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
./build_jni.sh desktop
- gradle --no-daemon assemble -PskipAndroid=true
+ GRADLE_USER_HOME="${srcdir}/.gradle" gradle --no-daemon assemble -PskipAndroid=true
zip -d "client/build/libs/libsignal-client-${pkgver}.jar" "${_libname}.so"
}