public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-libs/libsignal-ffi/
Date: Tue, 19 Nov 2024 10:46:28 +0000 (UTC)	[thread overview]
Message-ID: <1732012932.fbd526de05dd406d610aa6fab896af92acc9d947.julien@gentoo> (raw)
Message-ID: <20241119104628.IRZTP8BbBOam4BibTUlxT-YM8R8oQr_yOHrBRXHFbTk@z> (raw)

commit:     fbd526de05dd406d610aa6fab896af92acc9d947
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Tue Nov 19 09:17:12 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue Nov 19 10:42:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fbd526de

dev-libs/libsignal-ffi: add 0.62.0

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-libs/libsignal-ffi/Manifest                    |  2 +
 dev-libs/libsignal-ffi/libsignal-ffi-0.62.0.ebuild | 51 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-libs/libsignal-ffi/Manifest b/dev-libs/libsignal-ffi/Manifest
index ac6392800..dd8c6ac3f 100644
--- a/dev-libs/libsignal-ffi/Manifest
+++ b/dev-libs/libsignal-ffi/Manifest
@@ -4,3 +4,5 @@ DIST libsignal-ffi-0.46.0-vendor.tar.xz 33689364 BLAKE2B 260ce4c19f4f1467a32cc1a
 DIST libsignal-ffi-0.46.0.gh.tar.gz 1405351 BLAKE2B fc9b4360b42b5ea925f11162736ae759008ec806c267e2bbfc4815ee501216e9669dc880528cd4cd4d6419496b4ffe61959d8af8cef99719878bd3c1eb02c309 SHA512 ca34ec4bb6d2931ba1b72c7c1640cb85e10b4418c305791494ba444afb7b9625c04d46c22eef2d070f66d7883e80f1a845b800ecd1344159877e84c757c78c0b
 DIST libsignal-ffi-0.51.0-vendor.tar.xz 45705656 BLAKE2B 9cedcb219161b100d0b24319f3b1fd69d9ca6784d94b748bde12e4cb5f1621e6b71cc6b7909db6fc60b2ef45de4ad12992a902c5d86d79e6d4620fb47c0552cb SHA512 633cd8fcafd9b0f0c4454e6a56900c4188b2bd6cd8078517f6ad6ddb26cc07c9b53f5419239956007d2b770132834dd7384bfc65ae5ce552ac2d6e9950777b5c
 DIST libsignal-ffi-0.51.0.gh.tar.gz 1482490 BLAKE2B c2f27c33e20c3b2701ea7025197371d8ed2f161123ecc58c2f50f5df7ca561f4295ae4142372e6d437d1203d3a148031604f6da69cfc231d8c580ba694be653a SHA512 646cb30451dc08f5659f61ea808d19d07336c7731c2309cb950e5f94e3993221ff7cb8311512c1490bbb09b6378f4cc14dfc2ff0689d6e3e7494f2b8a8769406
+DIST libsignal-ffi-0.62.0-vendor.tar.xz 37206664 BLAKE2B 6e6eb05ece456df5f27d05e39a0aeec5f45b615d915010151d47092f3e271c87b2db681e503086fe31dbabbdbcafbae52d1e4bdeb3acf7b72e825965d49ae6d1 SHA512 2b848fa962204285ba1e51900f6588efd3ab4326c094508a9c4a7cfb0ec47b96abacfe07166ed3cf96d25f09095ce65f87ec3838df52830f666d56d528910193
+DIST libsignal-ffi-0.62.0.gh.tar.gz 1784929 BLAKE2B 5dea79062c1f1342d64a9bbac8fdd7980260c73962a2eef60a61b84ecf3c21a471f6d400b5777c1ee3a297d32c63bfceaa6fa229bd0212d2bd492934470ccb8f SHA512 2a1d171a6bf9f1dfea9fc1fbc4f200c8b9e2ccb30d9d63f29007f252ff79ae7d149ab5707a8e430010da90ad1e3112475bd0eba8efb5cc011d5e3098aa1e26de

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.62.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.62.0.ebuild
new file mode 100644
index 000000000..f189a660c
--- /dev/null
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.62.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.13.1
+
+EAPI=8
+
+LLVM_COMPAT=( {18..19} )
+RUST_NEEDS_LLVM=1
+
+inherit llvm-r1 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
+	$(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}')
+"
+
+pkg_setup() {
+	llvm-r1_pkg_setup
+	rust_pkg_setup
+}
+
+src_unpack() {
+	default
+	cargo_gen_config
+	ln -s "${WORKDIR}/vendor/" "${WORKDIR}/libsignal-${PV}/vendor" || die
+	sed -i "${ECARGO_HOME}/config.toml" \
+		-e '/source.crates-io/d' \
+		-e '/replace-with = "gentoo"/d' \
+		-e '/local-registry = "\/nonexistent"/d' \
+		|| die
+	cat vendor/vendor-config.toml >> "${ECARGO_HOME}/config.toml" || die
+}
+
+src_install() {
+	dolib.a "${WORKDIR}/${P/-ffi/}/$(cargo_target_dir)/${PN/-/_}.a"
+}


             reply	other threads:[~2024-11-19 10:46 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-19 10:42 Julien Roy [this message]
2024-11-19 10:46 ` [gentoo-commits] repo/proj/guru:master commit in: dev-libs/libsignal-ffi/ Julien Roy
  -- strict thread matches above, loose matches on Subject: below --
2024-11-19 10:42 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-10-13  9:21 Takuya Wakazono
2024-08-09 14:56 Lucio Sauer
2024-08-07 13:59 Lucio Sauer
2024-06-17 12:42 Alarig Le Lay
2024-06-17 12:38 Alarig Le Lay
2024-06-17  9:49 Alarig Le Lay
2024-05-14 19:07 Julien Roy
2024-04-08 11:44 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-04-08 11:44 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-04-07 15:25 Julien Roy
2024-04-06  1:19 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-04-06  0:06 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-04-06  0:06 Julien Roy
2024-03-22  0:24 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-03-22  0:24 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-03-20 11:46 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-03-20 11:43 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-03-19 22:06 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-03-19 21:24 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1732012932.fbd526de05dd406d610aa6fab896af92acc9d947.julien@gentoo \
    --to=julien@jroy.ca \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox