%ifnarch %{ix86} Name: obs-vkcapture Recommends: obs-vkcapture-32bit %else Name: obs-vkcapture-32bit %endif Version: 1.4.0 Release: 1 Summary: OBS Linux Vulkan/OpenGL game capture License: GPL-2.0-only URL: https://github.com/nowrep/obs-vkcapture VCS: git+https://github.com/hwsmm/obs-vkcapture.git#4f1bc797e285c66db2c186eb9c97b782de9438d0: Source: obs-vkcapture-4f1bc797.tar.gz BuildRequires: cmake gcc gcc-c++ %ifnarch %{ix86} BuildRequires: cmake(libobs) %endif BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(vulkan) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-scanner) %description OBS plugin for Vulkan/OpenGL game capture on Linux. %prep %setup -T -b 0 -q -n obs-vkcapture %build %cmake \ %ifarch %{ix86} -DBUILD_PLUGIN=OFF \ %endif -DCMAKE_BUILD_TYPE=Release %cmake_build %install %cmake_install %ifarch %{ix86} rm -r %{buildroot}/%{_bindir} %endif %files %defattr(-,root,root,-) %license LICENSE %ifnarch %{ix86} %dir %{_datadir}/obs/obs-plugins/linux-vkcapture %{_datadir}/obs/obs-plugins/linux-vkcapture/locale/ja-JP.ini %{_datadir}/obs/obs-plugins/linux-vkcapture/locale/cs-CZ.ini %{_datadir}/obs/obs-plugins/linux-vkcapture/locale/fr-FR.ini %{_datadir}/obs/obs-plugins/linux-vkcapture/locale/es-ES.ini %{_datadir}/obs/obs-plugins/linux-vkcapture/locale/it-IT.ini %{_datadir}/obs/obs-plugins/linux-vkcapture/locale/ru-RU.ini %{_datadir}/obs/obs-plugins/linux-vkcapture/locale/de-DE.ini %{_datadir}/obs/obs-plugins/linux-vkcapture/locale/en-US.ini %{_datadir}/vulkan/implicit_layer.d/obs_vkcapture_64.json %{_bindir}/obs-vkcapture %{_bindir}/obs-glcapture %{_bindir}/obs-gamecapture %{_libdir}/obs-plugins/linux-vkcapture.so %else %{_datadir}/vulkan/implicit_layer.d/obs_vkcapture_32.json %endif %{_libdir}/libVkLayer_obs_vkcapture.so %{_libdir}/libobs_glcapture.so