Skip to content

Commit

Permalink
fix directories issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen-sz committed Sep 11, 2024
1 parent 919fa9c commit c4a0bae
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
8 changes: 8 additions & 0 deletions anda/stardust/server/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
project pkg {
rpm {
spec = "stardust-server.spec"
}
labels {
nightly = 1
}
}
42 changes: 42 additions & 0 deletions anda/stardust/server/stardust-server.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
Name: stardust-server
Version: 0.44.1
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/refs/tags/0.44.1.tar.gz
License: GPLv2

BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros mold g++
BuildRequires: glx-utils fontconfig-devel glibc libxcb-devel wayland-devel
BuildRequires: openxr-devel libglvnd-devel libglvnd-gles mesa-libgbm-devel
BuildRequires: libwayland-egl libX11-devel libXfixes-devel lld clang
BuildRequires: mesa-libEGL-devel libxkbcommon-devel

Requires: libxkbcommon libstdc++ openxr-libs libX11 libXfixes
Requires: libglvnd-egl mesa-libgbm fontconfig libgcc glibc jsoncpp libxcb libglvnd
Requires: libwayland-server libdrm expat libxcb freetype libxml2 libXau libXau
Requires: libffi zlib-ng-compat bzip2-libs libpng harfbuzz libbrotli xz-libs
Requires: glib2 graphite2 libbrotli pcre2

Packager: Owen Zimmerman <[email protected]>

%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-%version
%cargo_prep_online

%build

%install
%cargo_install

%files
/usr/bin/stardust-server
%license LICENSE
%doc README.md

%changelog
* Tue Sep 10 2024 Owen-sz <[email protected]>
- Package StardustXR Server
5 changes: 5 additions & 0 deletions anda/stardust/server/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
rpm.global("commit", gh_commit("StardustXR/server"));
if rpm.changed() {
rpm.release();
rpm.global("commit_date", date());
}

0 comments on commit c4a0bae

Please sign in to comment.