From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1608211-garchives=archives.gentoo.org@lists.gentoo.org>
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 7D45C158041
	for <garchives@archives.gentoo.org>; Thu,  7 Mar 2024 15:19:06 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 862A5E29BF;
	Thu,  7 Mar 2024 15:19:05 +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 61006E29BF
	for <gentoo-commits@lists.gentoo.org>; Thu,  7 Mar 2024 15:19:05 +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) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 2F01F343068
	for <gentoo-commits@lists.gentoo.org>; Thu,  7 Mar 2024 15:19:04 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 5B73D1049
	for <gentoo-commits@lists.gentoo.org>; Thu,  7 Mar 2024 15:19:02 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1709824543.950b8a10289e3d99377239afef096e91104a30bd.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/bitcoin-core/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-p2p/bitcoin-core/bitcoin-core-25.1-r1.ebuild net-p2p/bitcoin-core/bitcoin-core-25.1-r2.ebuild net-p2p/bitcoin-core/bitcoin-core-26.0-r1.ebuild net-p2p/bitcoin-core/bitcoin-core-26.0.ebuild
X-VCS-Directories: net-p2p/bitcoin-core/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 950b8a10289e3d99377239afef096e91104a30bd
X-VCS-Branch: master
Date: Thu,  7 Mar 2024 15:19:02 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 4a60b679-34c9-4865-89ef-ff4f073f18fa
X-Archives-Hash: 363ab00040f1ec6f4cfa64f3c6497e9b

commit:     950b8a10289e3d99377239afef096e91104a30bd
Author:     Matt Whitlock <gentoo <AT> mattwhitlock <DOT> name>
AuthorDate: Wed Mar  6 18:03:20 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar  7 15:15:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=950b8a10

net-p2p/bitcoin-core: install symlink for bitcoin-qt Bash completion

Closes: https://bugs.gentoo.org/926253
Signed-off-by: Matt Whitlock <gentoo <AT> mattwhitlock.name>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{bitcoin-core-25.1-r1.ebuild => bitcoin-core-25.1-r2.ebuild}   | 7 ++++++-
 .../{bitcoin-core-26.0.ebuild => bitcoin-core-26.0-r1.ebuild}      | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/net-p2p/bitcoin-core/bitcoin-core-25.1-r1.ebuild b/net-p2p/bitcoin-core/bitcoin-core-25.1-r2.ebuild
similarity index 98%
rename from net-p2p/bitcoin-core/bitcoin-core-25.1-r1.ebuild
rename to net-p2p/bitcoin-core/bitcoin-core-25.1-r2.ebuild
index 688ac7bf25d3..1b14729e0a7c 100644
--- a/net-p2p/bitcoin-core/bitcoin-core-25.1-r1.ebuild
+++ b/net-p2p/bitcoin-core/bitcoin-core-25.1-r2.ebuild
@@ -221,7 +221,12 @@ src_install() {
 
 	newbashcomp contrib/completions/bash/bitcoin-tx.bash-completion bitcoin-tx
 	use bitcoin-cli && newbashcomp contrib/completions/bash/bitcoin-cli.bash-completion bitcoin-cli
-	use daemon || use gui && newbashcomp contrib/completions/bash/bitcoind.bash-completion bitcoind
+	if use daemon ; then
+		newbashcomp contrib/completions/bash/bitcoind.bash-completion bitcoind
+		use gui && bashcomp_alias bitcoind bitcoin-qt
+	elif use gui ; then
+		newbashcomp contrib/completions/bash/bitcoind.bash-completion bitcoin-qt
+	fi
 
 	if use daemon ; then
 		insinto /etc/bitcoin

diff --git a/net-p2p/bitcoin-core/bitcoin-core-26.0.ebuild b/net-p2p/bitcoin-core/bitcoin-core-26.0-r1.ebuild
similarity index 98%
rename from net-p2p/bitcoin-core/bitcoin-core-26.0.ebuild
rename to net-p2p/bitcoin-core/bitcoin-core-26.0-r1.ebuild
index 90d9df5ad6dd..bc609a903ac0 100644
--- a/net-p2p/bitcoin-core/bitcoin-core-26.0.ebuild
+++ b/net-p2p/bitcoin-core/bitcoin-core-26.0-r1.ebuild
@@ -228,7 +228,12 @@ src_install() {
 
 	newbashcomp contrib/completions/bash/bitcoin-tx.bash bitcoin-tx
 	use bitcoin-cli && newbashcomp contrib/completions/bash/bitcoin-cli.bash bitcoin-cli
-	use daemon || use gui && newbashcomp contrib/completions/bash/bitcoind.bash bitcoind
+	if use daemon ; then
+		newbashcomp contrib/completions/bash/bitcoind.bash bitcoind
+		use gui && bashcomp_alias bitcoind bitcoin-qt
+	elif use gui ; then
+		newbashcomp contrib/completions/bash/bitcoind.bash bitcoin-qt
+	fi
 
 	if use daemon ; then
 		insinto /etc/bitcoin