%define oname libva-vdpau-driver %define snap 0 %define rel 11 Summary: VA-API driver for VDPAU interface Name: vaapi-driver-vdpau Version: 0.7.4 %if %snap Release: %mkrel 3.git%snap.%rel %else Release: %mkrel %rel %endif Group: System/Libraries License: GPLv2+ URL: http://www.splitted-desktop.com/~gbeauchesne/vdpau-video/ %if %snap # https://cgit.freedesktop.org/vaapi/vdpau-driver/ # git archive --prefix vdpau-video-20120224/ master | xz > ../vdpau-video-20120224.tar.xz Source: %{oname}-%{snap}.tar.xz %else Source: https://www.freedesktop.org/software/vaapi/releases/libva-vdpau-driver/%{oname}-%{version}.tar.bz2 %endif # (tv) fix compiling with mesa-9: Patch0: fix-compiling.diff Patch1: no-H264-buffer-type.patch Patch2: libva-vdpau-driver-0.7.4-libvdpau0.8.patch # Reported in https://bugs.freedesktop.org/58836 and https://bugs.debian.org/748294 Patch3: sigfpe-crash.patch Patch4: Change-struct-v4l2-to-uintptr_t.patch # From FC Patch5: libva-vdpau-driver-0.7.4-glext-85.patch # (chromium-vaapi specific patches) Patch6: implement-vaquerysurfaceattributes.patch # From https://github.com/xuanruiqi/vdpau-va-driver-vp9/commit/34f166a74996c0806917510656a49be1c043c7ae Patch7: 0048-Check-if-x11_dpy-is-initialized.patch # BuildRequires: libva-devel BuildRequires: vdpau-devel Provides: %oname %description VDPAU driver back-end for VA API, a video acceleration API. %prep %if %snap %setup -q -n %oname-%snap %else %setup -q -n %oname-%version %endif %autopatch -p1 %build %if %snap ./autogen.sh %endif %configure %make_build %install %make_install rm -f %{buildroot}%{_libdir}/dri/*.la %files %doc AUTHORS NEWS %{_libdir}/dri/*_drv_video.so %changelog * Thu Feb 09 2023 ghibo 0.7.4-11.mga9 + Revision: 1939667 - Merge patch from FC to fix driver with GL_GLEXT_VERSION >= 58. - Merge patch from FC and chromium to add support for vaQuerySurfaceAttributes. - Merge patch from alternative upstream to check for NULL dereference in x11_dpy. * Wed Mar 30 2022 umeabot 0.7.4-10.mga9 + Revision: 1834641 - Mageia 9 Mass Rebuild * Wed Feb 26 2020 daviddavid 0.7.4-9.mga8 + Revision: 1550733 - add patch to fix build (Change struct v4l2 to uintptr_t) + umeabot - Mageia 8 Mass Rebuild + wally - replace deprecated %%configure2_5x - replace deprecated %%makeinstall_std - replace deprecated %%apply_patches * Sun Sep 23 2018 umeabot 0.7.4-8.mga7 + Revision: 1301561 - Mageia 7 Mass Rebuild * Fri Feb 05 2016 umeabot 0.7.4-7.mga6 + Revision: 937866 - Mageia 6 Mass Rebuild * Thu Oct 16 2014 luigiwalser 0.7.4-6.mga5 + Revision: 766746 - add patch from rosa to fix build + umeabot - Second Mageia 5 Mass Rebuild - Mageia 5 Mass Rebuild * Wed Dec 25 2013 pterjan 0.7.4-4.mga4 + Revision: 560610 - Fix build + umeabot - Mageia 4 Mass Rebuild * Mon Jan 14 2013 umeabot 0.7.4-2.mga3 + Revision: 385220 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Oct 11 2012 tv 0.7.4-1.mga3 + Revision: 304636 - patch 0: fix compiling with mesa-9 - fix group - new group - new release * Tue Mar 06 2012 anssi 0.7.3-3.git20120224.1.mga2 + Revision: 219450 - new git snapshot * Fri May 13 2011 ahmad 0.7.3-2.mga1 + Revision: 98037 - Drop the video-mesa patch, looks fixed upstream and the package does build without it * Fri May 13 2011 ahmad 0.7.3-1.mga1 + Revision: 98032 - Update to 0.7.3 - Rediff the video-mesa patch - Adjust the files list, libs are now in {_libdir}/dri/ + mikala - imported package vaapi-driver-vdpau * Wed Nov 17 2010 Anssi Hannula 0.7.2-1mdv2011.0 + Revision: 598479 - new version - fix build with current mesa (mesa.patch) * Mon Jul 19 2010 Anssi Hannula 0.6.10-3mdv2011.0 + Revision: 555025 - rebuild for new libva * Tue Jul 13 2010 Anssi Hannula 0.6.10-2mdv2011.0 + Revision: 551466 - add provides on vdpau-video * Tue Jul 13 2010 Anssi Hannula 0.6.10-1mdv2011.0 + Revision: 551392 - initial Mandriva release