From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1537108-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 866DB15800A
	for <garchives@archives.gentoo.org>; Thu, 13 Jul 2023 06:46:39 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C5357E0821;
	Thu, 13 Jul 2023 06:46:38 +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 A627AE0821
	for <gentoo-commits@lists.gentoo.org>; Thu, 13 Jul 2023 06:46:38 +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 A038C335CD4
	for <gentoo-commits@lists.gentoo.org>; Thu, 13 Jul 2023 06:46:37 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id CA18AACE
	for <gentoo-commits@lists.gentoo.org>; Thu, 13 Jul 2023 06:46:35 +0000 (UTC)
From: "Samuel Bauer" <samuel.bauer@yahoo.fr>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Samuel Bauer" <samuel.bauer@yahoo.fr>
Message-ID: <1689230173.cbebdcd20f8c55d1eaf0390088dec68c98b0325c.samuel.bauer@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-emulation/yuzu/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: games-emulation/yuzu/yuzu-9999.ebuild
X-VCS-Directories: games-emulation/yuzu/
X-VCS-Committer: samuel.bauer
X-VCS-Committer-Name: Samuel Bauer
X-VCS-Revision: cbebdcd20f8c55d1eaf0390088dec68c98b0325c
X-VCS-Branch: dev
Date: Thu, 13 Jul 2023 06:46:35 +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: 77101436-37e7-4197-9a80-dc859ce177a5
X-Archives-Hash: 5659c4017acb840fb1571a21a687252a

commit:     cbebdcd20f8c55d1eaf0390088dec68c98b0325c
Author:     Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
AuthorDate: Thu Jul 13 06:36:13 2023 +0000
Commit:     Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
CommitDate: Thu Jul 13 06:36:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cbebdcd2

games-emulation/yuzu: allow =dev-util/glslang-1.3.250

Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr>

 games-emulation/yuzu/yuzu-9999.ebuild | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/games-emulation/yuzu/yuzu-9999.ebuild b/games-emulation/yuzu/yuzu-9999.ebuild
index 3b74ec067..7116a20e0 100644
--- a/games-emulation/yuzu/yuzu-9999.ebuild
+++ b/games-emulation/yuzu/yuzu-9999.ebuild
@@ -48,7 +48,7 @@ RDEPEND="
 DEPEND="${RDEPEND}
 	dev-cpp/cpp-httplib
 	dev-cpp/cpp-jwt
-	system-vulkan? ( >=dev-util/vulkan-headers-1.3.246
+	system-vulkan? ( >=dev-util/vulkan-headers-1.3.250
 		dev-util/spirv-headers )
 	test? ( >dev-cpp/catch-3:0 )
 "
@@ -82,6 +82,7 @@ src_unpack() {
 	fi
 
 	git-r3_src_unpack
+
 	# Do not fetch via sources because this file always changes
 	use compatibility-list && curl https://api.yuzu-emu.org/gamedb/ > "${S}"/compatibility_list.json
 }
@@ -137,12 +138,8 @@ src_prepare() {
 	fi
 
 	# Allow compiling using older glslang
-	if use system-vulkan -a has_version '<dev-util/glslang-1.3.246'; then
-		sed -i -e '/Vulkan/s/246/236/' CMakeLists.txt || die
-		sed -i -e '/VK_ERROR_IMAGE_USAGE_NOT_SUPPORTED_KHR/d;' -e '/VK_ERROR_VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHR/d' \
-			-e '/VK_ERROR_VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHR/d' -e '/VK_ERROR_VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHR/d' \
-			-e '/VK_ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR/d' -e '/VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR/d' \
-			src/video_core/vulkan_common/vulkan_wrapper.cpp
+	if use system-vulkan -a has_version '<dev-util/glslang-1.3.256'; then
+		sed -i '/Vulkan/s/256/250/' CMakeLists.txt
 	fi
 
 	cmake_src_prepare