summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2023-05-29 14:42:46 (GMT)
committerBritney Fransen <brfransen@gmail.com>2023-05-29 14:42:46 (GMT)
commitf8673826130a9cde96814d64fe14792f8f2e47fc (patch)
treeff87a9caadd57c48858c224d8ce565e0e61eb779
parent1f4f0d57bbbe41fee0994d552cc7039ea0cd2b9f (diff)
downloadlinhes_pkgbuild-f8673826130a9cde96814d64fe14792f8f2e47fc.zip
linhes_pkgbuild-f8673826130a9cde96814d64fe14792f8f2e47fc.tar.gz
linhes_pkgbuild-f8673826130a9cde96814d64fe14792f8f2e47fc.tar.bz2
libsignal-client: update to 0.25.0
-rw-r--r--linhes/libsignal-client/PKGBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/linhes/libsignal-client/PKGBUILD b/linhes/libsignal-client/PKGBUILD
index 67a300f..9cfd59b 100644
--- a/linhes/libsignal-client/PKGBUILD
+++ b/linhes/libsignal-client/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=libsignal-client
_pkgname=libsignal
_libname=libsignal_jni
-pkgver=0.23.1
+pkgver=0.25.0
pkgrel=1
pkgdesc='Library for the Signal Protocol.'
url="https://github.com/signalapp/${_pkgname}"
@@ -16,7 +16,7 @@ source=(
"${_pkgname}-${pkgver}.tar.gz::https://github.com/signalapp/${_pkgname}/archive/refs/tags/v$pkgver.tar.gz"
)
-sha512sums=('fdb3daac9e99f761806f218b10ece28e6226d7339feed7e5fe685c9c0849d5fd670d3fad20fe60f4b4e2452c00a65ad086db1cf98748b0ffbc5b9881d110ddf6')
+sha512sums=('1992eb77f25dc6a6ce526497be75d07905b8a49ea3d702705bedb35baf18296cffc70f6690604c64fbe8962643cad2fe2f5d78e0de6cf9d788a72ae6da8252b4')
prepare() {
tar xf "${_pkgname}-$pkgver.tar.gz"
@@ -25,8 +25,6 @@ prepare() {
# Use the default system rust toolchain
# rm -f rust-toolchain
- # Do not build the android library
- sed -i "s/include ':android', ':android:benchmarks'//" java/settings.gradle
sed -i "s/cargo build/cargo build --frozen/" java/build_jni.sh
cargo fetch --locked --target "$(rustc -vV | awk '/^host: / {print $2}')"
@@ -38,7 +36,7 @@ build() {
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
./build_jni.sh desktop
- gradle --no-daemon assemble
+ gradle --no-daemon assemble -PskipAndroid=true
zip -d "client/build/libs/libsignal-client-${pkgver}.jar" "${_libname}.so"
}