From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1660830-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 B90A1159C9C
	for <garchives@archives.gentoo.org>; Sun, 11 Aug 2024 02:45:03 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B851E2BC09F;
	Sun, 11 Aug 2024 02:45:02 +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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 9D11F2BC0BB
	for <gentoo-commits@lists.gentoo.org>; Sun, 11 Aug 2024 02:45:02 +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 AAD8E343106
	for <gentoo-commits@lists.gentoo.org>; Sun, 11 Aug 2024 02:45:01 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id BDE551EDF
	for <gentoo-commits@lists.gentoo.org>; Sun, 11 Aug 2024 02:44:58 +0000 (UTC)
From: "Yixun Lan" <dlan@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, "Yixun Lan" <dlan@gentoo.org>
Message-ID: <1723344096.1fada7643d26e1f684a213cac654b7f56c0e88ed.dlan@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-wm/hyprland/
X-VCS-Repository: repo/gentoo
X-VCS-Files: gui-wm/hyprland/hyprland-0.42.0-r1.ebuild
X-VCS-Directories: gui-wm/hyprland/
X-VCS-Committer: dlan
X-VCS-Committer-Name: Yixun Lan
X-VCS-Revision: 1fada7643d26e1f684a213cac654b7f56c0e88ed
X-VCS-Branch: master
Date: Sun, 11 Aug 2024 02:44:58 +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: 7cf0d542-ac6c-4850-b74e-c4290febad11
X-Archives-Hash: f2d3a70118ab22894b849ac60b742f16

commit:     1fada7643d26e1f684a213cac654b7f56c0e88ed
Author:     John M. Harris Jr. <johnmh <AT> johnmh <DOT> me>
AuthorDate: Sat Aug 10 19:37:11 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Sun Aug 11 02:41:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fada764

gui-wm/hyprland: fix generateVersion.sh error

Closes: https://bugs.gentoo.org/937601
Co-authored-by: xz-dev <xiangzhedev <AT> gmail.com>
Signed-off-by: xz-dev <xiangzhedev <AT> gmail.com>
Signed-off-by: John M. Harris Jr. <johnmh <AT> johnmh.me>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 gui-wm/hyprland/hyprland-0.42.0-r1.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gui-wm/hyprland/hyprland-0.42.0-r1.ebuild b/gui-wm/hyprland/hyprland-0.42.0-r1.ebuild
index 5595a6c47d3c..1328a9a6c961 100644
--- a/gui-wm/hyprland/hyprland-0.42.0-r1.ebuild
+++ b/gui-wm/hyprland/hyprland-0.42.0-r1.ebuild
@@ -82,6 +82,12 @@ pkg_setup() {
 	fi
 }
 
+src_prepare() {
+	# skip version.h
+	sed -i -e "s|scripts/generateVersion.sh|echo|g" meson.build || die
+	default
+}
+
 src_configure() {
 	local emesonargs=(
 		$(meson_feature legacy-renderer legacy_renderer)