Add binary package for libsignal_ffi.

This commit is contained in:
Manuel Friedli 2024-03-31 22:40:07 +02:00
parent eda4cb9329
commit 11b38801d6
Signed by: manuel
GPG key ID: 41D08ABA75634DA1
3 changed files with 52 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST libsignal-ffi-bin-0.42.0.a 33239536 BLAKE2B e2310a063d6c28515ebdea0e7fdac1f39ecfa0b69ab7d6a1fae44c781306ab1515d0d0e67eef244241903cfc99fa74e998301f15bc502e8293520bb452563c9c SHA512 403e623ceaa664091b0ea84917dd060e5878c8f7a8688319f99907f49810c9154f92036c7fe88f8fe11040776ced1c8e5d68c16921fc31cfd5dd5bc862198c65
EBUILD libsignal-ffi-bin-0.42.0.ebuild 724 BLAKE2B 3ab13f1e626ed6cc7af02df649769fc1dc54271cf55a19e0c2d1f01cf226ab9f534453f0b94e00c4cb05d2327578aa86616b03650eb4439bce77a0cfe215eb47 SHA512 4d41a41aad9ad823a7640e2cb9e75429c32b754dd4437766ec02af51250737fc1648a6a55f979aeb5e5742a05b3999e8b5762ab59d1ff16a862ad1643af3af03

View file

@ -0,0 +1,40 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="libsignal-ffi prebuilt binary package"
HOMEPAGE="homepage field in Cargo.toml inaccessible to cargo metadata"
SRC_URI="https://gentoo-overlay.friedli.info/libsignal_ffi-${PV}.a -> ${P}.a"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
RESTRICT="mirror"
S="${WORKDIR}"
MY_TARGET_NAME="libsignal_ffi-${PV}.a"
src_unpack() {
cp "${DISTDIR}/${P}.a" "${S}/"
}
src_prepare() {
mv "${P}.a" "${MY_TARGET_NAME}"
eapply_user
}
src_compile() {
:
}
src_install() {
dolib.a "${MY_TARGET_NAME}"
dosym -r /usr/lib64/"${MY_TARGET_NAME}" /usr/lib64/libsignal_ffi.a
}

View file

@ -0,0 +1,10 @@
DEFINED_PHASES=compile install prepare unpack
DESCRIPTION=libsignal-ffi prebuilt binary package
EAPI=8
HOMEPAGE=homepage field in Cargo.toml inaccessible to cargo metadata
KEYWORDS=~amd64
LICENSE=AGPL-3
RESTRICT=mirror
SLOT=0
SRC_URI=https://gentoo-overlay.friedli.info/libsignal_ffi-0.42.0.a -> libsignal-ffi-bin-0.42.0.a
_md5_=95e27b9bc668e2f9a77c30d8fe274d54