aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiva Mahadevan <me@svmhdvn.name>2021-11-29 00:34:53 -0500
committerdispatch <dispatch@listserv.local>2021-11-29 05:34:59 +0000
commit47b3a5de821d73e77b08fc135e7c37010bf7970c (patch)
tree7a90e557776e7ceb27ff6c4dc56cd39236862044
parentbdd88d9c7247a74aa465971de567f137ca2b369f (diff)
downloadaports-patches/3788.tar.gz
aports-patches/3788.tar.bz2
aports-patches/3788.tar.xz
testing/libsignal-client: new aportpatches/3788
https://github.com/signalapp/libsignal-client Implementation of the Signal client protocol in Rust
-rw-r--r--testing/libsignal-client/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/libsignal-client/APKBUILD b/testing/libsignal-client/APKBUILD
new file mode 100644
index 0000000000..ce50a993f7
--- /dev/null
+++ b/testing/libsignal-client/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Siva Mahadevan <me@svmhdvn.name>
+# Maintainer: Siva Mahadevan <me@svmhdvn.name>
+pkgname=libsignal-client
+pkgver=0.11.0
+pkgrel=0
+pkgdesc="Implementation of the Signal client protocol in Rust"
+url="https://github.com/signalapp/libsignal-client"
+arch="all !mips64 !riscv64 !s390x"
+license="AGPL-3.0-only"
+depends="openssl-dev"
+makedepends="cargo protoc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/signalapp/libsignal-client/archive/v$pkgver.tar.gz"
+
+build() {
+ cargo build --workspace --release --locked
+}
+
+check() {
+ cargo test --release --locked
+}
+
+package() {
+ install -Dm755 "target/release/libsignal_jni.so" "$pkgdir/usr/lib/libsignal_jni.so"
+}
+sha512sums="
+a2318916067d6d301e732047dbe60e69d904abf4ed0f80a88d0751b16d138ea61c0a263b98d3eb76df7c445decd7e2aa587380d3b14ef58a5ec3bad2b07092a7 libsignal-client-0.11.0.tar.gz
+"