dev-libs/libsignal-ffi: config.toml

Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2024-09-03 00:08:33 +02:00
parent eda8aa5310
commit bebf528d77
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
2 changed files with 5 additions and 5 deletions

View file

@ -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() {

View file

@ -10,4 +10,4 @@ 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
_md5_=0b9dca48161423bf37c48ca9c5112a03
_md5_=e379484a129037a3f97d829dd44fbdb0