From 553a1bfb274ebb2a4404fb7747562592a148336e Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Wed, 18 Sep 2024 19:57:38 +0200 Subject: [PATCH] dev-libs/libsignal-ffi: add 0.57.1, drop 0.52.0 Signed-off-by: Alarig Le Lay --- dev-libs/libsignal-ffi/Manifest | 4 ++-- ...ffi-0.52.0.ebuild => libsignal-ffi-0.57.1.ebuild} | 12 ++++++------ metadata/md5-cache/dev-libs/libsignal-ffi-0.55.0 | 2 +- .../{libsignal-ffi-0.52.0 => libsignal-ffi-0.57.1} | 8 ++++---- 4 files changed, 13 insertions(+), 13 deletions(-) rename dev-libs/libsignal-ffi/{libsignal-ffi-0.52.0.ebuild => libsignal-ffi-0.57.1.ebuild} (72%) rename metadata/md5-cache/dev-libs/{libsignal-ffi-0.52.0 => libsignal-ffi-0.57.1} (53%) diff --git a/dev-libs/libsignal-ffi/Manifest b/dev-libs/libsignal-ffi/Manifest index a458a40..5ba20d8 100644 --- a/dev-libs/libsignal-ffi/Manifest +++ b/dev-libs/libsignal-ffi/Manifest @@ -1,4 +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 +DIST libsignal-ffi-0.57.1-vendor.tar.xz 48036284 BLAKE2B 502983ec4b6a5d4db3376d23e8a4b1a45ebc60786f3a7ba4df7e18755f5a6f76e04644c7f19afa5beaf67152b7ab11e92c36c4e2f8a5ec8a5a9d699f2273115f SHA512 489022a25987caa785dcd2fa40735662c217276342e37e4c5947b983fd1fd55a2f7350eb7dd887ccf6e3e0876804ac959b90d7e1f7bb7482f12bd178b748e084 +DIST libsignal-ffi-0.57.1.gh.tar.gz 1664107 BLAKE2B 9e00a7a7878d62cca468050843114f6bee0ed7d2592a5c7eb46d0fc98c1e1f95ba142ddf71be1df00fed55fe3054b0285729a43d46534cbdb21540bf1c9c3f73 SHA512 88560c23ece6b8cbbf38020b1ae7ecf1b90c10a484d270c83dc56c402dcbd1013e6b260ac0e150b28a912cd4c190817a71c7de4632c0ee360f6b4e9c7f82dcd3 diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.52.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.57.1.ebuild similarity index 72% rename from dev-libs/libsignal-ffi/libsignal-ffi-0.52.0.ebuild rename to dev-libs/libsignal-ffi/libsignal-ffi-0.57.1.ebuild index e45e06f..54c9f73 100644 --- a/dev-libs/libsignal-ffi/libsignal-ffi-0.52.0.ebuild +++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.57.1.ebuild @@ -7,7 +7,7 @@ EAPI=8 CRATES=" " -inherit cargo +inherit cargo rust-toolchain DESCRIPTION="A C ABI library which exposes Signal protocol logic" HOMEPAGE="https://github.com/signalapp/libsignal" @@ -33,10 +33,10 @@ 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 + sed -i "${ECARGO_HOME}/config.toml" -e '/source.crates-io/d' || die + sed -i "${ECARGO_HOME}/config.toml" -e '/replace-with = "gentoo"/d' || die + sed -i "${ECARGO_HOME}/config.toml" -e '/local-registry = "\/nonexistent"/d' || die + cat "${WORKDIR}/vendor/vendor-config.toml" >> "${ECARGO_HOME}/config.toml" || die } src_install() { @@ -46,5 +46,5 @@ src_install() { TARGET=release fi - dolib.a "${WORKDIR}/${P/-ffi/}/target/${TARGET}/${PN/-/_}.a" + dolib.a "${WORKDIR}/${P/-ffi/}/target/$(rust_abi)/${TARGET}/${PN/-/_}.a" } diff --git a/metadata/md5-cache/dev-libs/libsignal-ffi-0.55.0 b/metadata/md5-cache/dev-libs/libsignal-ffi-0.55.0 index 7aa418a..72ba8d8 100644 --- a/metadata/md5-cache/dev-libs/libsignal-ffi-0.55.0 +++ b/metadata/md5-cache/dev-libs/libsignal-ffi-0.55.0 @@ -9,5 +9,5 @@ KEYWORDS=~amd64 LICENSE=AGPL-3 AGPL-3 Apache-2.0 BSD-2 BSD ISC MIT Unicode-DFS-2016 SLOT=0 SRC_URI=https://github.com/signalapp/libsignal/archive/v0.55.0.tar.gz -> libsignal-ffi-0.55.0.gh.tar.gz https://herbizarre.swordarmor.fr/garbage/libsignal-ffi-0.55.0-vendor.tar.xz -_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic e503ea5acc20410237ba33ec3f7c857d multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe rust-toolchain 68a6453cb41148db1da01fa2267527f0 cargo 67ea64209e3442a3a0e095f048d43a62 +_eclasses_=toolchain-funcs 333970c740aa7b1a92e4fcdc52f612bd multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic e503ea5acc20410237ba33ec3f7c857d multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe rust-toolchain 3f822985d9297438ed2443aa1fbdf33e cargo c806360bab90e2b49223df1810172c2b _md5_=a71dd12bf938d4ed85fdabf4cb73716d diff --git a/metadata/md5-cache/dev-libs/libsignal-ffi-0.52.0 b/metadata/md5-cache/dev-libs/libsignal-ffi-0.57.1 similarity index 53% rename from metadata/md5-cache/dev-libs/libsignal-ffi-0.52.0 rename to metadata/md5-cache/dev-libs/libsignal-ffi-0.57.1 index 4d14aec..ef27a28 100644 --- a/metadata/md5-cache/dev-libs/libsignal-ffi-0.52.0 +++ b/metadata/md5-cache/dev-libs/libsignal-ffi-0.57.1 @@ -3,11 +3,11 @@ DEFINED_PHASES=compile configure install test unpack DESCRIPTION=A C ABI library which exposes Signal protocol logic EAPI=8 HOMEPAGE=https://github.com/signalapp/libsignal -INHERIT=cargo +INHERIT=cargo rust-toolchain IUSE=debug debug KEYWORDS=~amd64 LICENSE=AGPL-3 AGPL-3 Apache-2.0 BSD-2 BSD ISC MIT Unicode-DFS-2016 SLOT=0 -SRC_URI=https://github.com/signalapp/libsignal/archive/v0.52.0.tar.gz -> libsignal-ffi-0.52.0.gh.tar.gz https://herbizarre.swordarmor.fr/garbage/libsignal-ffi-0.52.0-vendor.tar.xz -_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic e503ea5acc20410237ba33ec3f7c857d multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe rust-toolchain 68a6453cb41148db1da01fa2267527f0 cargo 67ea64209e3442a3a0e095f048d43a62 -_md5_=0b9dca48161423bf37c48ca9c5112a03 +SRC_URI=https://github.com/signalapp/libsignal/archive/v0.57.1.tar.gz -> libsignal-ffi-0.57.1.gh.tar.gz https://herbizarre.swordarmor.fr/garbage/libsignal-ffi-0.57.1-vendor.tar.xz +_eclasses_=toolchain-funcs 333970c740aa7b1a92e4fcdc52f612bd multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic e503ea5acc20410237ba33ec3f7c857d multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe rust-toolchain 3f822985d9297438ed2443aa1fbdf33e cargo c806360bab90e2b49223df1810172c2b +_md5_=a71dd12bf938d4ed85fdabf4cb73716d