## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: obs-studio-plugin-vaapi Version: 0.4.2 Release: %autorelease Summary: OBS Studio VAAPI support via GStreamer License: GPL-2.0 URL: https://github.com/fzwoch/obs-vaapi Source0: %{url}/archive/refs/tags/%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc BuildRequires: gstreamer1-plugins-base-devel BuildRequires: meson BuildRequires: obs-studio-devel BuildRequires: pciutils-devel Requires: obs-studio %description GStreamer based VAAPI encoder implementation. Taken out of the GStreamer OBS plugin as a standalone plugin. Simply because the FFMPEG VAAPI implementation shows performance bottlenecks on some AMD hardware. Supports H.264, H.265 and AV1. %prep %autosetup -n obs-vaapi-%{version} %build %meson --libdir= --prefix=%{_libdir}/obs-plugins %meson_build %install %meson_install %files %license LICENSE %doc README.md %{_libdir}/obs-plugins/obs-vaapi.so %changelog ## START: Generated by rpmautospec * Sun Nov 03 2024 LuK1337 - 0.4.2-1 - Initial commit ## END: Generated by rpmautospec