From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1537163-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 DB5F115801B
	for <garchives@archives.gentoo.org>; Thu, 13 Jul 2023 09:42:24 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 31E8AE08A8;
	Thu, 13 Jul 2023 09:42:24 +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 1DC65E08A8
	for <gentoo-commits@lists.gentoo.org>; Thu, 13 Jul 2023 09:42:24 +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 62C59340C08
	for <gentoo-commits@lists.gentoo.org>; Thu, 13 Jul 2023 09:42:23 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 88609B03
	for <gentoo-commits@lists.gentoo.org>; Thu, 13 Jul 2023 09:42:20 +0000 (UTC)
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" <davidroman96@gmail.com>
Message-ID: <1689230173.cbebdcd20f8c55d1eaf0390088dec68c98b0325c.davidroman@gentoo>
Subject: [gentoo-commits] repo/proj/guru:master 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: davidroman
X-VCS-Committer-Name: David Roman
X-VCS-Revision: cbebdcd20f8c55d1eaf0390088dec68c98b0325c
X-VCS-Branch: master
Date: Thu, 13 Jul 2023 09:42:20 +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: 4f70cc7d-a066-45df-99d3-bf898f3ac2ac
X-Archives-Hash: c819918612daedd03f215e0e6472f905

commit:     cbebdcd20f8c55d1eaf0390088dec68c98b0325c
Author:     Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
AuthorDate: Thu Jul 13 06:36:13 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
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