Name: libva-v4l2_request Version: 1.2 Release: 1%{?dist} Summary: VA-API driver for V4L2 stateless (request API) video decoders License: GPL-3.0-or-later URL: https://xff.cz/git/libva-v4l2_request/ # Upstream cgit has snapshots disabled; generated with ./fetch-source.sh Source0: %{name}-%{version}.tar.gz BuildRequires: meson >= 0.56 BuildRequires: gcc BuildRequires: pkgconfig(libva) >= 1.10.0 BuildRequires: pkgconfig(libdrm) BuildRequires: kernel-headers # Fedora's libva-v4l2-request is the unmaintained 2019 bootlin driver this # project was rewritten from; both install dri/v4l2_request_drv_video.so. Conflicts: libva-v4l2-request %description A VA-API (libva) backend for V4L2 stateless video decoders using the Media Request API, by Ondrej Jirman (megi). It lets any VA-API client - mpv, ffmpeg, Firefox, GStreamer's va plugin - use kernel stateless decoders such as the Apple Silicon AVD (apple_avd), Rockchip rkvdec/vdpu and Allwinner cedrus with no application patches. Codecs are compiled in according to the kernel uAPI headers available at build time: MPEG-2, H.264, HEVC, VP8, VP9 and AV1. The driver is not auto-selected by libva (the render node's DRM driver is the GPU, not the decoder), so set LIBVA_DRIVER_NAME=v4l2_request in the session environment. %prep %autosetup %build %meson %meson_build %install %meson_install %files %license COPYING %doc README NEWS %{_libdir}/dri/v4l2_request_drv_video.so %changelog * Thu Sep 17 2026 Lachlan Marie - 1.2-1 - Initial packaging.