Name: obs-vkcapture Version: 0.0.git.355.a79a23ba Release: 1%{?dist} Summary: OBS plugin for Vulkan/OpenGL game capture on Linux License: GPL-2.0-or-later URL: https://github.com/KyleGospo/obs-vkcapture VCS: git+https://github.com/KyleGospo/obs-vkcapture.git#a79a23ba5169ef5684376016d9335b2f1c854cb0: Source: obs-vkcapture-a79a23ba.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: vulkan-devel BuildRequires: obs-studio-devel BuildRequires: mesa-libGL-devel BuildRequires: mesa-libEGL-devel BuildRequires: glslang-devel BuildRequires: wayland-devel BuildRequires: pkgconfig(x11) Requires: obs-vkcapture-common Requires: libobs_vkcapture Requires: libobs_glcapture %description OBS plugin for Vulkan/OpenGL game capture on Linux. Requires OBS >= 27. On X11 you need to explicitly enable EGL: OBS_USE_EGL=1 obs %package -n libobs_vkcapture Summary: Vulkan game capture plugin for OBS Studio Provides: libobs_vkcapture = %{version} Requires: obs-vkcapture-common Version: %{version} %description -n libobs_vkcapture OBS plugin for Vulkan/OpenGL game capture on Linux %package -n libobs_glcapture Summary: OpenGL game capture plugin for OBS Studio Provides: libobs_glcapture = %{version} Requires: obs-vkcapture-common Version: %{version} %description -n libobs_glcapture OBS plugin for Vulkan/OpenGL game capture on Linux %package -n obs-vkcapture-common Summary: OpenGL game capture plugin for OBS Studio Provides: obs-vkcapture-common = %{version} Version: %{version} BuildArch: noarch %description -n obs-vkcapture-common OBS plugin for Vulkan/OpenGL game capture on Linux %prep %setup -T -b 0 -q -n obs-vkcapture %build %cmake -DCMAKE_INSTALL_PREFIX=/usr .. \ -DCMAKE_BUILD_TYPE=Release %cmake_build %{?_smp_mflags} %install %cmake_install %files %{_libdir}/obs-plugins/linux-vkcapture.so %dir %{_datadir}/obs/obs-plugins/linux-vkcapture/ %{_datadir}/obs/obs-plugins/linux-vkcapture/* %files -n libobs_vkcapture %{_libdir}/libVkLayer_obs_vkcapture.so %{_datadir}/vulkan/implicit_layer.d/obs_vk*.json %files -n libobs_glcapture %{_libdir}/obs_glcapture/libobs_glcapture.so %files -n obs-vkcapture-common %license LICENSE %doc README.md %{_bindir}/obs-gamecapture %{_bindir}/obs-glcapture %{_bindir}/obs-vkcapture %changelog