mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
fix: backport stardust stuff to needed branches (#9526)
Signed-off-by: Owen-sz <owen@fyralabs.com>
This commit is contained in:
@@ -2,7 +2,4 @@ project pkg {
|
||||
rpm {
|
||||
spec = "stardust-armillary.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,16 +1,14 @@
|
||||
%global commit 8ad02b636690170adbd4279fe3fc8265088cbcc2
|
||||
%global commit_date 20240726
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
|
||||
Name: stardust-xr-armillary
|
||||
Version: %commit_date.%shortcommit
|
||||
Version: 0.50.0
|
||||
Release: 2%?dist
|
||||
Epoch: 1
|
||||
Summary: Model viewer for Stardust XR
|
||||
URL: https://github.com/StardustXR/armillary
|
||||
Source0: %url/archive/%commit/armillary-%commit.tar.gz
|
||||
License: MIT
|
||||
Source0: %url/archive/refs/tags/%version.tar.gz
|
||||
License: MIT AND (MIT OR Apache-2.0) AND Unicode-3.0 AND (0BSD OR MIT OR Apache-2.0) 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 BSD-3-Clause AND (BSD-3-Clause OR MIT OR Apache-2.0) AND ISC AND BSD-3-Clause AND LGPL-2.1-or-later AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND Zlib
|
||||
BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros mold
|
||||
|
||||
Provides: armillary stardust-armillary
|
||||
@@ -20,7 +18,7 @@ Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
A model viewer for Stardust XR which works great for hand tracking, pointers, and controllers.
|
||||
|
||||
%prep
|
||||
%autosetup -n armillary-%commit
|
||||
%autosetup -n armillary-%version
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
@@ -28,7 +26,6 @@ A model viewer for Stardust XR which works great for hand tracking, pointers, an
|
||||
%install
|
||||
%define __cargo_common_opts %{?_smp_mflags} -Z avoid-dev-deps --locked
|
||||
%cargo_install
|
||||
%cargo_license_summary_online
|
||||
%{cargo_license_online} > LICENSE.dependencies
|
||||
|
||||
%files
|
||||
@@ -38,5 +35,8 @@ A model viewer for Stardust XR which works great for hand tracking, pointers, an
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
* Sat Jan 10 2026 Owen Zimmerman <owen@fyralabs.com>
|
||||
- Switch to version based
|
||||
|
||||
* Sat Sep 7 2024 Owen-sz <owen@fyralabs.com>
|
||||
- Package StardustXR armillary
|
||||
|
||||
@@ -1,5 +1 @@
|
||||
rpm.global("commit", gh_commit("StardustXR/armillary"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
rpm.version(gh_tag("StardustXR/armillary"));
|
||||
|
||||
@@ -2,7 +2,4 @@ project pkg {
|
||||
rpm {
|
||||
spec = "stardust-black-hole.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,16 +1,14 @@
|
||||
%global commit 01c666f472457ef6230c9d2fd5a289d0a64ce5c2
|
||||
%global commit_date 20241230
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
|
||||
Name: stardust-xr-black-hole
|
||||
Version: %commit_date.%shortcommit
|
||||
Version: 0.50.0
|
||||
Release: 2%?dist
|
||||
Epoch: 1
|
||||
Summary: Spatial storage for Stardust XR
|
||||
URL: https://github.com/StardustXR/black-hole
|
||||
Source0: %url/archive/%commit/black-hole-%commit.tar.gz
|
||||
License: MIT
|
||||
Source0: %url/archive/refs/tags/%version.tar.gz
|
||||
License: MIT AND (MIT OR Apache-2.0) AND Unicode-3.0 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-3-Clause OR MIT OR Apache-2.0) AND BSD-3-Clause AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT)
|
||||
BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros mold
|
||||
|
||||
Provides: black-hole stardust-black-hole
|
||||
@@ -20,7 +18,7 @@ Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
%autosetup -n black-hole-%commit
|
||||
%autosetup -n black-hole-%version
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
@@ -29,7 +27,6 @@ Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
%define __cargo_common_opts %{?_smp_mflags} -Z avoid-dev-deps --locked
|
||||
export STARDUST_RES_PREFIXES=%_datadir
|
||||
%cargo_install
|
||||
%cargo_license_summary_online
|
||||
%{cargo_license_online} > LICENSE.dependencies
|
||||
|
||||
mkdir -p %buildroot%_datadir
|
||||
@@ -43,5 +40,8 @@ cp -r res/* %buildroot%_datadir/
|
||||
%_datadir/black_hole/
|
||||
|
||||
%changelog
|
||||
* Sat Jan 10 2026 Owen Zimmerman <owen@fyralabs.com>
|
||||
- Switch to version based
|
||||
|
||||
* Sat Sep 8 2024 Owen-sz <owen@fyralabs.com>
|
||||
- Package StardustXR black-hole
|
||||
|
||||
@@ -1,5 +1 @@
|
||||
rpm.global("commit", gh_commit("StardustXR/black-hole"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
rpm.version(gh_tag("StardustXR/black-hole"));
|
||||
|
||||
@@ -2,7 +2,4 @@ project pkg {
|
||||
rpm {
|
||||
spec = "stardust-gravity.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,16 +1,14 @@
|
||||
%global commit eca5e835cd3abee69984ce6312610644801457a9
|
||||
%global commit_date 20241230
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
|
||||
Name: stardust-xr-gravity
|
||||
Version: %commit_date.%shortcommit
|
||||
Version: 0.50.0
|
||||
Release: 2%?dist
|
||||
Epoch: 1
|
||||
Summary: Utility to launch apps and Stardust XR clients spatially
|
||||
URL: https://github.com/StardustXR/gravity
|
||||
Source0: %url/archive/%commit/gravity-%commit.tar.gz
|
||||
License: MIT
|
||||
Source0: %url/archive/refs/tags/%version.tar.gz
|
||||
License: MIT AND (MIT OR Apache-2.0) AND Unicode-3.0 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-2-Clause-Patent AND (BSD-3-Clause OR MIT OR Apache-2.0) AND BSD-3-Clause AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND (Unlicense OR MIT)
|
||||
BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros mold
|
||||
|
||||
Provides: gravity stardust-gravity
|
||||
@@ -20,7 +18,7 @@ Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
%autosetup -n gravity-%commit
|
||||
%autosetup -n gravity-%version
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
@@ -28,7 +26,6 @@ Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
%install
|
||||
%define __cargo_common_opts %{?_smp_mflags} -Z avoid-dev-deps --locked
|
||||
%cargo_install
|
||||
%cargo_license_summary_online
|
||||
%{cargo_license_online} > LICENSE.dependencies
|
||||
|
||||
%files
|
||||
@@ -38,5 +35,8 @@ Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
* Sat Jan 10 2026 Owen Zimmerman <owen@fyralabs.com>
|
||||
- Switch to version based
|
||||
|
||||
* Wed Sep 11 2024 Owen-sz <owen@fyralabs.com>
|
||||
- Package StardustXR gravity
|
||||
|
||||
@@ -1,5 +1 @@
|
||||
rpm.global("commit", gh_commit("StardustXR/gravity"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
rpm.version(gh_tag("StardustXR/gravity"));
|
||||
|
||||
@@ -2,7 +2,4 @@ project pkg {
|
||||
rpm {
|
||||
spec = "stardust-non-spatial-input.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,16 +1,14 @@
|
||||
%global commit 5ac7f04f6876097aa8c3cf9af033d609a8a49944
|
||||
%global commit_date 20240824
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
|
||||
Name: stardust-xr-non-spatial-input
|
||||
Version: %commit_date.%shortcommit
|
||||
Version: 0.50.0
|
||||
Release: 2%?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/%commit/non-spatial-input-%commit.tar.gz
|
||||
License: MIT
|
||||
Source0: %url/archive/refs/tags/%version.tar.gz
|
||||
License: MIT AND (MIT OR Apache-2.0) AND BSD-3-Clause AND Unicode-3.0 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-3-Clause OR MIT OR Apache-2.0) AND BSD-3-Clause AND GPL-2.0-only AND ISC AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR 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
|
||||
@@ -20,7 +18,7 @@ Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
%autosetup -n non-spatial-input-%commit
|
||||
%autosetup -n non-spatial-input-%version
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
@@ -34,7 +32,6 @@ Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
|
||||
wait
|
||||
|
||||
%cargo_license_summary_online
|
||||
%{cargo_license_online} > LICENSE.dependencies
|
||||
|
||||
%files
|
||||
@@ -47,5 +44,8 @@ wait
|
||||
%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
|
||||
|
||||
@@ -1,5 +1 @@
|
||||
rpm.global("commit", gh_commit("StardustXR/non-spatial-input"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
rpm.version(gh_tag("StardustXR/non-spatial-input"));
|
||||
|
||||
Reference in New Issue
Block a user