dev-libs/libsignal-ffi: add 0.55.0
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
24b87c0690
commit
f070c5b748
|
@ -1,2 +1,4 @@
|
|||
DIST libsignal-ffi-0.52.0-vendor.tar.xz 45875576 BLAKE2B 2dc951066b13e1c4d07ceb97965e798fbdaadca315c890a849c3851c9003f0dd609e000fbabc68abd9ab367d5e566d8759d919882876b513edd5830638480452 SHA512 296ef353b645bad07d9798375ef5081d28f8e52473681cd1e851b7ac0bba49b10f1ba213ac8b0928dd8faaab1bb3d0cc663782bcba0dd77351c654844432972b
|
||||
DIST libsignal-ffi-0.52.0.gh.tar.gz 1490320 BLAKE2B 0372f1420a1b1638965b5c36266b712944ae4dd6cb00a695ec432a6eb6383970e515c0a2b078ba6a52e8356b50644e20f5d751cc986d82848fbf9949bba2cb28 SHA512 f9410e47214ef013b2afa4971400526c9eece8ce58e7dc942a139c999b2426c668f415ac3abdde8b77ccca9a0bc342b2f51df4856d3b8e58c563753d26b4530a
|
||||
DIST libsignal-ffi-0.55.0-vendor.tar.xz 47145264 BLAKE2B de5b83abcea4dc7ac31c503a55c1aea05c0d02b3697ec5259faf30a801e6369017ec720103745a213ec495d96cf9d506dd8cc1a58fccba1a9e1df747792ead1c SHA512 0f9c99be0f6abf38baeaa167f1e4cbb5ac72c95539d4660ebc87eed7ac01ab993b7705515aa5520bc18b50595f61626c81125c09a05dfee3d8e478bae033e45f
|
||||
DIST libsignal-ffi-0.55.0.gh.tar.gz 1576924 BLAKE2B a11c594f5b690c9e5e70a78a01fabd3fac1bee2e19ff6cad7c07624e658cc674e65de7a62b6df6068ed36b6e6f58f94103382b6019a213869019648a3cebf360 SHA512 1749231ecd576efe6b5f6f7359f8843a82451d64209fb62bd48fa36e59be16d188528448c89da7ac59f53cb5676183a02d30363079e2856cae22f233d9352ef4
|
||||
|
|
50
dev-libs/libsignal-ffi/libsignal-ffi-0.55.0.ebuild
Normal file
50
dev-libs/libsignal-ffi/libsignal-ffi-0.55.0.ebuild
Normal file
|
@ -0,0 +1,50 @@
|
|||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Autogenerated by pycargoebuild 0.13.1
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES=" "
|
||||
|
||||
inherit cargo
|
||||
|
||||
DESCRIPTION="A C ABI library which exposes Signal protocol logic"
|
||||
HOMEPAGE="https://github.com/signalapp/libsignal"
|
||||
SRC_URI="
|
||||
https://github.com/signalapp/libsignal/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
https://herbizarre.swordarmor.fr/garbage/${P}-vendor.tar.xz
|
||||
"
|
||||
S="${WORKDIR}/libsignal-${PV}/rust/bridge/ffi"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
# Dependent crate licenses
|
||||
LICENSE+=" AGPL-3 Apache-2.0 BSD-2 BSD ISC MIT Unicode-DFS-2016"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="debug"
|
||||
|
||||
BDEPEND="
|
||||
dev-libs/protobuf
|
||||
sys-devel/clang
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
cargo_gen_config
|
||||
ln -s "${WORKDIR}/vendor/" "${WORKDIR}/libsignal-${PV}/vendor" || die
|
||||
sed -i "${ECARGO_HOME}/config" -e '/source.crates-io/d' || die
|
||||
sed -i "${ECARGO_HOME}/config" -e '/replace-with = "gentoo"/d' || die
|
||||
sed -i "${ECARGO_HOME}/config" -e '/local-registry = "\/nonexistent"/d' || die
|
||||
cat "${WORKDIR}/vendor/vendor-config.toml" >> "${ECARGO_HOME}/config" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use debug; then
|
||||
TARGET=debug
|
||||
else
|
||||
TARGET=release
|
||||
fi
|
||||
|
||||
dolib.a "${WORKDIR}/${P/-ffi/}/target/${TARGET}/${PN/-/_}.a"
|
||||
}
|
Loading…
Reference in a new issue