Accepting request 349404 from home:boombatower:branches:X11:XOrg
Add Mesa-libva. OBS-URL: https://build.opensuse.org/request/show/349404 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=491
This commit is contained in:
parent
bbbcd3d53a
commit
18c6759018
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 17 07:06:21 UTC 2015 - jimmy@boombatower.com
|
||||
|
||||
- Add Mesa-libva.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 15 16:17:22 UTC 2015 - mimi.vx@gmail.com
|
||||
|
||||
|
25
Mesa.spec
25
Mesa.spec
@ -85,6 +85,7 @@ BuildRequires: pkgconfig(libdrm_nouveau) >= 2.4.62
|
||||
BuildRequires: pkgconfig(libdrm_radeon) >= 2.4.56
|
||||
BuildRequires: pkgconfig(libkms) >= 1.0.0
|
||||
BuildRequires: pkgconfig(libudev) > 151
|
||||
BuildRequires: pkgconfig(libva)
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
BuildRequires: pkgconfig(presentproto)
|
||||
BuildRequires: pkgconfig(vdpau) >= 0.4.1
|
||||
@ -529,6 +530,14 @@ Group: System/Libraries
|
||||
This package contains the Mesa OpenCL implementation or GalliumCompute.
|
||||
%endif
|
||||
|
||||
%package libva
|
||||
Summary: Mesa VA-API implementation
|
||||
Group: System/Libraries
|
||||
Supplements: Mesa
|
||||
|
||||
%description libva
|
||||
This package contains the Mesa VA-API implementation provided through gallium.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{_name_archive}-%{_version} -b4
|
||||
# remove some docs
|
||||
@ -585,6 +594,7 @@ autoreconf -fvi
|
||||
--enable-r600-llvm-compiler \
|
||||
--with-gallium-drivers=r300,r600,radeonsi,nouveau,swrast,svga \
|
||||
--enable-vdpau \
|
||||
--enable-va \
|
||||
--enable-xvmc \
|
||||
%endif
|
||||
%ifarch %arm ppc64 ppc64le
|
||||
@ -722,11 +732,19 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \
|
||||
%postun libOpenCL -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
%post libva -p /sbin/ldconfig
|
||||
|
||||
%postun libva -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc docs/README* docs/COPYING
|
||||
%config %{_sysconfdir}/drirc
|
||||
%{_libdir}/dri/
|
||||
%dir %{_libdir}/dri
|
||||
%if 0%{?suse_version} < 1315
|
||||
%{_libdir}/dri/updates
|
||||
%endif
|
||||
%{_libdir}/dri/*_dri.so
|
||||
%if 0%{with_opencl}
|
||||
# only built with opencl
|
||||
%dir %{_libdir}/gallium-pipe/
|
||||
@ -917,4 +935,9 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \
|
||||
%{_libdir}/libMesaOpenCL.so*
|
||||
%endif
|
||||
|
||||
%files libva
|
||||
%defattr(-,root,root)
|
||||
%dir %{_libdir}/dri
|
||||
%{_libdir}/dri/gallium_drv_video.so
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user