-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
project pkg { | ||
rpm { | ||
spec = "stardust-server.spec" | ||
} | ||
labels { | ||
nightly = 1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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()); | ||
} |