add hevc vaapi patch

This commit is contained in:
Thomas Crider
2022-03-12 11:36:22 -07:00
parent 117daf20da
commit 30abe2426e
5 changed files with 3227 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
%global __python %{__python3}
%define version_string 27.2.3
%global build_timestamp %(date +"%Y%m%d")
%global build_timestamp 2%(date +"%Y%m%d")
%global rel_build %{build_timestamp}.%{shortcommit}%{?dist}
# obs version and commit
@@ -36,6 +36,7 @@ Source2: https://github.com/obsproject/obs-browser/archive/%{commit2}/obs
Source3: https://cdn-fastly.obsproject.com/downloads/cef_binary_4638_linux64.tar.bz2
Source4: https://github.com/nowrep/obs-vkcapture/archive/%{commit3}/obs-vkcapture-%{shortcommit3}.tar.gz
Patch0: hevc-vaapi.diff
Patch1: vkcapture.diff
BuildRequires: gcc
@@ -133,6 +134,7 @@ tar -xf %{SOURCE3} -C ../
mkdir -p plugins/obs-vkcapture
tar -xf %{SOURCE4} -C plugins/obs-vkcapture --strip-components=1
patch -Np1 < %{PATCH0}
patch -Np1 < %{PATCH1}
%build