+37
Formula/stardust/stardust-server.rb
+37
Formula/stardust/stardust-server.rb
···
···
1
+
# Documentation: https://docs.brew.sh/Formula-Cookbook
2
+
# https://rubydoc.brew.sh/Formula
3
+
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST!
4
+
class StardustServer < Formula
5
+
desc "The Stardust XR server, required to run and connect clients"
6
+
homepage "https://stardustxr.org/"
7
+
url "https://github.com/StardustXR/server/archive/refs/tags/0.45.1.tar.gz"
8
+
sha256 "a9d1e72de070bf6728d30203605793f888319ccae4280d84452b1fda4f143e3b"
9
+
license "GPL-2.0"
10
+
11
+
depends_on "rust" => :build
12
+
depends_on "cmake" => :build
13
+
depends_on "libx11" => :build
14
+
depends_on "libxfixes" => :build
15
+
depends_on "libxcb" => :build
16
+
depends_on "fontconfig" => :build
17
+
depends_on "openxr-generated" => :build
18
+
depends_on "wayland" => :build
19
+
depends_on "wayland-protocols" => :build
20
+
21
+
def install
22
+
system "cargo", "install", *std_cargo_args
23
+
end
24
+
25
+
test do
26
+
# `test do` will create, run in and delete a temporary directory.
27
+
#
28
+
# This test will fail and we won't accept that! For Homebrew/homebrew-core
29
+
# this will need to be a test that verifies the functionality of the
30
+
# software. Run the test with `brew test stardust-server`. Options passed
31
+
# to `brew install` such as `--HEAD` also need to be provided to `brew test`.
32
+
#
33
+
# The installed folder is not in the path, so use the entire path to any
34
+
# executables being tested: `system bin/"program", "do", "something"`.
35
+
system "false"
36
+
end
37
+
end
-50
Formula/wivrn-server.rb
-50
Formula/wivrn-server.rb
···
1
-
# Documentation: https://docs.brew.sh/Formula-Cookbook
2
-
# https://rubydoc.brew.sh/Formula
3
-
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST!
4
-
class WivrnServer < Formula
5
-
desc "The Linux OpenXR streaming application to standalone headsets"
6
-
homepage "https://github.com/WiVRn/WiVRn"
7
-
url "https://github.com/WiVRn/WiVRn/archive/refs/tags/v25.8.tar.gz"
8
-
sha256 "7bfb0c270cab8bb95a1cab1402f8bc320398e7fcfd2be70ef1a5d4f4a9451a71"
9
-
license "GPL-3.0"
10
-
11
-
depends_on "cmake" => :build
12
-
depends_on "eigen" => :build
13
-
depends_on "avahi" => :build
14
-
depends_on "gettext" => :build
15
-
depends_on "pulseaudio" => :build
16
-
depends_on "cli11" => :build
17
-
depends_on "librsvg" => :build
18
-
depends_on "libnotify" => :build
19
-
depends_on "nlohmann-json" => :build
20
-
depends_on "ffmpeg" => :build
21
-
depends_on "x264" => :build
22
-
depends_on "x265" => :build
23
-
24
-
def install
25
-
args = %w[
26
-
-GNinja
27
-
-DWIVRN_BUILD_CLIENT=OFF
28
-
-DCMAKE_BUILD_TYPE=RelWithDebInfo
29
-
]
30
-
31
-
system "cmake", "-B", "build-server", ".", *args, *std_cmake_args
32
-
end
33
-
34
-
def caveats
35
-
"AtomicXR's wivrn-server formula is in development. Report issues at: https://tangled.sh/@matrixfurry.com/homebrew-atomicxr/issues"
36
-
end
37
-
38
-
test do
39
-
# `test do` will create, run in and delete a temporary directory.
40
-
#
41
-
# This test will fail and we won't accept that! For Homebrew/homebrew-core
42
-
# this will need to be a test that verifies the functionality of the
43
-
# software. Run the test with `brew test wivrn-server`. Options passed
44
-
# to `brew install` such as `--HEAD` also need to be provided to `brew test`.
45
-
#
46
-
# The installed folder is not in the path, so use the entire path to any
47
-
# executables being tested: `system bin/"program", "do", "something"`.
48
-
system "false"
49
-
end
50
-
end
···