From 62a5122e0fc865374051adf36547c52d50554a43 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Wed, 21 Apr 2021 13:34:00 +0100
Subject: [PATCH] Stop depending on vulkaninfo

We now use our own check-vulkan executable instead of vulkaninfo,
because it can give us more machine-readable information about
non-default GPUs. A side benefit is one less dependency.

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 debian/control                               | 2 --
 pressure-vessel/THIRD-PARTY.md               | 2 --
 pressure-vessel/build-relocatable-install.py | 2 --
 3 files changed, 6 deletions(-)

diff --git a/debian/control b/debian/control
index 8cde63aa6..5e5a35302 100644
--- a/debian/control
+++ b/debian/control
@@ -160,7 +160,6 @@ Depends:
  libcapsule-tools-relocatable (>= 0.20201120.0),
  libsteam-runtime-tools-0-helpers,
  vainfo-multiarch,
- vulkan-tools-multiarch,
  waffle-utils-multiarch,
  ${misc:Depends},
  ${shlibs:Depends},
@@ -177,7 +176,6 @@ Depends:
  libcapsule-tools-relocatable (>= 0.20201120.0),
  libsteam-runtime-tools-0-helpers,
  vainfo-multiarch,
- vulkan-tools-multiarch,
  waffle-utils-multiarch,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pressure-vessel/THIRD-PARTY.md b/pressure-vessel/THIRD-PARTY.md
index f0bcc1625..7170b9592 100644
--- a/pressure-vessel/THIRD-PARTY.md
+++ b/pressure-vessel/THIRD-PARTY.md
@@ -58,8 +58,6 @@ programs and libraries:
 - libjson-glib-1.0.so.0 from json-glib: [LGPL-2.0-or-later][]. See
   json-glib.txt.
 
-- vulkaninfo from Vulkan-Tools: [Apache-2.0][]. See vulkan-tools.txt.
-
 - wflinfo from waffle: [BSD-2-clause][]. See waffle.txt.
 
 Complete source code can be obtained from the same place as
diff --git a/pressure-vessel/build-relocatable-install.py b/pressure-vessel/build-relocatable-install.py
index 519264516..0409b47cf 100755
--- a/pressure-vessel/build-relocatable-install.py
+++ b/pressure-vessel/build-relocatable-install.py
@@ -79,7 +79,6 @@ ARCHS = [
 DEPENDENCIES = {
     'libcapsule-tools-relocatable': 'libcapsule',
     'libelf1': 'elfutils',
-    'vulkan-tools-multiarch': 'vulkan-tools',
     'waffle-utils-multiarch': 'waffle',
     'zlib1g': 'zlib',
 }
@@ -100,7 +99,6 @@ PRIMARY_ARCH_DEPENDENCIES = {
     'libxau6': 'libxau',
 }
 HELPERS = {
-    'vulkaninfo': 'vulkan-tools-multiarch',
     'wflinfo': 'waffle-utils-multiarch',
 }
 SCRIPTS = [
-- 
GitLab