Skip to content

Commit

Permalink
feat: a;slkdjfl;sjfkal;j
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko committed Oct 23, 2024
1 parent dfa03c2 commit ff3cf29
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions anda/stardust/server/stardust-server.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
#global build_rustflags -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn -Cdebug-assertions=true
%define __strip /bin/true
%global debug_package %{nil}

Name: stardust-server
Version: 0.45.1
Expand All @@ -11,7 +8,7 @@ URL: https://github.com/StardustXR/server
Source0: %url/archive/refs/tags/%version.tar.gz
License: GPL-2.0-only

BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros gcc-c++
BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros gcc-c++ mold
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
Expand All @@ -24,12 +21,14 @@ Usable Linux display server that reinvents human-computer interaction for all ki

%prep
%autosetup -n server-%version
%cargo_prep_online

%build
LDFLAGS="" RUSTFLAGS="" CXXFLAGS="" CFLAGS="" cargo build --release --locked
export CXXFLAGS=""
%cargo_build

%install
install -Dm755 target/release/stardust-xr-server %buildroot%_bindir/stardust-xr-server
install -Dm755 target/rpm/stardust-xr-server %buildroot%_bindir/stardust-xr-server


%files
Expand Down

0 comments on commit ff3cf29

Please sign in to comment.