File alvr.spec of Package alvr

#
# spec file for package python-tokenizers
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           ALVR
Version:        20.14.0
Release:        0
Summary:        Stream VR games from your PC to your headset via Wi-Fi
License:        MIT
URL:            https://github.com/alvr-org/ALVR
Source0:        ALVR-20.14.0.tar
Source1:        vendor.tar.xz
BuildRequires:  alsa-devel
BuildRequires:  cargo-packaging
BuildRequires:  fdupes
BuildRequires:  gcc%{?force_gcc_version}-c++
BuildRequires:  libopenssl-devel
BuildRequires:  libva-devel
BuildRequires:  libunwind-devel
BuildRequires:  pkgconfig
BuildRequires:  pipewire-devel
BuildRequires:  vulkan-devel
BuildRequires:  llvm-devel

%description
ALVR is an open source remote VR display for Gear VR and Oculus Go/Quest. With
it, you can play SteamVR games in your standalone headset.
%prep
%autosetup -p1 -a1

%build
%if 0%{?force_gcc_version}
export CC="gcc-%{?force_gcc_version}"
export CXX="g++-%{?force_gcc_version}"
%endif
%cargo_build

%install
%cargo_install


%files
%license LICENSE
%doc README.md
%{python_sitearch}/tokenizers*

%changelog
openSUSE Build Service is sponsored by