Enalbe VAAPI state tracker

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
Igor Gnatenko 2014-12-14 20:58:38 +03:00
parent 1c20bc4439
commit fafb73256a

View file

@ -4,11 +4,13 @@
%else
%define with_private_llvm 0
%define with_vdpau 1
%define with_vaapi 1
%define with_wayland 1
%endif
%ifarch %{power64} ppc
%undefine with_vdpau
%undefine with_vaapi
%endif
# S390 doesn't have video cards, but we need swrast for xserver's GLX
@ -123,6 +125,9 @@ BuildRequires: mesa-libGL-devel
%if 0%{?with_vdpau}
BuildRequires: libvdpau-devel
%endif
%if 0%{?with_vaapi}
BuildRequires: libva-devel
%endif
BuildRequires: zlib-devel
%if 0%{?with_omx}
BuildRequires: libomxil-bellagio-devel
@ -385,6 +390,7 @@ export CXXFLAGS="$RPM_OPT_FLAGS %{?with_opencl:-frtti -fexceptions} %{!?with_ope
%endif
--disable-xvmc \
%{?with_vdpau:--enable-vdpau} \
%{?with_vaapi:--enable-va} \
--with-egl-platforms=x11,drm%{?with_wayland:,wayland} \
--enable-shared-glapi \
--enable-gbm \
@ -544,6 +550,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/dri/kms_swrast_dri.so
%endif
%{_libdir}/dri/swrast_dri.so
%if 0%{?with_vaapi}
%{_libdir}/dri/gallium_drv_video.so
%endif
%if %{with_hardware}
%if 0%{?with_omx}
@ -679,8 +688,9 @@ rm -rf $RPM_BUILD_ROOT
# Generate changelog using:
# git log old_commit_sha..new_commit_sha --format="- %H: %s (%an)"
%changelog
* Sun Dec 14 2014 10.4.0-1.20141214
* Sun Dec 14 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 10.4.0-1.20141214
- 10.4.0
- Enable VA state-tracker
* Fri Dec 12 2014 Adam Jackson <ajax@redhat.com> 10.3.5-2
- Rebuild for LLVM 3.5