commit:     6840d0bbdcce0302eb29dc207ec99503b3ac8800
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 15 15:15:43 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Jan 15 15:18:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6840d0bb

dev-debug/gfxreconstruct: Fix dependencies

Closes: https://bugs.gentoo.org/948133
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-debug/gfxreconstruct/gfxreconstruct-1.3.296.0.ebuild | 3 +--
 dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild      | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/dev-debug/gfxreconstruct/gfxreconstruct-1.3.296.0.ebuild 
b/dev-debug/gfxreconstruct/gfxreconstruct-1.3.296.0.ebuild
index ddd0350534fb..89faea5c0da3 100644
--- a/dev-debug/gfxreconstruct/gfxreconstruct-1.3.296.0.ebuild
+++ b/dev-debug/gfxreconstruct/gfxreconstruct-1.3.296.0.ebuild
@@ -42,12 +42,11 @@ RDEPEND="
 DEPEND="${RDEPEND}
        X? ( x11-libs/libXrandr )
 "
-if [[ ${PV} == 9999* ]]; then
+if [[ ${PV} != 9999* ]]; then
        DEPEND+="
                ~dev-util/spirv-headers-${PV}
                ~dev-util/vulkan-headers-${PV}
        "
-else
        PATCHES=(
                "${FILESDIR}"/1.3.296.0-use-system-vulkan.patch
        )

diff --git a/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild 
b/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild
index ddd0350534fb..89faea5c0da3 100644
--- a/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild
+++ b/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild
@@ -42,12 +42,11 @@ RDEPEND="
 DEPEND="${RDEPEND}
        X? ( x11-libs/libXrandr )
 "
-if [[ ${PV} == 9999* ]]; then
+if [[ ${PV} != 9999* ]]; then
        DEPEND+="
                ~dev-util/spirv-headers-${PV}
                ~dev-util/vulkan-headers-${PV}
        "
-else
        PATCHES=(
                "${FILESDIR}"/1.3.296.0-use-system-vulkan.patch
        )

Reply via email to