commit 0b93a109cffc9c9ecef9b06250e396cf2614376b
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Mar 26 16:55:05 2018 +0200
Switch to libva with f28+
Since appdata data can make use of hardware detection
with libva-intel-driver package on f28+
Avoid a dependency on intel vaapi backend
Signed-off-by: Nicolas Chauvet <kwizart(a)gmail.com>
steam.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/steam.spec b/steam.spec
index f23334b..fab4aba 100644
--- a/steam.spec
+++ b/steam.spec
@@ -84,7 +84,12 @@ Requires(post): firewalld-filesystem
%endif
# Required for hardware decoding during In-Home Streaming (intel)
+# Since libva-intel-driver on f28+ there is hw detection with appstream
+%if (0%{?fedora} && 0%{?fedora} < 28) || 0%{?rhel} == 7
Requires: libva-intel-driver%{?_isa}
+%else
+Requires: libva%{?_isa}
+%endif
# Required for hardware decoding during In-Home Streaming (radeon/nouveau)
Requires: libvdpau%{?_isa}