Skip to content

Commit

Permalink
fix: stardust-{armillary,black-hole,protostar} (#2309)
Browse files Browse the repository at this point in the history
* fix: stardust-flatland

* fix export for STARDUST_RES_PREFIXES

* fix: stardust-{armillary,black-hole,protostar}

Make everything track commit head
  • Loading branch information
madonuko authored Oct 23, 2024
1 parent b4f3bbd commit 5c94de3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
3 changes: 3 additions & 0 deletions anda/stardust/armillary/anda.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ project pkg {
rpm {
spec = "stardust-armillary.spec"
}
labels {
nightly = 1
}
}
10 changes: 7 additions & 3 deletions anda/stardust/black-hole/stardust-black-hole.spec
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,17 @@ Packager: Owen Zimmerman <[email protected]>

%install
%define __cargo_common_opts %{?_smp_mflags} -Z avoid-dev-deps --locked
STARDUST_RES_PREFIXES=%_datadir
export STARDUST_RES_PREFIXES=%_datadir
%cargo_install

mkdir -p %buildroot%_datadir
cp -r res/* %buildroot%_datadir/

%files
%_bindir/black-hole
%license LICENSE
%doc README.md
%license LICENSE
%_bindir/black-hole
%_datadir/black_hole/

%changelog
* Sat Sep 8 2024 Owen-sz <[email protected]>
Expand Down
9 changes: 6 additions & 3 deletions anda/stardust/protostar/stardust-protostar.spec
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,24 @@ Prototype application launcher for StardustXR, providing an easy to use crate to

%install
%define __cargo_common_opts %{?_smp_mflags} -Z avoid-dev-deps --locked
STARDUST_RES_PREFIXES=%_datadir
export STARDUST_RES_PREFIXES=%_datadir
(cd app_grid && %cargo_install) &
(cd hexagon_launcher && %cargo_install) &
(cd single && %cargo_install) &
(cd sirius && %cargo_install) &

wait

cp -r res/* %buildroot%_datadir/

%files
%doc README.md
%license LICENSE
%_bindir/app_grid
%_bindir/hexagon_launcher
%_bindir/single
%_bindir/sirius
%license LICENSE
%doc README.md
%_datadir/protostar/

%changelog
* Tue Sep 10 2024 Owen-sz <[email protected]>
Expand Down

0 comments on commit 5c94de3

Please sign in to comment.