XR packaging for Fedora Atomic
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

index-camera-passthrough (new formula)

Signed-off-by: @matrixfurry.com <did:plc:zmjoeu3stwcn44647rhxa44o>

+28
+28
Formula/index-camera-passthrough.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 IndexCameraPassthrough < Formula 5 + desc "Experimental Valve Index camera passthrough for Linux" 6 + homepage "https://github.com/yshui/index_camera_passthrough" 7 + url "https://github.com/yshui/index_camera_passthrough/archive/0d3ec30c5cd74e4a3df93d704ecf4a25136afd73.zip" 8 + version "2024.07.25" 9 + sha256 "967d967b08299727810d623cdc50260767c7fe715ed97e932281ae029a971728" 10 + license "MIT" 11 + 12 + depends_on "rust" => :build 13 + depends_on "shaderc" => :build 14 + depends_on "llvm" => :build 15 + depends_on "systemd" 16 + depends_on :linux 17 + 18 + def install 19 + ENV["SHADERC_LIB_DIR"] = Formula["shaderc"].opt_lib.to_s 20 + 21 + system "cargo", "install", *std_cargo_args 22 + end 23 + 24 + test do 25 + # TODO: write tests 26 + system "false" 27 + end 28 + end