%bcond_without check %global cargo_install_lib 0 %global forgeurl https://gitlab.com/gabmus/envision %global commit ae36b28c5f79be1caa6835e149d445b3895a2e0f %global date 20241017 %forgemeta Name: envision Version: 0.1.0 Release: %autorelease Summary: UI for building, configuring, and running Monado/WiVRn License: AGPL-3.0-only URL: %{forgeurl} Source0: %{forgesource} BuildRequires: cargo BuildRequires: cargo-rpm-macros >= 26 BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: eigen3 BuildRequires: g++ BuildRequires: gdb-gdbserver BuildRequires: git BuildRequires: glib2-devel BuildRequires: glslang BuildRequires: glslc BuildRequires: gtk4-devel BuildRequires: gtksourceview5-devel BuildRequires: libadwaita-devel BuildRequires: libdrm BuildRequires: libgudev-devel BuildRequires: libusb1-devel BuildRequires: libXrandr-devel BuildRequires: mesa-libGL-devel BuildRequires: meson BuildRequires: openssl-devel BuildRequires: openxr-devel BuildRequires: rustc BuildRequires: vte291-gtk4-devel BuildRequires: vulkan-headers BuildRequires: vulkan-loader-devel Suggests: android-tools %description UI for building, configuring, and running Monado, the open source OpenXR runtime. This is still highly experimental software, while it's unlikely that anything bad will happen, it's still unstable and there is no guarantee that it will work on your system, with your particular hardware. If you encounter any problems while using the app, make sure to open an issue. Also consider that due to the unstable nature of the app, it's possible to encounter unexpected behavior that while in VR might cause motion sickness or physical injury. Be very careful while in VR using this app! %prep %forgeautosetup -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %meson %meson_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %meson_install %if %{with check} %check %meson_test %endif %files %license LICENSE %license LICENSE.dependencies %doc README.md %doc meson_options.txt %{_bindir}/envision %{_datarootdir}/envision %{_datarootdir}/applications/org.gabmus.envision.Devel.desktop %{_datarootdir}/icons/hicolor/scalable/apps/org.gabmus.envision.Devel.svg %{_datarootdir}/icons/hicolor/symbolic/apps/org.gabmus.envision.Devel-symbolic.svg %{_datarootdir}/metainfo/org.gabmus.envision.Devel.appdata.xml %changelog %autochangelog