diff --git a/anda/stardust/server/nightly/anda.hcl b/anda/stardust/server/nightly/anda.hcl new file mode 100644 index 0000000000..58fe8b14c2 --- /dev/null +++ b/anda/stardust/server/nightly/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + rpm { + spec = "stardust-server-nightly.spec" + } + labels { + nightly = 1 + large = 1 + } +} diff --git a/anda/stardust/server/nightly/stardust-server-nightly.spec b/anda/stardust/server/nightly/stardust-server-nightly.spec new file mode 100644 index 0000000000..37a840805b --- /dev/null +++ b/anda/stardust/server/nightly/stardust-server-nightly.spec @@ -0,0 +1,56 @@ +%global commit f0545414201aa1c825e2546ee98aae010100bffd +%global commit_date 20251225 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +# Exclude input files from mangling +%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ + +Name: stardust-xr-server-nightly +Version: 0~%{commit_date}git.%{shortcommit} +Release: 1%?dist +Summary: Usable Linux display server that reinvents human-computer interaction for all kinds of XR +URL: https://github.com/StardustXR/server +Source0: %url/archive/%commit/server-%commit.tar.gz +License: GPL-2.0-only + +BuildRequires: cargo +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: mold +BuildRequires: anda-srpm-macros +BuildRequires: cargo-rpm-macros + +BuildRequires: fontconfig-devel +BuildRequires: glibc +BuildRequires: openxr-devel +BuildRequires: alsa-lib-devel +BuildRequires: wayland-devel + +Provides: stardust-server-nightly +Conflicts: stardust-xr-server + +Packager: Owen Zimmerman + +%description +Usable Linux display server that reinvents human-computer interaction for all kinds of XR, from putting 2D/XR apps into various 3D shells for varying uses to SDF-based interaction. + +%prep +%autosetup -n server-%commit +%cargo_prep_online + +%build +%cargo_build + +%install +install -Dm755 target/rpm/stardust-xr-server %{buildroot}%{_bindir}/stardust-xr-server +%cargo_license_summary_online +%{cargo_license_online} > LICENSE.dependencies + +%files +%{_bindir}/stardust-xr-server +%license LICENSE +%license LICENSE.dependencies +%doc README.md + +%changelog +* Sun Jan 11 2026 Owen Zimmerman +- Initial commit (port from stable) diff --git a/anda/stardust/server/nightly/update.rhai b/anda/stardust/server/nightly/update.rhai new file mode 100644 index 0000000000..16db710969 --- /dev/null +++ b/anda/stardust/server/nightly/update.rhai @@ -0,0 +1,5 @@ +rpm.global("commit", gh_commit("StardustXR/server")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); +} diff --git a/anda/stardust/server/anda.hcl b/anda/stardust/server/stable/anda.hcl similarity index 100% rename from anda/stardust/server/anda.hcl rename to anda/stardust/server/stable/anda.hcl diff --git a/anda/stardust/server/stardust-server.spec b/anda/stardust/server/stable/stardust-server.spec similarity index 100% rename from anda/stardust/server/stardust-server.spec rename to anda/stardust/server/stable/stardust-server.spec diff --git a/anda/stardust/server/update.rhai b/anda/stardust/server/stable/update.rhai similarity index 100% rename from anda/stardust/server/update.rhai rename to anda/stardust/server/stable/update.rhai