el9 aarch64 does not seem to have libva-devel

epel8
Tom spot Callaway 2 years ago
parent cd477185d5
commit effc42ab0a

@ -48,11 +48,18 @@
# We'd like to always have this on... # We'd like to always have this on...
# ... but the libva in EL7 (and EL8) is too old. # ... but the libva in EL7 (and EL8) is too old.
# ... and EL9 doesn't ship libva-devel on aarch64?
%if 0%{?rhel} == 7 || 0%{?rhel} == 8 %if 0%{?rhel} == 7 || 0%{?rhel} == 8
%global use_vaapi 0 %global use_vaapi 0
%else %else
%if 0%{?rhel} == 9
%ifarch aarch64
%global use_vaapi 0
%endif
%else
%global use_vaapi 1 %global use_vaapi 1
%endif %endif
%endif
# Seems like we might need this sometimes # Seems like we might need this sometimes
# Practically, no. But it's here in case we do. # Practically, no. But it's here in case we do.
@ -539,7 +546,9 @@ BuildRequires: libudev-devel
Requires: libusbx >= 1.0.21-0.1.git448584a Requires: libusbx >= 1.0.21-0.1.git448584a
BuildRequires: libusbx-devel >= 1.0.21-0.1.git448584a BuildRequires: libusbx-devel >= 1.0.21-0.1.git448584a
%endif %endif
%if 0%{?use_vaapi}
BuildRequires: libva-devel BuildRequires: libva-devel
%endif
# We don't use libvpx anymore because Chromium loves to # We don't use libvpx anymore because Chromium loves to
# use bleeding edge revisions here that break other things # use bleeding edge revisions here that break other things
# ... so we just use the bundled libvpx. # ... so we just use the bundled libvpx.

Loading…
Cancel
Save