mirror of
https://gitlab.com/GloriousEggroll/obs-studio-nobara.git
synced 2025-12-11 00:00:01 -05:00
add hevc vaapi patch
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user