From 44c8cea1ff1fa41178611ccb322d9f7b0b1f6922 Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 9 Sep 2024 00:10:42 -0500 Subject: [PATCH 01/16] WIP --- anda/stardust/non-spatial-input/anda.hcl | 8 ++++ .../stardust-non-spatial-input.spec | 39 +++++++++++++++++++ anda/stardust/non-spatial-input/update.rhai | 7 ++++ 3 files changed, 54 insertions(+) create mode 100644 anda/stardust/non-spatial-input/anda.hcl create mode 100644 anda/stardust/non-spatial-input/stardust-non-spatial-input.spec create mode 100644 anda/stardust/non-spatial-input/update.rhai diff --git a/anda/stardust/non-spatial-input/anda.hcl b/anda/stardust/non-spatial-input/anda.hcl new file mode 100644 index 0000000000..4d5828157f --- /dev/null +++ b/anda/stardust/non-spatial-input/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "stardust-non-spatial-input.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/stardust/non-spatial-input/stardust-non-spatial-input.spec b/anda/stardust/non-spatial-input/stardust-non-spatial-input.spec new file mode 100644 index 0000000000..33a254c66f --- /dev/null +++ b/anda/stardust/non-spatial-input/stardust-non-spatial-input.spec @@ -0,0 +1,39 @@ +%global commit 5ac7f04f6876097aa8c3cf9af033d609a8a49944 +%global commit_date 20240824 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global debug_package %{nil} +%define __os_install_post %{nil} + +Name: stardust-non-spatial-input +Version: %commit_date.%shortcommit +Release: 1%?dist +Summary: Tools you can easily snap together to get non-spatial input into stardust. +URL: https://github.com/StardustXR/non-spatial-input +Source0: https://github.com/StardustXR/non-spatial-input/archive/%commit/non-spatial-input-%commit.tar.gz +License: MIT +BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros mold libudev-devel g++ libinput-devel libxkbcommon-x11-devel +Requires: libgcc glibc + +Provides: non-spatial-input + +%description +Tools you can easily snap together to get non-spatial input into stardust. + +%prep +%autosetup -n non-spatial-input-%commit +%cargo_prep_online + +%build +%cargo_build + +%install +%cargo_install + +%files +%_bindir/non-spatial-input +%license LICENSE +%doc README.md + +%changelog +* Mon Sep 9 2024 Owen-sz +- Package StardustXR non-spatial-input \ No newline at end of file diff --git a/anda/stardust/non-spatial-input/update.rhai b/anda/stardust/non-spatial-input/update.rhai new file mode 100644 index 0000000000..440a3eb51a --- /dev/null +++ b/anda/stardust/non-spatial-input/update.rhai @@ -0,0 +1,7 @@ +if filters.contains("nightly") { + rpm.global("commit", gh_commit("StardustXR/non-spatial-input")); + if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); + } + } \ No newline at end of file From aaee4f638bf647f37ec9ffaf4bd3b353d1bedba1 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Mon, 9 Sep 2024 15:42:54 -0500 Subject: [PATCH 02/16] Update stardust-non-spatial-input.spec Add packager Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- .../stardust/non-spatial-input/stardust-non-spatial-input.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/anda/stardust/non-spatial-input/stardust-non-spatial-input.spec b/anda/stardust/non-spatial-input/stardust-non-spatial-input.spec index 33a254c66f..76886d9005 100644 --- a/anda/stardust/non-spatial-input/stardust-non-spatial-input.spec +++ b/anda/stardust/non-spatial-input/stardust-non-spatial-input.spec @@ -15,6 +15,7 @@ BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros mold libudev-devel Requires: libgcc glibc Provides: non-spatial-input +Packager: Owen Zimmerman %description Tools you can easily snap together to get non-spatial input into stardust. @@ -36,4 +37,4 @@ Tools you can easily snap together to get non-spatial input into stardust. %changelog * Mon Sep 9 2024 Owen-sz -- Package StardustXR non-spatial-input \ No newline at end of file +- Package StardustXR non-spatial-input From ce943f2f6174f41d99a6259379db010984296027 Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 9 Sep 2024 20:15:45 -0500 Subject: [PATCH 03/16] fix %url --- anda/stardust/non-spatial-input/stardust-non-spatial-input.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/stardust/non-spatial-input/stardust-non-spatial-input.spec b/anda/stardust/non-spatial-input/stardust-non-spatial-input.spec index 76886d9005..7fa3bb504c 100644 --- a/anda/stardust/non-spatial-input/stardust-non-spatial-input.spec +++ b/anda/stardust/non-spatial-input/stardust-non-spatial-input.spec @@ -9,7 +9,7 @@ Version: %commit_date.%shortcommit Release: 1%?dist Summary: Tools you can easily snap together to get non-spatial input into stardust. URL: https://github.com/StardustXR/non-spatial-input -Source0: https://github.com/StardustXR/non-spatial-input/archive/%commit/non-spatial-input-%commit.tar.gz +Source0: %url/archive/%commit/non-spatial-input-%commit.tar.gz License: MIT BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros mold libudev-devel g++ libinput-devel libxkbcommon-x11-devel Requires: libgcc glibc From 95bd434d4c9921cab2ae6139223ff6eae0d4bc4b Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 9 Sep 2024 20:47:49 -0500 Subject: [PATCH 04/16] WIP --- anda/stardust/protostar/anda.hcl | 8 ++++ .../protostar/stardust-protostar.spec | 39 +++++++++++++++++++ anda/stardust/protostar/update.rhai | 7 ++++ 3 files changed, 54 insertions(+) create mode 100644 anda/stardust/protostar/anda.hcl create mode 100644 anda/stardust/protostar/stardust-protostar.spec create mode 100644 anda/stardust/protostar/update.rhai diff --git a/anda/stardust/protostar/anda.hcl b/anda/stardust/protostar/anda.hcl new file mode 100644 index 0000000000..ad23b47645 --- /dev/null +++ b/anda/stardust/protostar/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "stardust-protostar.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/stardust/protostar/stardust-protostar.spec b/anda/stardust/protostar/stardust-protostar.spec new file mode 100644 index 0000000000..f05d7941d5 --- /dev/null +++ b/anda/stardust/protostar/stardust-protostar.spec @@ -0,0 +1,39 @@ +%global commit 39499a061af74c3a2d5e1e46e4ad21aca5727219 +%global commit_date 20240719 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +# Exclude input files from mangling +%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ + +Name: stardust-protostar +Version: %commit_date.%shortcommit +Release: 1%?dist +Summary: Tools you can easily snap together to get non-spatial input into stardust. +URL: https://github.com/StardustXR/protostar +Source0: %url/archive/%commit/protostar-%commit.tar.gz +License: MIT +BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros mold libudev-devel g++ libinput-devel libxkbcommon-x11-devel +Requires: libgcc glibc + +Provides: protostar +Packager: Owen Zimmerman + +%description +Tools you can easily snap together to get non-spatial input into stardust. + +%prep +%autosetup -n protostar-%commit +%cargo_prep_online + +%build + +%install +%cargo_install + +%files +%_bindir/protostar +%license LICENSE +%doc README.md + +%changelog +* Mon Sep 9 2024 Owen-sz +- Package StardustXR protostar diff --git a/anda/stardust/protostar/update.rhai b/anda/stardust/protostar/update.rhai new file mode 100644 index 0000000000..8b61ec7b7d --- /dev/null +++ b/anda/stardust/protostar/update.rhai @@ -0,0 +1,7 @@ +if filters.contains("nightly") { + rpm.global("commit", gh_commit("StardustXR/protostar")); + if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); + } +} \ No newline at end of file From c4bd40ab3fd4b4f79397caf070f14d8554ad48b0 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Tue, 10 Sep 2024 14:01:57 -0500 Subject: [PATCH 05/16] Update stardust-protostar.spec Remove runtime requirements Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/stardust/protostar/stardust-protostar.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/anda/stardust/protostar/stardust-protostar.spec b/anda/stardust/protostar/stardust-protostar.spec index f05d7941d5..8920d26ce4 100644 --- a/anda/stardust/protostar/stardust-protostar.spec +++ b/anda/stardust/protostar/stardust-protostar.spec @@ -12,7 +12,6 @@ URL: https://github.com/StardustXR/protostar Source0: %url/archive/%commit/protostar-%commit.tar.gz License: MIT BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros mold libudev-devel g++ libinput-devel libxkbcommon-x11-devel -Requires: libgcc glibc Provides: protostar Packager: Owen Zimmerman From 11f34a2c090ddcc4bc531e42bd9ec36b7c6c70cf Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Tue, 10 Sep 2024 14:11:08 -0500 Subject: [PATCH 06/16] Update anda/stardust/protostar/stardust-protostar.spec Co-authored-by: madomado Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/stardust/protostar/stardust-protostar.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/anda/stardust/protostar/stardust-protostar.spec b/anda/stardust/protostar/stardust-protostar.spec index 8920d26ce4..c287a12e30 100644 --- a/anda/stardust/protostar/stardust-protostar.spec +++ b/anda/stardust/protostar/stardust-protostar.spec @@ -26,6 +26,7 @@ Tools you can easily snap together to get non-spatial input into stardust. %build %install +cd protostar %cargo_install %files From bfe53e9e870e63052c055d58cb4a7d088af2467e Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Tue, 10 Sep 2024 14:17:26 -0500 Subject: [PATCH 07/16] Update update.rhai Remove if statement from Rhai Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/stardust/protostar/update.rhai | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/anda/stardust/protostar/update.rhai b/anda/stardust/protostar/update.rhai index 8b61ec7b7d..755f8791a7 100644 --- a/anda/stardust/protostar/update.rhai +++ b/anda/stardust/protostar/update.rhai @@ -1,7 +1 @@ -if filters.contains("nightly") { - rpm.global("commit", gh_commit("StardustXR/protostar")); - if rpm.changed() { - rpm.release(); - rpm.global("commit_date", date()); - } -} \ No newline at end of file +rpm.global("commit", gh_commit("StardustXR/protostar")); From cf436d351757b49ae968faeec333979b04a7bdd4 Mon Sep 17 00:00:00 2001 From: Owen Date: Tue, 10 Sep 2024 23:20:59 -0500 Subject: [PATCH 08/16] WIP, fix duplicate --- anda/stardust/non-spatial-input/anda.hcl | 8 ---- .../stardust-non-spatial-input.spec | 40 ------------------- anda/stardust/non-spatial-input/update.rhai | 7 ---- .../protostar/stardust-protostar.spec | 3 +- 4 files changed, 1 insertion(+), 57 deletions(-) delete mode 100644 anda/stardust/non-spatial-input/anda.hcl delete mode 100644 anda/stardust/non-spatial-input/stardust-non-spatial-input.spec delete mode 100644 anda/stardust/non-spatial-input/update.rhai diff --git a/anda/stardust/non-spatial-input/anda.hcl b/anda/stardust/non-spatial-input/anda.hcl deleted file mode 100644 index 4d5828157f..0000000000 --- a/anda/stardust/non-spatial-input/anda.hcl +++ /dev/null @@ -1,8 +0,0 @@ -project pkg { - rpm { - spec = "stardust-non-spatial-input.spec" - } - labels { - nightly = 1 - } -} diff --git a/anda/stardust/non-spatial-input/stardust-non-spatial-input.spec b/anda/stardust/non-spatial-input/stardust-non-spatial-input.spec deleted file mode 100644 index 7fa3bb504c..0000000000 --- a/anda/stardust/non-spatial-input/stardust-non-spatial-input.spec +++ /dev/null @@ -1,40 +0,0 @@ -%global commit 5ac7f04f6876097aa8c3cf9af033d609a8a49944 -%global commit_date 20240824 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global debug_package %{nil} -%define __os_install_post %{nil} - -Name: stardust-non-spatial-input -Version: %commit_date.%shortcommit -Release: 1%?dist -Summary: Tools you can easily snap together to get non-spatial input into stardust. -URL: https://github.com/StardustXR/non-spatial-input -Source0: %url/archive/%commit/non-spatial-input-%commit.tar.gz -License: MIT -BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros mold libudev-devel g++ libinput-devel libxkbcommon-x11-devel -Requires: libgcc glibc - -Provides: non-spatial-input -Packager: Owen Zimmerman - -%description -Tools you can easily snap together to get non-spatial input into stardust. - -%prep -%autosetup -n non-spatial-input-%commit -%cargo_prep_online - -%build -%cargo_build - -%install -%cargo_install - -%files -%_bindir/non-spatial-input -%license LICENSE -%doc README.md - -%changelog -* Mon Sep 9 2024 Owen-sz -- Package StardustXR non-spatial-input diff --git a/anda/stardust/non-spatial-input/update.rhai b/anda/stardust/non-spatial-input/update.rhai deleted file mode 100644 index 440a3eb51a..0000000000 --- a/anda/stardust/non-spatial-input/update.rhai +++ /dev/null @@ -1,7 +0,0 @@ -if filters.contains("nightly") { - rpm.global("commit", gh_commit("StardustXR/non-spatial-input")); - if rpm.changed() { - rpm.release(); - rpm.global("commit_date", date()); - } - } \ No newline at end of file diff --git a/anda/stardust/protostar/stardust-protostar.spec b/anda/stardust/protostar/stardust-protostar.spec index f05d7941d5..09814d00d2 100644 --- a/anda/stardust/protostar/stardust-protostar.spec +++ b/anda/stardust/protostar/stardust-protostar.spec @@ -12,7 +12,6 @@ URL: https://github.com/StardustXR/protostar Source0: %url/archive/%commit/protostar-%commit.tar.gz License: MIT BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros mold libudev-devel g++ libinput-devel libxkbcommon-x11-devel -Requires: libgcc glibc Provides: protostar Packager: Owen Zimmerman @@ -35,5 +34,5 @@ Tools you can easily snap together to get non-spatial input into stardust. %doc README.md %changelog -* Mon Sep 9 2024 Owen-sz +* Tue Sep 10 2024 Owen-sz - Package StardustXR protostar From 5624b012ec94c3e2475fbe2329e707e5d95fc061 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Tue, 10 Sep 2024 23:33:49 -0500 Subject: [PATCH 09/16] Update update.rhai Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/stardust/protostar/update.rhai | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/anda/stardust/protostar/update.rhai b/anda/stardust/protostar/update.rhai index 755f8791a7..5c79c74c6a 100644 --- a/anda/stardust/protostar/update.rhai +++ b/anda/stardust/protostar/update.rhai @@ -1 +1,5 @@ rpm.global("commit", gh_commit("StardustXR/protostar")); + if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); + } From 4ae3b7e1215265d0e136fa5dde3acf519641c038 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Tue, 10 Sep 2024 23:42:25 -0500 Subject: [PATCH 10/16] Update update.rhai Fix indentation Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/stardust/protostar/update.rhai | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/anda/stardust/protostar/update.rhai b/anda/stardust/protostar/update.rhai index 5c79c74c6a..6c721ad5fa 100644 --- a/anda/stardust/protostar/update.rhai +++ b/anda/stardust/protostar/update.rhai @@ -1,5 +1,5 @@ -rpm.global("commit", gh_commit("StardustXR/protostar")); - if rpm.changed() { - rpm.release(); - rpm.global("commit_date", date()); - } +rpm.global("commit", gh_commit("StardustXR/protostart")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); +} From 0803293ec729d839e0eab62eea4cc063882c0c9e Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Wed, 11 Sep 2024 11:45:46 -0500 Subject: [PATCH 11/16] Update stardust-protostar.spec fix install Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/stardust/protostar/stardust-protostar.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/anda/stardust/protostar/stardust-protostar.spec b/anda/stardust/protostar/stardust-protostar.spec index 053215e485..117292eef3 100644 --- a/anda/stardust/protostar/stardust-protostar.spec +++ b/anda/stardust/protostar/stardust-protostar.spec @@ -26,8 +26,12 @@ Tools you can easily snap together to get non-spatial input into stardust. %build %install -cd protostar -%cargo_install +(cd app_grid && %cargo_install -- &) +(cd hexagon_launcher && %cargo_install -- &) +(cd single && %cargo_install -- &) +(cd sirius && %cargo_install -- &) + +wait %files %_bindir/protostar From feb09ae4f88086da28901454e2856e31fe05b5a4 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Thu, 12 Sep 2024 12:33:33 -0500 Subject: [PATCH 12/16] Update stardust-protostar.spec Fix %install and %files Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/stardust/protostar/stardust-protostar.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/anda/stardust/protostar/stardust-protostar.spec b/anda/stardust/protostar/stardust-protostar.spec index 117292eef3..5b1d638534 100644 --- a/anda/stardust/protostar/stardust-protostar.spec +++ b/anda/stardust/protostar/stardust-protostar.spec @@ -26,15 +26,18 @@ Tools you can easily snap together to get non-spatial input into stardust. %build %install -(cd app_grid && %cargo_install -- &) -(cd hexagon_launcher && %cargo_install -- &) -(cd single && %cargo_install -- &) -(cd sirius && %cargo_install -- &) +(cd app_grid && %cargo_install) & +(cd hexagon_launcher && %cargo_install) & +(cd single && %cargo_install) & +(cd sirius && %cargo_install) & wait %files -%_bindir/protostar +%_bindir/app_grid +%_bindir/hexagon_launcher +%_bindir/single +%_bindir/sirius %license LICENSE %doc README.md From fadf77c7f18b659679f9feb909bd2d8bb5a27a7e Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Thu, 12 Sep 2024 12:47:49 -0500 Subject: [PATCH 13/16] Update stardust-protostar.spec Lock cargo install Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/stardust/protostar/stardust-protostar.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/anda/stardust/protostar/stardust-protostar.spec b/anda/stardust/protostar/stardust-protostar.spec index 5b1d638534..63dbf55bec 100644 --- a/anda/stardust/protostar/stardust-protostar.spec +++ b/anda/stardust/protostar/stardust-protostar.spec @@ -26,6 +26,7 @@ Tools you can easily snap together to get non-spatial input into stardust. %build %install +%define __cargo_common_opts %{?_smp_mflags} -Z avoid-dev-deps --locked (cd app_grid && %cargo_install) & (cd hexagon_launcher && %cargo_install) & (cd single && %cargo_install) & From 07f04cc9e4917848b7d848da2c9253f3e5adfb16 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Fri, 13 Sep 2024 12:11:09 -0500 Subject: [PATCH 14/16] Update stardust-protostar.spec Fix summary and description Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/stardust/protostar/stardust-protostar.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/stardust/protostar/stardust-protostar.spec b/anda/stardust/protostar/stardust-protostar.spec index 63dbf55bec..f0ab0aefe5 100644 --- a/anda/stardust/protostar/stardust-protostar.spec +++ b/anda/stardust/protostar/stardust-protostar.spec @@ -7,7 +7,7 @@ Name: stardust-protostar Version: %commit_date.%shortcommit Release: 1%?dist -Summary: Tools you can easily snap together to get non-spatial input into stardust. +Summary: Prototype application launcher for StardustXR. URL: https://github.com/StardustXR/protostar Source0: %url/archive/%commit/protostar-%commit.tar.gz License: MIT @@ -17,7 +17,7 @@ Provides: protostar Packager: Owen Zimmerman %description -Tools you can easily snap together to get non-spatial input into stardust. +Prototype application launcher for StardustXR, providing an easy to use crate to write applications launchers. %prep %autosetup -n protostar-%commit From cf80b78cb9f121f17fb199b8c6e544ff97269528 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Fri, 13 Sep 2024 12:18:31 -0500 Subject: [PATCH 15/16] Update stardust-protostar.spec Unify summaries Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/stardust/protostar/stardust-protostar.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/stardust/protostar/stardust-protostar.spec b/anda/stardust/protostar/stardust-protostar.spec index f0ab0aefe5..3f123a0fb2 100644 --- a/anda/stardust/protostar/stardust-protostar.spec +++ b/anda/stardust/protostar/stardust-protostar.spec @@ -7,7 +7,7 @@ Name: stardust-protostar Version: %commit_date.%shortcommit Release: 1%?dist -Summary: Prototype application launcher for StardustXR. +Summary: Prototype application launcher for Stardust XR. URL: https://github.com/StardustXR/protostar Source0: %url/archive/%commit/protostar-%commit.tar.gz License: MIT From 31311343d39fe30aa6dca7b4f763e5651b96f774 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Sun, 15 Sep 2024 20:59:19 -0500 Subject: [PATCH 16/16] Update stardust-protostar.spec Add environment variable before cargo install Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/stardust/protostar/stardust-protostar.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/anda/stardust/protostar/stardust-protostar.spec b/anda/stardust/protostar/stardust-protostar.spec index 3f123a0fb2..a35836818c 100644 --- a/anda/stardust/protostar/stardust-protostar.spec +++ b/anda/stardust/protostar/stardust-protostar.spec @@ -27,6 +27,7 @@ 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 (cd app_grid && %cargo_install) & (cd hexagon_launcher && %cargo_install) & (cd single && %cargo_install) &