mirror of
https://abf.rosa.ru/djam/chromium-browser-stable.git
synced 2025-02-24 15:12:49 +00:00
/usr/include/va/va_version.h was still missing while processing 'define'
This commit is contained in:
parent
3a50526b2a
commit
8e84209690
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,6 @@
|
|||
|
||||
# The script ./patches.sh helps to sync patches in spec and real files
|
||||
|
||||
%define vaapi_version %(cat %{_includedir}/va/va_version.h | grep '#define VA_MAJOR_VERSION ' | awk '{print $NF}')
|
||||
%global _build_pkgcheck_set %{nil}
|
||||
|
||||
# eol 'fix' corrupts some .bin
|
||||
|
@ -314,7 +313,8 @@ members of the Chromium and WebDriver teams.
|
|||
%patch508 -p1 -b .vaapiMain
|
||||
# We have libva1 in rosa2016.1, but will have libva2 in rosa2019.1
|
||||
# This patch is needed for libva1 only (where VA_MAJOR_VERSION = 0)
|
||||
%if %{vaapi_version} < 1
|
||||
#define vaapi_version %(cat %{_includedir}/va/va_version.h | grep '#define VA_MAJOR_VERSION ' | awk '{print $NF}')
|
||||
%if %{mdvver} < 201800
|
||||
%patch509 -p1 -b .vaapi1
|
||||
%endif
|
||||
%endif
|
||||
|
|
Loading…
Add table
Reference in a new issue