commit: ffe3363fa68d3549cd449a9fe720a323392d3b48
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 1 23:59:29 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Dec 2 03:13:58 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffe3363f
app-emulation/vkd3d-proton: show similar support warning as dxvk-2.0
Unsure if it's exact same requirements (not as well documented),
but 2.7 is definitely not usable with nvidia-drivers:0/470 while
2.6 still works.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
app-emulation/vkd3d-proton/vkd3d-proton-2.7.ebuild | 8 ++++++++
app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild | 8 ++++++++
2 files changed, 16 insertions(+)
diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-2.7.ebuild
b/app-emulation/vkd3d-proton/vkd3d-proton-2.7.ebuild
index 8aabe093f400..1ab788816702 100644
--- a/app-emulation/vkd3d-proton/vkd3d-proton-2.7.ebuild
+++ b/app-emulation/vkd3d-proton/vkd3d-proton-2.7.ebuild
@@ -167,4 +167,12 @@ pkg_postinst() {
elog
elog "See ${EROOT}/usr/share/doc/${PF}/README.md* for details."
fi
+
+ if [[ ! ${REPLACING_VERSIONS##* } ]] ||
+ ver_test ${REPLACING_VERSIONS##* } -lt 2.7
+ then
+ elog
+ elog ">=${PN}-2.7 requires drivers and Wine to support
vulkan-1.3, meaning:"
+ elog ">=wine-*-7.1 (or >=wine-proton-7.0), and >=mesa-22.0 (or
>=nvidia-drivers-510)"
+ fi
}
diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild
b/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild
index 6c6b0e82479d..55490ce310fc 100644
--- a/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild
+++ b/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild
@@ -167,4 +167,12 @@ pkg_postinst() {
elog
elog "See ${EROOT}/usr/share/doc/${PF}/README.md* for details."
fi
+
+ if [[ ! ${REPLACING_VERSIONS##* } ]] ||
+ ver_test ${REPLACING_VERSIONS##* } -lt 2.7
+ then
+ elog
+ elog ">=${PN}-2.7 requires drivers and Wine to support
vulkan-1.3, meaning:"
+ elog ">=wine-*-7.1 (or >=wine-proton-7.0), and >=mesa-22.0 (or
>=nvidia-drivers-510)"
+ fi
}