mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-08 20:57:38 +00:00
ed7eee0853
(cherry picked from commit 9ef3498650)
Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
53 lines
1.4 KiB
RPMSpec
53 lines
1.4 KiB
RPMSpec
# Exclude input files from mangling
|
|
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
|
|
|
Name: stardust-xr-non-spatial-input
|
|
Version: 0.50.0
|
|
Release: 1%?dist
|
|
Epoch: 1
|
|
Summary: Tools you can easily snap together to get non-spatial input into Stardust XR
|
|
URL: https://github.com/StardustXR/non-spatial-input
|
|
Source0: %url/archive/refs/tags/%version.tar.gz
|
|
License: MIT
|
|
BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros mold libudev-devel g++ libinput-devel libxkbcommon-x11-devel
|
|
|
|
Provides: non-spatial-input stardust-non-spatial-input
|
|
Packager: Owen Zimmerman <owen@fyralabs.com>
|
|
|
|
%description
|
|
%summary.
|
|
|
|
%prep
|
|
%autosetup -n non-spatial-input-%version
|
|
%cargo_prep_online
|
|
|
|
%build
|
|
|
|
%install
|
|
%define __cargo_common_opts %{?_smp_mflags} -Z avoid-dev-deps --locked
|
|
(cd azimuth && %cargo_install) &
|
|
(cd eclipse && %cargo_install) &
|
|
(cd manifold && %cargo_install) &
|
|
(cd simular && %cargo_install) &
|
|
|
|
wait
|
|
|
|
%cargo_license_summary_online
|
|
%{cargo_license_online} > LICENSE.dependencies
|
|
|
|
%files
|
|
%_bindir/azimuth
|
|
%_bindir/eclipse
|
|
%_bindir/manifold
|
|
%_bindir/simular
|
|
%license LICENSE
|
|
%license LICENSE.dependencies
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Sat Jan 10 2026 Owen Zimmerman <owen@fyralabs.com>
|
|
- Switch to version based
|
|
|
|
* Mon Sep 9 2024 Owen-sz <owen@fyralabs.com>
|
|
- Package StardustXR non-spatial-input
|