Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: stardust-{armillary,black-hole,protostar} #2309

Merged
merged 4 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
10 changes: 7 additions & 3 deletions anda/stardust/flatland/stardust-flatland.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Name: stardust-flatland
Version: %commit_date.%shortcommit
Release: 1%?dist
Release: 2%?dist
Summary: Flatland for Stardust XR.
URL: https://github.com/StardustXR/flatland
Source0: %url/archive/%commit/flatland-%commit.tar.gz
Expand All @@ -24,15 +24,19 @@ Packager: Owen Zimmerman <[email protected]>
%cargo_prep_online

%build
STARDUST_RES_PREFIXES=/usr/share

%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/flatland
%_datadir/flatland/
%license LICENSE
%doc README.md

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
Loading