1
0
forked from rpms/mesa

Enalbe VAAPI state tracker

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
(cherry picked from commit fafb73256a924ea2189f54da4e1524f48a5b9359)

Conflicts:
	mesa.spec
This commit is contained in:
Igor Gnatenko 2014-12-14 20:58:38 +03:00
parent 73be3c3499
commit b1ffe56bdc

View File

@ -4,11 +4,13 @@
%else %else
%define with_private_llvm 0 %define with_private_llvm 0
%define with_vdpau 1 %define with_vdpau 1
%define with_vaapi 1
%define with_wayland 1 %define with_wayland 1
%endif %endif
%ifarch %{power64} ppc %ifarch %{power64} ppc
%undefine with_vdpau %undefine with_vdpau
%undefine with_vaapi
%endif %endif
# S390 doesn't have video cards, but we need swrast for xserver's GLX # S390 doesn't have video cards, but we need swrast for xserver's GLX
@ -55,7 +57,7 @@
Summary: Mesa graphics libraries Summary: Mesa graphics libraries
Name: mesa Name: mesa
Version: 10.5.0 Version: 10.5.0
Release: 0.devel.4.%{git}%{?dist} Release: 0.devel.5.%{git}%{?dist}
License: MIT License: MIT
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.mesa3d.org URL: http://www.mesa3d.org
@ -123,6 +125,9 @@ BuildRequires: mesa-libGL-devel
%if 0%{?with_vdpau} %if 0%{?with_vdpau}
BuildRequires: libvdpau-devel BuildRequires: libvdpau-devel
%endif %endif
%if 0%{?with_vaapi}
BuildRequires: libva-devel
%endif
BuildRequires: zlib-devel BuildRequires: zlib-devel
%if 0%{?with_omx} %if 0%{?with_omx}
BuildRequires: libomxil-bellagio-devel BuildRequires: libomxil-bellagio-devel
@ -382,6 +387,7 @@ export CXXFLAGS="$RPM_OPT_FLAGS %{?with_opencl:-frtti -fexceptions} %{!?with_ope
--enable-gles2 \ --enable-gles2 \
--disable-xvmc \ --disable-xvmc \
%{?with_vdpau:--enable-vdpau} \ %{?with_vdpau:--enable-vdpau} \
%{?with_vaapi:--enable-va} \
--with-egl-platforms=x11,drm%{?with_wayland:,wayland} \ --with-egl-platforms=x11,drm%{?with_wayland:,wayland} \
--enable-shared-glapi \ --enable-shared-glapi \
--enable-gbm \ --enable-gbm \
@ -537,6 +543,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/dri/kms_swrast_dri.so %{_libdir}/dri/kms_swrast_dri.so
%endif %endif
%{_libdir}/dri/swrast_dri.so %{_libdir}/dri/swrast_dri.so
%if 0%{?with_vaapi}
%{_libdir}/dri/gallium_drv_video.so
%endif
%if %{with_hardware} %if %{with_hardware}
%if 0%{?with_omx} %if 0%{?with_omx}
@ -669,6 +678,9 @@ rm -rf $RPM_BUILD_ROOT
# Generate changelog using: # Generate changelog using:
# git log old_commit_sha..new_commit_sha --format="- %H: %s (%an)" # git log old_commit_sha..new_commit_sha --format="- %H: %s (%an)"
%changelog %changelog
* Sun Dec 14 2014 Igor Gnatenko 10.5.0-0.devel.5.git29c7cf2
- Enable VA state-tracker
* Thu Dec 11 2014 Adam Jackson <ajax@redhat.com> 10.5.0-0.devel.4 * Thu Dec 11 2014 Adam Jackson <ajax@redhat.com> 10.5.0-0.devel.4
- Restore hardware drivers on ppc64{,le} - Restore hardware drivers on ppc64{,le}