From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 16790158041 for ; Sat, 6 Apr 2024 01:19:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EBAD2E2A1C; Sat, 6 Apr 2024 01:19:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C5C3EE2A16 for ; Sat, 6 Apr 2024 01:19:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C12AB3432BA for ; Sat, 6 Apr 2024 01:19:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 35DBF1680 for ; Sat, 6 Apr 2024 01:19:39 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1712361457.638734e5c32977840cf3598f6f3aab7ec1c4cc58.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-libs/libsignal-ffi/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/libsignal-ffi/Manifest dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild X-VCS-Directories: dev-libs/libsignal-ffi/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 638734e5c32977840cf3598f6f3aab7ec1c4cc58 X-VCS-Branch: master Date: Sat, 6 Apr 2024 01:19:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ed5ecaa5-d6e3-422d-aa62-54eada825e79 X-Archives-Hash: ad08ceaecd20489427441a5bd0f458ab Message-ID: <20240406011939.AhkhpD7zaL4WhbdOENRZL4sTeU6EqxPoKxqpM1kRQNY@z> commit: 638734e5c32977840cf3598f6f3aab7ec1c4cc58 Author: Julien Roy jroy ca> AuthorDate: Fri Apr 5 23:57:37 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Fri Apr 5 23:57:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=638734e5 dev-libs/libsignal-ffi: add 0.44.0 Closes: https://bugs.gentoo.org/927803 Signed-off-by: Julien Roy jroy.ca> dev-libs/libsignal-ffi/Manifest | 2 + dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-libs/libsignal-ffi/Manifest b/dev-libs/libsignal-ffi/Manifest index 16e85f6e91..b684ea16d0 100644 --- a/dev-libs/libsignal-ffi/Manifest +++ b/dev-libs/libsignal-ffi/Manifest @@ -1,2 +1,4 @@ DIST libsignal-ffi-0.41.1.gh.tar.gz 1317640 BLAKE2B 083ac5981e291c6b35be8133478010c9e6541ea82ebe3e0cf2f5d629e1e23e10f24799c50fdbaacdf9b25f5688ea2f4fcbf46f149e469486a6b2393ce64c52ce SHA512 045c03aca620918f28ae8119da084060edc9543c910dee4551a2bb86cf4e16fa1434cbb9a6d727e4302eaf172fc3c90de9f57dbd7450963e87c6369caa1761fb +DIST libsignal-ffi-0.44.0-vendor.tar.xz 33303356 BLAKE2B eee56cf615b8d84a1303fb0a1deb90d3bf12b236285d28b052bd7c2433e55b6f49b9583221f3f1af05b8efa6908179e9e8033cd97d8dcbfb13fdff6fe3035aa0 SHA512 5813be8ecb51e00bc544f5e92335f4fad4a7783254364cbe8a1377e690eac3d348b4f44e5eb3bd603661205135220c9cae321dd167ad5bdfe349618bf6dff77b +DIST libsignal-ffi-0.44.0.gh.tar.gz 1382003 BLAKE2B 9984a430e03b908468e0c773e717deb3a4d9e3997680ebd2a0f536c1377407edbd092f8f81b3bfdef8fff4cd8836f7bddfccd2190610216d283cd8da84ea73fd SHA512 ef5bb03e2ebf37aefb31eb7c2e6c5196d07ca90f056e834a580f6293505789cd56268296a4ebc44b60b7550f2d6995ff1d8e4d27e73e783dedc29d097135d784 DIST libsignal-ffi-vendor-0.41.1.tar.xz 35833064 BLAKE2B 02c83a6b3dc592df14f33379bc8476fb1458e4d427d038fe1fb395b66ebe34c1bd0bb36af50c0f7a9b0d1a0d793826702544e5af52803d1ef5855b6a16f441eb SHA512 16aa343750b090bb051fb11210bd9f2b69187eff9fe20537f691e3432045c9fc67f29b8e1e90deebb6de299c0d21e702a557e574a0a8da518eb61046cbbb4f5a diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild new file mode 100644 index 0000000000..431f87aca3 --- /dev/null +++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild @@ -0,0 +1,49 @@ +# 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://jroy.ca/dist/${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" + +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" +}