Name: obs-vkcapture Version: 0.0.git.354.aa3c43a0 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#aa3c43a0ac579266e4773660f6958c1476a0b64a: Source: obs-vkcapture-aa3c43a0.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: obs-vkcapture-vulkan-layer-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-vulkan-layer-common 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-vulkan-layer-common Summary: OpenGL game capture plugin for OBS Studio Provides: obs-vkcapture-vulkan-layer-common = %{version} Version: %{version} %description -n obs-vkcapture-vulkan-layer-common Common files for Vulkan Layers powering 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 obs-vkcapture-vulkan-layer-common %dir %{_datadir}/vulkan/implicit_layer.d/ %{_datadir}/vulkan/implicit_layer.d/obs_vk*.json %files -n libobs_vkcapture %{_libdir}/libVkLayer_obs_vkcapture.so %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