File xrgears.spec of Package xrgears
#
# spec file for package xrgears
#
# Copyright (c) 2024 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: xrgears
Version: 1.0.1.999
Release: 0
Summary: An OpenXR VR demo using Vulkan for rendering
License: MIT
URL: https://gitlab.freedesktop.org/monado/demos/xrgears
Source0: %{name}-%{version}.tar.zst
BuildRequires: gcc-c++
BuildRequires: glslang-devel
BuildRequires: meson >= 0.45.1
BuildRequires: zstd
BuildRequires: pkgconfig(gio-2.0) >= 2.50
BuildRequires: pkgconfig(glm)
BuildRequires: pkgconfig(openxr)
BuildRequires: pkgconfig(vulkan)
%description
xrgears is an OpenXR VR demo using Vulkan for rendering.
It is the next iteration of the old xrgears-legacy code, which included
the compositor and used OpenHMD directly.
The Vulkan renderer is based on Sascha Willems' Vulkan Examples and
the KTX (Khronos Texture) loader is a stripped down version of
Khronos' KTX reference implementation libktx.
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%files
%license LICENSE
%doc README.md
%{_bindir}/xrgears
%changelog