mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
libomemo_c, enable 32bit (#13876)
This commit is contained in:
@@ -1,22 +1,21 @@
|
||||
SUMMARY="Fork of libsignal-protocol-c adding support for OMEMO XEP-0384 0.5.0+"
|
||||
DESCRIPTION="This is a fork of libsignal-protocol-c, an implementation of Signal's \
|
||||
ratcheting forward secrecy protocol that works in synchronous and asynchronous messaging. \
|
||||
The fork adds support for OMEMO as defined in XEP-0384 versions 0.3.0 and later.
|
||||
- OMEMO version 0.3.0 uses the original libsignal-protocol-c implementation with its protocol versions 2 and 3.
|
||||
- OMEMO version 0.4.0+ is implemented using a new protocol version 4 internally. In comparison with protocol \
|
||||
version 3, it changes:
|
||||
- HKDF info strings
|
||||
- Protocol buffer encoding
|
||||
- Signature scheme (uses XEd25519 instead of custom \"Curve25519 signatures\")
|
||||
- Specification-compliant double ratchet
|
||||
- Support for Ed25519 public keys
|
||||
- Various serializations
|
||||
- Removes unused functionality
|
||||
"
|
||||
ratcheting forward secrecy protocol that works in synchronous and asynchronous messaging. \
|
||||
The fork adds support for OMEMO as defined in XEP-0384 versions 0.3.0 and later.
|
||||
- OMEMO version 0.3.0 uses the original libsignal-protocol-c implementation with its protocol versions 2 and 3.
|
||||
- OMEMO version 0.4.0+ is implemented using a new protocol version 4 internally.
|
||||
|
||||
In comparison with protocol version 3, it changes:
|
||||
- HKDF info strings
|
||||
- Protocol buffer encoding
|
||||
- Signature scheme (uses XEd25519 instead of custom \"Curve25519 signatures\")
|
||||
- Specification-compliant double ratchet
|
||||
- Support for Ed25519 public keys
|
||||
- Various serializations
|
||||
- Removes unused functionality"
|
||||
HOMEPAGE="https://github.com/dino/libomemo-c"
|
||||
COPYRIGHT="2015-2016 Open Whisper Systems
|
||||
2020-2025 Dino Team
|
||||
"
|
||||
2020-2025 Dino Team"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="$HOMEPAGE/releases/download/v$portVersion/libomemo-c-$portVersion.tar.gz"
|
||||
@@ -25,40 +24,41 @@ SOURCE_FILENAME="libomemo-c-$portVersion.tar.gz"
|
||||
SOURCE_DIR="libomemo-c-$portVersion"
|
||||
|
||||
ARCHITECTURES="all ?x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libomemo_c = $portVersion
|
||||
libomemo_c$secondaryArchSuffix = $portVersion
|
||||
lib:libomemo_c = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libprotobuf_c
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libprotobuf_c$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libomemo_c_devel = $portVersion
|
||||
devel:libomemo_c = $libVersionCompat
|
||||
libomemo_c${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libomemo_c$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libomemo_c == $portVersion base
|
||||
devel:libprotobuf_c
|
||||
libomemo_c$secondaryArchSuffix == $portVersion base
|
||||
devel:libprotobuf_c$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libprotobuf_c
|
||||
devel:libcheck
|
||||
devel:libglib_2.0
|
||||
devel:libssl
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libprotobuf_c$secondaryArchSuffix
|
||||
devel:libcheck$secondaryArchSuffix
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix >= 3
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:meson
|
||||
cmd:pkg_config
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
@@ -70,8 +70,7 @@ BUILD()
|
||||
meson setup build \
|
||||
--buildtype=release \
|
||||
--prefix=$prefix \
|
||||
--libdir=$libDir \
|
||||
--reconfigure
|
||||
--libdir=$libDir
|
||||
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user