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 304FF158041 for ; Mon, 4 Mar 2024 05:47:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D343E2A5F; Mon, 4 Mar 2024 05:47:31 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 3CDF7E2A5F for ; Mon, 4 Mar 2024 05:47:31 +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 6A91233FE49 for ; Mon, 4 Mar 2024 05:47:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0664B10B0 for ; Mon, 4 Mar 2024 05:47:29 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1709531231.e287404a043cf110b9982dc3493877fd7b14f08c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/rav1e/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/rav1e/rav1e-0.7.1.ebuild media-video/rav1e/rav1e-9999.ebuild X-VCS-Directories: media-video/rav1e/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e287404a043cf110b9982dc3493877fd7b14f08c X-VCS-Branch: master Date: Mon, 4 Mar 2024 05:47:29 +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: 3efb5633-82fd-410a-8481-04cbdcfb0715 X-Archives-Hash: 4e9ed2394b6ec1d96bb3cd4b0e7c56a8 commit: e287404a043cf110b9982dc3493877fd7b14f08c Author: Eli Schwartz gmail com> AuthorDate: Mon Mar 4 05:36:29 2024 +0000 Commit: Sam James gentoo org> CommitDate: Mon Mar 4 05:47:11 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e287404a media-video/rav1e: unvendor libgit2 from rust dependency It is actually only used at build time, by this... thing: https://crates.io/crates/built Apparently it is of the utmost importance that when you get the version info from your git checkout of the project, you do so with blazing-fast fearless concurrency, and if that means spending several minutes compiling a git implementation instead of running /usr/bin/git, then no price is too large. Fearless concurrency for the win! Onward! Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> media-video/rav1e/rav1e-0.7.1.ebuild | 5 +++++ media-video/rav1e/rav1e-9999.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/media-video/rav1e/rav1e-0.7.1.ebuild b/media-video/rav1e/rav1e-0.7.1.ebuild index 3f21fd7d33c8..6e51df483cb6 100644 --- a/media-video/rav1e/rav1e-0.7.1.ebuild +++ b/media-video/rav1e/rav1e-0.7.1.ebuild @@ -265,6 +265,8 @@ BDEPEND=" amd64? ( ${ASM_DEP} ) capi? ( >=dev-util/cargo-c-0.6.3 ) " +# only used as a build script to check the version of rav1e... +DEPEND="dev-libs/libgit2" # Rust QA_FLAGS_IGNORED="usr/lib.*/librav1e.* usr/bin/rav1e" @@ -280,6 +282,9 @@ src_unpack() { } src_compile() { + # used by build script to get rav1e repository info + export LIBGIT2_NO_VENDOR=1 + cargo_src_compile if use capi; then diff --git a/media-video/rav1e/rav1e-9999.ebuild b/media-video/rav1e/rav1e-9999.ebuild index 3f21fd7d33c8..6e51df483cb6 100644 --- a/media-video/rav1e/rav1e-9999.ebuild +++ b/media-video/rav1e/rav1e-9999.ebuild @@ -265,6 +265,8 @@ BDEPEND=" amd64? ( ${ASM_DEP} ) capi? ( >=dev-util/cargo-c-0.6.3 ) " +# only used as a build script to check the version of rav1e... +DEPEND="dev-libs/libgit2" # Rust QA_FLAGS_IGNORED="usr/lib.*/librav1e.* usr/bin/rav1e" @@ -280,6 +282,9 @@ src_unpack() { } src_compile() { + # used by build script to get rav1e repository info + export LIBGIT2_NO_VENDOR=1 + cargo_src_compile if use capi; then