From f8673826130a9cde96814d64fe14792f8f2e47fc Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 29 May 2023 10:42:46 -0400
Subject: libsignal-client: update to 0.25.0

---
 linhes/libsignal-client/PKGBUILD | 8 +++-----
 1 file 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"
 }
-- 
cgit v0.12

