mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 14:03:33 -04:00
games-emulation/yuzu: allow =dev-util/glslang-1.3.250
Signed-off-by: Samuel Bauer <samuel.bauer@yahoo.fr>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user