diff --git a/anda/stardust/atmosphere/nightly/anda.hcl b/anda/stardust/atmosphere/nightly/anda.hcl new file mode 100644 index 0000000000..12f9613023 --- /dev/null +++ b/anda/stardust/atmosphere/nightly/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "stardust-atmosphere-nightly.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/stardust/atmosphere/nightly/stardust-atmosphere-nightly.spec b/anda/stardust/atmosphere/nightly/stardust-atmosphere-nightly.spec new file mode 100644 index 0000000000..04824e77ab --- /dev/null +++ b/anda/stardust/atmosphere/nightly/stardust-atmosphere-nightly.spec @@ -0,0 +1,43 @@ +%global commit af38adafe7491498c48905b77518f8a6e9541f67 +%global commit_date 20251202 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +# Exclude input files from mangling +%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ + +Name: stardust-xr-atmosphere-nightly +Version: 0~%{commit_date}git.%{shortcommit} +Release: 1%?dist +Summary: Environment, homespace, and setup client for Stardust XR +URL: https://github.com/StardustXR/atmosphere +Source0: %url/archive/%commit/atmosphere-%commit.tar.gz +License: MIT +BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros mold libudev-devel g++ libinput-devel libxkbcommon-x11-devel + +Provides: atmosphere-nightly stardust-atmosphere-nightly +Conflicts: stardust-xr-atmosphere +Packager: Owen Zimmerman + +%description +%summary. + +%prep +%autosetup -n atmosphere-%commit +%cargo_prep_online + +%build + +%install +%define __cargo_common_opts %{?_smp_mflags} -Z avoid-dev-deps --locked +%cargo_install +%cargo_license_summary_online +%{cargo_license_online} > LICENSE.dependencies + +%files +%_bindir/stardust-xr-atmosphere +%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/atmosphere/nightly/update.rhai b/anda/stardust/atmosphere/nightly/update.rhai new file mode 100644 index 0000000000..ce6d6c9112 --- /dev/null +++ b/anda/stardust/atmosphere/nightly/update.rhai @@ -0,0 +1,5 @@ +rpm.global("commit", gh_commit("StardustXR/atmosphere")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); +} diff --git a/anda/stardust/atmosphere/anda.hcl b/anda/stardust/atmosphere/stable/anda.hcl similarity index 100% rename from anda/stardust/atmosphere/anda.hcl rename to anda/stardust/atmosphere/stable/anda.hcl diff --git a/anda/stardust/atmosphere/stardust-atmosphere.spec b/anda/stardust/atmosphere/stable/stardust-atmosphere.spec similarity index 100% rename from anda/stardust/atmosphere/stardust-atmosphere.spec rename to anda/stardust/atmosphere/stable/stardust-atmosphere.spec diff --git a/anda/stardust/atmosphere/update.rhai b/anda/stardust/atmosphere/stable/update.rhai similarity index 100% rename from anda/stardust/atmosphere/update.rhai rename to anda/stardust/atmosphere/stable/update.rhai