## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 7; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %bcond check 1 %global forgeurl https://gitlab.com/gabmus/envision Name: envision Version: 3.2.0 Release: %autorelease Summary: UI for building, configuring, and running Monado/WiVRn %forgemeta # Licenses of statically linked Rust dependencies: # ================================================ # (Apache-2.0 OR MIT) AND BSD-3-Clause # (MIT OR Apache-2.0) AND BSD-3-Clause AND GPL-2.0-only WITH GCC-exception-2.0 AND MIT # (MIT OR Apache-2.0) AND Unicode-3.0 # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # AGPL-3.0-or-later # Apache-2.0 # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-2-Clause OR Apache-2.0 OR MIT # ISC # LGPL-2.1-or-later # MIT # MIT OR Apache-2.0 # Unicode-3.0 # Unlicense OR MIT # Zlib License: %{shrink: AGPL-3.0-or-later AND Apache-2.0 AND BSD-3-Clause AND GPL-2.0-only WITH GCC-exception-2.0 AND ISC AND LGPL-2.1-or-later AND MIT AND Unicode-3.0 AND Unicode-DFS-2016 AND Zlib AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (Unlicense OR MIT) } # LICENSE.dependencies contains a full license breakdown URL: %{forgeurl} Source0: %{forgesource} # Reported upstream https://gitlab.com/gabmus/envision/-/issues/256 Patch0: 0001-fix-drop-RUSTFLAGS-override-from-cargo-clippy-test.patch Patch1: 0001-Bump-git2-dependency-from-0.19-to-0.20.patch BuildRequires: cargo BuildRequires: cargo-rpm-macros >= 26 BuildRequires: clippy 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: libappstream-glib 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: rustfmt BuildRequires: vte291-gtk4-devel BuildRequires: vulkan-headers BuildRequires: vulkan-loader-devel Requires: hicolor-icon-theme Requires: patch 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! %package wivrn Summary: WiVRn Build Dependencies for Envision Requires: %{name} = %{version}-%{release} # Sync with https://src.fedoraproject.org/rpms/wivrn/raw/rawhide/f/wivrn.spec Requires: boost-devel Requires: cmake Requires: desktop-file-utils Requires: extra-cmake-modules Requires: gcc-c++ Requires: gettext-devel Requires: git Requires: glslc Requires: kf6-kcoreaddons-devel Requires: kf6-ki18n-devel Requires: kf6-kiconthemes-devel Requires: kf6-kirigami-devel Requires: libappstream-glib Requires: librsvg2-tools Requires: ninja-build Requires: openxr-devel Requires: python Requires: pkgconfig(avahi-client) Requires: pkgconfig(avahi-glib) Requires: pkgconfig(bluez) Requires: pkgconfig(CLI11) Requires: pkgconfig(dbus-1) Requires: pkgconfig(eigen3) Requires: pkgconfig(glslang) Requires: pkgconfig(gstreamer-1.0) Requires: pkgconfig(gstreamer-app-1.0) Requires: pkgconfig(gstreamer-video-1.0) Requires: pkgconfig(hidapi-libusb) Requires: pkgconfig(libarchive) Requires: pkgconfig(libavcodec) Requires: pkgconfig(libavfilter) Requires: pkgconfig(libavutil) Requires: pkgconfig(libbsd) Requires: pkgconfig(libcap) Requires: pkgconfig(libcjson) Requires: pkgconfig(libdrm) Requires: pkgconfig(libjpeg) Requires: pkgconfig(libnotify) Requires: pkgconfig(libpipewire-0.3) Requires: pkgconfig(libudev) Requires: pkgconfig(libusb-1.0) Requires: pkgconfig(libuvc) Requires: pkgconfig(librsvg-2.0) Requires: pkgconfig(libswscale) Requires: pkgconfig(libva) Requires: pkgconfig(nlohmann_json) Requires: pkgconfig(opencv) Requires: pkgconfig(openhmd) Requires: pkgconfig(openssl) Requires: pkgconfig(openvr) Requires: pkgconfig(Qt6) Requires: pkgconfig(Qt6Linguist) Requires: pkgconfig(Qt6Quick) Requires: pkgconfig(realsense2) Requires: pkgconfig(sdl2) Requires: pkgconfig(vulkan) Requires: pkgconfig(wayland-client) Requires: pkgconfig(wayland-eglstream) Requires: pkgconfig(wayland-protocols) Requires: pkgconfig(wayland-scanner) Requires: pkgconfig(xrandr) Requires: qcoro-qt6-devel Requires: qt6-qtbase-private-devel Requires: qt6-qtdeclarative-devel Requires: qt6qml(org.kde.desktop) Requires: android-tools Requires: firewalld-filesystem Requires: hicolor-icon-theme %description wivrn Build dependencies for WiVRn. Install this to automatically bring in all needed dependencies for building WiVRn. %package monado Summary: Monado Build Dependencies for Envision Requires: %{name} = %{version}-%{release} # Sync with https://jsteffan.fedorapeople.org/imrsv/monado.spec Requires: cmake Requires: gcc-c++ Requires: glslc Requires: ninja-build Requires: pkgconfig(bluez) Requires: pkgconfig(dbus-1) Requires: pkgconfig(dri) Requires: pkgconfig(eigen3) Requires: pkgconfig(glslang) Requires: pkgconfig(gstreamer-1.0) Requires: pkgconfig(gstreamer-app-1.0) Requires: pkgconfig(gstreamer-video-1.0) Requires: pkgconfig(hidapi-libusb) Requires: pkgconfig(libavcodec) Requires: pkgconfig(libbsd) Requires: pkgconfig(libcjson) Requires: pkgconfig(libdrm) Requires: pkgconfig(libjpeg) # ONNX only for x86_64, ppc64le and aarch64 %ifnarch s390x %{arm} %{ix86} Requires: pkgconfig(libonnxruntime) %endif Requires: pkgconfig(libudev) Requires: pkgconfig(libusb-1.0) Requires: pkgconfig(libuvc) Requires: pkgconfig(opencv) Requires: pkgconfig(openhmd) Requires: pkgconfig(openvr) Requires: pkgconfig(openxr) Requires: pkgconfig(realsense2) Requires: pkgconfig(sdl2) Requires: pkgconfig(vulkan) Requires: pkgconfig(wayland-client) Requires: pkgconfig(wayland-eglstream) Requires: pkgconfig(wayland-protocols) Requires: pkgconfig(wayland-scanner) Requires: pkgconfig(xrandr) Requires: pkgconfig(zlib) %description monado Build dependencies for Monado. Install this to automatically bring in all needed dependencies for building Monado. %package xrizer Summary: Xrizer Build Dependencies for Envision Requires: %{name} = %{version}-%{release} # Sync with https://gitlab.com/gabmus/envision/-/blob/main/src/depcheck/xrizer_deps.rs # until we have xrizer as a package Recommends: cargo Requires: clang19-devel Requires: libxcb-devel Requires: wayland-devel %description xrizer Build dependencies for xrizer. Install this to automatically bring in all needed dependencies for building xrizer. %prep %forgeautosetup -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %meson -D profile=release %meson_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %meson_install %check desktop-file-validate %{buildroot}%{_datadir}/applications/org.gabmus.envision.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml %if %{with check} %meson_test %endif %files %license LICENSE %license LICENSE.dependencies %doc README.md %{_bindir}/envision %{_datarootdir}/envision/ %{_datarootdir}/applications/org.gabmus.envision.desktop %{_datarootdir}/icons/hicolor/scalable/apps/org.gabmus.envision.svg %{_datarootdir}/icons/hicolor/symbolic/apps/org.gabmus.envision-symbolic.svg %{_metainfodir}/org.gabmus.envision.appdata.xml %files wivrn %files monado %files xrizer %changelog ## START: Generated by rpmautospec * Sat Feb 07 2026 Jonathan Steffan - 3.2.0-7 - Update wivrn build Requires. * Sat Feb 07 2026 Fabio Valentini - 3.2.0-6 - Bump git2 dependency to 0.20 and simplify packaging * Thu Jan 29 2026 Nicolas Chauvet - 3.2.0-5 - Add FTBFS for https://gitlab.com/gabmus/envision/-/issues/256 * Thu Jan 29 2026 Nicolas Chauvet - 3.2.0-4 - Rebuilt for OpenCV 4.13 * Fri Jan 16 2026 Fedora Release Engineering - 3.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Tue Sep 23 2025 Jonathan Steffan - 3.2.0-2 - Add cargo back for xrizer. * Mon Sep 22 2025 Jonathan Steffan - 3.2.0-1 - Update to 3.2.0 - Update to 3.2.0 (fedora#2395772) - Add xrizer subpackage for build deps management (fedora#2395971) * Sun Sep 07 2025 Jonathan Steffan - 3.1.1-5 - Add FTBFS patch (fedora#2384571). * Sun Sep 07 2025 Jonathan Steffan - 3.1.1-4 - Update WiVRn build requires meta-package for v25.8 * Tue Sep 02 2025 Fabio Valentini - 3.1.1-3 - Rebuild with tracing-subscriber v0.3.20 for CVE-2025-58160 * Wed Jul 23 2025 Fedora Release Engineering - 3.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Apr 22 2025 Jonathan Steffan - 3.1.1-1 - Update to 3.1.1 (fedora#2361578) * Tue Apr 08 2025 Jonathan Steffan - 3.1.0-1 - Update to 3.1.0 (fedora#2358291). * Sun Mar 02 2025 Jonathan Steffan - 3.0.1-1 - Update to 3.0.1 (fedora#2349277). * Sun Mar 02 2025 Jonathan Steffan - 3.0.0-1 - Update to 3.0.0 (fedora#2349223). * Sat Feb 22 2025 Jonathan Steffan - 2.0.1-1 - Update to 2.0.1 - Update to 2.0.1 (fedora#2331641) - Add meta packages for pulling in build dependencies * Thu Feb 06 2025 Fabio Valentini - 2.0.0-4 - Rebuild for openssl crate >= v0.10.70 (RUSTSEC-2025-0004) * Thu Jan 16 2025 Fedora Release Engineering - 2.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Tue Dec 10 2024 Jonathan Steffan - 2.0.0-2 - Bump date to match tag 2.0.0 * Tue Dec 10 2024 Jonathan Steffan - 2.0.0-1 - Update to 2.0.0 (fedora#2331207). * Fri Nov 29 2024 Jonathan Steffan - 1.1.1-1 - Update to 1.1.1 (fedora#2329525). * Thu Nov 28 2024 Jonathan Steffan - 1.1.0-1 - Update to 1.1.0 (fedora#2329212). * Wed Nov 13 2024 Jonathan Steffan - 0.0.2-1 - Initial import (fedora#2292541). ## END: Generated by rpmautospec