XR packaging for Fedora Atomic

Compare changes

Choose any two refs to compare.

.revoked_keys

This is a binary file and will not be displayed.

-24
Casks/lovr-playspace.rb
··· 1 - # SPDX-License-Identifier: AGPL-3.0-only 2 - # SPDX-FileCopyrightText: MatrixFurry <did:plc:zmjoeu3stwcn44647rhxa44o> 3 - cask "lovr-playspace" do 4 - version "0.2.1" 5 - sha256 "996e863b6d4d725d3d18fd3a27b5ea503d55d281c2f15332c2556a1484f503fa" 6 - 7 - url "https://github.com/SpookySkeletons/lovr-playspace/releases/download/#{version}/LOVR_Playspace-x86_64.AppImage" 8 - name "LÖVR Playspace" 9 - desc "Room boundary overlay for OpenXR" 10 - homepage "https://github.com/SpookySkeletons/lovr-playspace" 11 - 12 - livecheck do 13 - url #{homepage} 14 - strategy :git 15 - end 16 - 17 - depends_on arch: :x86_64 18 - 19 - # TODO: Switch to appimage when https://github.com/Homebrew/brew/pull/20334 is merged? 20 - binary "LOVR_Playspace-x86_64.AppImage", target: "lovr-playspace" 21 - 22 - # TODO: Look for files that should go here 23 - zap trash: "" 24 - end
···
-28
Casks/wayvr-dashboard.rb
··· 1 - # SPDX-License-Identifier: AGPL-3.0-only 2 - # SPDX-FileCopyrightText: MatrixFurry <did:plc:zmjoeu3stwcn44647rhxa44o> 3 - cask "wayvr-dashboard" do 4 - version "0.3.8" 5 - sha256 "513484de85bba6ab575329d42259bd782c0a5c7a9aa925090d3a25f05c2936ed" 6 - 7 - url "https://github.com/olekolek1000/wayvr-dashboard/releases/download/#{version}/wayvr-dashboard.x86_64" 8 - name "WayVR Dashboard" 9 - desc "Launch desktop applications and games within VR (wlx-overlay-s addon)" 10 - homepage "https://oo8.dev/wayvr_dashboard" 11 - 12 - livecheck do 13 - url "https://github.com/olekolek1000/wayvr-dashboard" 14 - strategy :git 15 - end 16 - 17 - depends_on arch: :x86_64 18 - depends_on formula: "wlx-overlay-s" 19 - 20 - binary "wayvr-dashboard.x86_64", target: "wayvr-dashboard" 21 - 22 - zap trash: [ 23 - "~/.local/share/dev.oo8.wayvr-dashboard", 24 - "~/.local/share/wayvr-dashboard", 25 - "~/.cache/dev.oo8.wayvr-dashboard", 26 - "~/.cache/wayvr-dashboard" 27 - ] 28 - end
···
+6 -9
Formula/atomicxr-cli.rb
··· 1 # SPDX-License-Identifier: AGPL-3.0-only 2 - # SPDX-FileCopyrightText: MatrixFurry <did:plc:zmjoeu3stwcn44647rhxa44o> 3 class AtomicxrCli < Formula 4 desc "Utilities for XR on Fedora Atomic Desktops and Universal Blue" 5 - homepage "https://tangled.org/matrixfurry.com/atomic-xr" 6 - version "2.6.0" 7 - url "https://tangled.org/matrixfurry.com/atomic-xr/archive/refs%2Ftags%2Fv#{version}" 8 - sha256 "03d382a66b67baeaeeedad0fee9b344b18921fdae1838aa55f3d2e5129353e61" 9 license "AGPL-3.0-only" 10 11 - bottle do 12 - root_url "https://gitlab.com/api/v4/projects/75293878/packages/generic/atomicxr-cli/2.6.0" 13 - sha256 cellar: :any_skip_relocation, x86_64_linux: "c3dc78fe3e06a11abc8ec1f415153b9c156da7bcac65bdd2f357f3fa7f825905" 14 - end 15 16 depends_on "nushell" 17
··· 1 # SPDX-License-Identifier: AGPL-3.0-only 2 + # Copyright (c) 2025 Shiloh Fen <shiloh@shilohfen.com> 3 class AtomicxrCli < Formula 4 desc "Utilities for XR on Fedora Atomic Desktops and Universal Blue" 5 + homepage "https://tangled.sh/@matrixfurry.com/homebrew-atomicxr" 6 + url "https://knot1.tangled.sh/did:plc:zmjoeu3stwcn44647rhxa44o/atomic-xr/archive/v1.2.0.tar.gz" 7 + sha256 "0339abba3a60ffe0dec938d212b1abee9eaefabc068ce6df4ee1038036e1db7d" 8 license "AGPL-3.0-only" 9 10 + # livecheck will be implemented after this pr is merged: https://tangled.sh/@tangled.sh/core/pulls/442 11 + # alternatively, we could use the git strategy, but that's not ideal iirc 12 13 depends_on "nushell" 14
-27
Formula/disabled/wayvr-dashboard.rb
··· 1 - # SPDX-License-Identifier: AGPL-3.0-only 2 - # Copyright (c) 2025 Shiloh Fen <shiloh@shilohfen.com> 3 - class WayvrDashboard < Formula 4 - desc "Launch desktop applications and games within VR (wlx-overlay-s addon)" 5 - homepage "https://oo8.dev/wayvr_dashboard" 6 - url "https://github.com/olekolek1000/wayvr-dashboard/releases/download/0.3.7/wayvr-dashboard" 7 - sha256 "3e5227f95497037c9ecdc03320fb943f2db0ad492e75d7702de6301a7baf0286" 8 - license "MIT" 9 - revision 1 10 - 11 - disable! date: "2025-09-06", because: "has been replaced by a cask", replacement_cask: "wayvr-dashboard" 12 - 13 - # HACK: There are major issues when attempting to run GTK applications built with Homebrew on 14 - # HACK: ...atomic distros at the moment. For now, we're just installing the prebuilt binary. 15 - 16 - def install 17 - bin.install "wayvr-dashboard" 18 - end 19 - 20 - def caveats 21 - "WayVR Dashboard has been installed from a prebuilt binary" 22 - end 23 - 24 - test do 25 - # TODO: add tests 26 - end 27 - end
···
-32
Formula/index-camera-passthrough.rb
··· 1 - # SPDX-License-Identifier: AGPL-3.0-only 2 - # SPDX-FileCopyrightText: MatrixFurry <did:plc:zmjoeu3stwcn44647rhxa44o> 3 - class IndexCameraPassthrough < Formula 4 - desc "Experimental Valve Index camera passthrough for Linux" 5 - homepage "https://github.com/yshui/index_camera_passthrough" 6 - url "https://github.com/yshui/index_camera_passthrough/archive/0d3ec30c5cd74e4a3df93d704ecf4a25136afd73.zip" 7 - version "2024.07.25" 8 - sha256 "967d967b08299727810d623cdc50260767c7fe715ed97e932281ae029a971728" 9 - license "MIT" 10 - 11 - bottle do 12 - root_url "https://gitlab.com/api/v4/projects/75293878/packages/generic/index-camera-passthrough/2024.07.25" 13 - sha256 cellar: :any_skip_relocation, x86_64_linux: "f48692400b509fb0ec25e9b4351f8a7a4dd9b15a12f889a0674386c539684d17" 14 - end 15 - 16 - depends_on "rust" => :build 17 - depends_on "shaderc" => :build 18 - depends_on "llvm" => :build 19 - depends_on "systemd" 20 - depends_on :linux 21 - 22 - def install 23 - ENV["SHADERC_LIB_DIR"] = Formula["shaderc"].opt_lib.to_s 24 - 25 - system "cargo", "install", *std_cargo_args 26 - end 27 - 28 - test do 29 - # TODO: write tests 30 - system "false" 31 - end 32 - end
···
+24 -10
Formula/libpipewire.rb
··· 1 # SPDX-License-Identifier: AGPL-3.0-only 2 - # SPDX-FileCopyrightText: MatrixFurry <did:plc:zmjoeu3stwcn44647rhxa44o> 3 class Libpipewire < Formula 4 desc "User space API to deal with multimedia pipelines (libraries only)" 5 homepage "https://pipewire.org/" 6 - version "1.5.83" 7 - url "https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/#{version}/pipewire-#{version}.tar.gz" 8 - sha256 "f9db39d52155481c2c40e8216901ef24cdc2235725afa6cd3a79461965ffc4ac" 9 license "MIT" 10 11 - bottle do 12 - root_url "https://gitlab.com/api/v4/projects/75293878/packages/generic/libpipewire/1.5.83" 13 - sha256 x86_64_linux: "92742f8ed60008a75ccf599596bd4de65aa10baf6d8e162a93d5400abf05f993" 14 - end 15 - 16 keg_only "pipewire should be installed from your Linux distro's package manager, this formula is for builds only" 17 18 depends_on "dbus" => :build 19 depends_on "glib" => :build 20 depends_on "libffi" => :build 21 depends_on "meson" => :build ··· 31 # NOTE: Does disabling gsettings cause any issues? 32 args = %w[ 33 -Dexamples=disabled 34 - -Dlibsystemd=disabled 35 -Dlogind=disabled 36 -Dpipewire-alsa=disabled 37 -Dpipewire-jack=disabled ··· 45 -Dsession-managers=[] 46 ] 47 48 system "meson", "setup", "build", *args, *std_meson_args 49 system "meson", "compile", "-C", "build" 50 system "meson", "install", "-C", "build" 51 end 52 53 test do
··· 1 # SPDX-License-Identifier: AGPL-3.0-only 2 + # Copyright (c) 2025 Shiloh Fen <shiloh@shilohfen.com> 3 class Libpipewire < Formula 4 desc "User space API to deal with multimedia pipelines (libraries only)" 5 homepage "https://pipewire.org/" 6 + url "https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/1.4.7/pipewire-1.4.7.tar.gz" 7 + sha256 "9d54f025e1e7ae73b980a6c8be2e8e6387e24d554d58478d6495734ce1ee5a93" 8 license "MIT" 9 10 keg_only "pipewire should be installed from your Linux distro's package manager, this formula is for builds only" 11 12 depends_on "dbus" => :build 13 + depends_on "gcc" => :build 14 depends_on "glib" => :build 15 depends_on "libffi" => :build 16 depends_on "meson" => :build ··· 26 # NOTE: Does disabling gsettings cause any issues? 27 args = %w[ 28 -Dexamples=disabled 29 + -Dsystemd=disabled 30 -Dlogind=disabled 31 -Dpipewire-alsa=disabled 32 -Dpipewire-jack=disabled ··· 40 -Dsession-managers=[] 41 ] 42 43 + # HACK: temporarily disable fixincludes for pthread.h, see https://github.com/orgs/Homebrew/discussions/6193 44 + # Maybe building with LLVM clang would be a better idea? 45 + system "nu", "-c", "try { 46 + ls /home/linuxbrew/.linuxbrew/Cellar/gcc/*/lib/gcc/current/gcc/x86_64-pc-linux-gnu/*/include-fixed/pthread.h 47 + | each {|file| mv $file.name $'($file.name).bak'}; 48 + print 'GCC Fixincludes disabled for `pthread.h`' 49 + } catch { 50 + print 'WARNING: Failed to disable pthread.h fixincludes from GCC.' 51 + }" 52 + 53 system "meson", "setup", "build", *args, *std_meson_args 54 system "meson", "compile", "-C", "build" 55 system "meson", "install", "-C", "build" 56 + 57 + # HACK: re-enable pthread.h fixincludes 58 + system "nu", "-c", "try { 59 + ls /home/linuxbrew/.linuxbrew/Cellar/gcc/*/lib/gcc/current/gcc/x86_64-pc-linux-gnu/*/include-fixed/pthread.h.bak 60 + | each {|file| mv $file.name ($file.name | str substring 0..-5)}; 61 + print 'GCC Fixincludes re-enabled for `pthread.h`' 62 + } catch { 63 + print 'WARNING: Failed to re-enable pthread.h fixincludes from GCC.' 64 + }" 65 end 66 67 test do
+3 -9
Formula/motoc.rb
··· 1 # SPDX-License-Identifier: AGPL-3.0-only 2 - # SPDX-FileCopyrightText: MatrixFurry <did:plc:zmjoeu3stwcn44647rhxa44o> 3 class Motoc < Formula 4 desc "Monado Tracking Origin Calibrator" 5 homepage "https://github.com/galister/motoc" 6 - version "0.3.5" 7 - url "https://github.com/galister/motoc/archive/refs/tags/v#{version}.tar.gz" 8 - sha256 "4b3021fa6f8ffefd48ad2c9b7adb5189606f7aa57a5b0c5b9007163092479f05" 9 license "GPL-3.0-only" 10 - 11 - bottle do 12 - root_url "https://gitlab.com/api/v4/projects/75293878/packages/generic/motoc/0.3.5" 13 - sha256 x86_64_linux: "acbb3a17b64242ff1f16f4026999a285475a491e11de62541d798454db79db2d" 14 - end 15 16 depends_on "rust" => :build 17 depends_on :linux
··· 1 # SPDX-License-Identifier: AGPL-3.0-only 2 + # Copyright (c) 2025 Shiloh Fen <shiloh@shilohfen.com> 3 class Motoc < Formula 4 desc "Monado Tracking Origin Calibrator" 5 homepage "https://github.com/galister/motoc" 6 + url "https://github.com/galister/motoc/archive/refs/tags/v0.3.4.tar.gz" 7 + sha256 "35957029c838de0d1a2ec556639440004b03d957107230fbc2a01b5a83af7361" 8 license "GPL-3.0-only" 9 10 depends_on "rust" => :build 11 depends_on :linux
+24 -10
Formula/openxr-generated.rb
··· 1 # SPDX-License-Identifier: AGPL-3.0-only 2 - # SPDX-FileCopyrightText: MatrixFurry <did:plc:zmjoeu3stwcn44647rhxa44o> 3 class OpenxrGenerated < Formula 4 desc "Generated headers and sources for OpenXR loader" 5 homepage "https://khronos.org/openxr" 6 - version "1.1.53" 7 - url "https://github.com/KhronosGroup/OpenXR-SDK/archive/refs/tags/release-#{version}.tar.gz" 8 - sha256 "3ccd6835e213e3226e828660b80b8e2178f1571ba743f16088c942ebce84f6ef" 9 license "Apache-2.0" 10 11 - bottle do 12 - root_url "https://gitlab.com/api/v4/projects/75293878/packages/generic/openxr-generated/1.1.53" 13 - sha256 cellar: :any_skip_relocation, x86_64_linux: "e0a169d106b8079ba5929da2b39ca85655da7c01c92b68944771d41ae2879e7d" 14 - end 15 - 16 depends_on "cmake" => :build 17 depends_on "nushell" => :build 18 depends_on "pkgconfig" => :build 19 depends_on "wayland-protocols" => :build ··· 32 -DBUILD_CONFORMANCE_TESTS=OFF 33 ] 34 35 - # Fixes an issue with CMake not being able to find OpenGL 36 args << "-DOPENGL_INCLUDE_DIR=#{Formula["mesa"].opt_include}" 37 38 system "cmake", "-S", ".", "-B", "build", *args, *std_cmake_args 39 system "cmake", "--build", "build" 40 system "cmake", "--install", "build" 41 end 42 43 test do
··· 1 # SPDX-License-Identifier: AGPL-3.0-only 2 + # Copyright (c) 2025 Shiloh Fen <shiloh@shilohfen.com> 3 class OpenxrGenerated < Formula 4 desc "Generated headers and sources for OpenXR loader" 5 homepage "https://khronos.org/openxr" 6 + url "https://github.com/KhronosGroup/OpenXR-SDK/archive/refs/tags/release-1.1.50.tar.gz" 7 + sha256 "9e077d464c688b5063f838e13357ee9639ea33dacc50a9e8207c79a8a93c94c6" 8 license "Apache-2.0" 9 10 depends_on "cmake" => :build 11 + depends_on "gcc" => :build 12 depends_on "nushell" => :build 13 depends_on "pkgconfig" => :build 14 depends_on "wayland-protocols" => :build ··· 27 -DBUILD_CONFORMANCE_TESTS=OFF 28 ] 29 30 + # Fixes an issue with CMake not being able to find OpenGL, I have no clue what's causing it 31 args << "-DOPENGL_INCLUDE_DIR=#{Formula["mesa"].opt_include}" 32 33 + # HACK: temporarily disable fixincludes for pthread.h, see https://github.com/orgs/Homebrew/discussions/6193 34 + # Maybe building with LLVM clang would be a better idea? 35 + system "nu", "-c", "try { 36 + ls /home/linuxbrew/.linuxbrew/Cellar/gcc/*/lib/gcc/current/gcc/x86_64-pc-linux-gnu/*/include-fixed/pthread.h 37 + | each {|file| mv $file.name $'($file.name).bak'}; 38 + print 'GCC Fixincludes disabled for `pthread.h`' 39 + } catch { 40 + print 'WARNING: Failed to disable pthread.h fixincludes from GCC.' 41 + }" 42 + 43 system "cmake", "-S", ".", "-B", "build", *args, *std_cmake_args 44 system "cmake", "--build", "build" 45 system "cmake", "--install", "build" 46 + 47 + # HACK: re-enable pthread.h fixincludes 48 + system "nu", "-c", "try { 49 + ls /home/linuxbrew/.linuxbrew/Cellar/gcc/*/lib/gcc/current/gcc/x86_64-pc-linux-gnu/*/include-fixed/pthread.h.bak 50 + | each {|file| mv $file.name ($file.name | str substring 0..-5)}; 51 + print 'GCC Fixincludes re-enabled for `pthread.h`' 52 + } catch { 53 + print 'WARNING: Failed to re-enable pthread.h fixincludes from GCC.' 54 + }" 55 end 56 57 test do
+3 -9
Formula/oscavmgr.rb
··· 1 # SPDX-License-Identifier: AGPL-3.0-only 2 - # SPDX-FileCopyrightText: MatrixFurry <did:plc:zmjoeu3stwcn44647rhxa44o> 3 class Oscavmgr < Formula 4 desc "Face tracking & utilities for Resonite and VRC" 5 homepage "https://github.com/galister/oscavmgr" 6 - version "25.2" 7 - url "https://github.com/galister/oscavmgr/archive/refs/tags/v#{version}.tar.gz" 8 sha256 "497c7cc432bf7f79ff131b6c70cb968cc2a3f44cafac92e93c824c8cd6d03087" 9 license "MIT" 10 11 - bottle do 12 - root_url "https://gitlab.com/api/v4/projects/75293878/packages/generic/oscavmgr/25.2" 13 - sha256 x86_64_linux: "47555c09a91577375c230c3c18e0bd36783cb32969b8d819ea13de73edfb0797" 14 - end 15 - 16 depends_on "rust" => :build 17 depends_on :linux 18 depends_on "openxr-generated" 19 - depends_on "vrc-advert" => :recommended 20 21 def install 22 system "cargo", "install", *std_cargo_args
··· 1 # SPDX-License-Identifier: AGPL-3.0-only 2 + # Copyright (c) 2025 Shiloh Fen <shiloh@shilohfen.com> 3 class Oscavmgr < Formula 4 desc "Face tracking & utilities for Resonite and VRC" 5 homepage "https://github.com/galister/oscavmgr" 6 + url "https://github.com/galister/oscavmgr/archive/refs/tags/v25.2.tar.gz" 7 sha256 "497c7cc432bf7f79ff131b6c70cb968cc2a3f44cafac92e93c824c8cd6d03087" 8 license "MIT" 9 10 depends_on "rust" => :build 11 depends_on :linux 12 depends_on "openxr-generated" 13 + depends_on "vrc-advert" => :optional 14 15 def install 16 system "cargo", "install", *std_cargo_args
+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
+2 -8
Formula/vrc-advert.rb
··· 1 # SPDX-License-Identifier: AGPL-3.0-only 2 - # SPDX-FileCopyrightText: MatrixFurry <did:plc:zmjoeu3stwcn44647rhxa44o> 3 class VrcAdvert < Formula 4 desc "Advertise your OSC app through OSCQuery" 5 homepage "https://github.com/galister/VrcAdvert" 6 - version "1.0.1" 7 - url "https://github.com/galister/VrcAdvert/archive/refs/tags/v#{version}.tar.gz" 8 sha256 "7f21dbd5eb5bfdc4f75cdce7138bd97f2caf46c076fe0a7e54f31049b7fb5b9f" 9 license "Unlicense" 10 - 11 - bottle do 12 - root_url "https://gitlab.com/api/v4/projects/75293878/packages/generic/vrc-advert/1.0.1" 13 - sha256 x86_64_linux: "acba50519e3a00553194cd2a31e09fed84db9ec50c7d1283ac65e42462a72874" 14 - end 15 16 depends_on "dotnet@8" => :build 17 depends_on :linux
··· 1 # SPDX-License-Identifier: AGPL-3.0-only 2 + # Copyright (c) 2025 Shiloh Fen <shiloh@shilohfen.com> 3 class VrcAdvert < Formula 4 desc "Advertise your OSC app through OSCQuery" 5 homepage "https://github.com/galister/VrcAdvert" 6 + url "https://github.com/galister/VrcAdvert/archive/refs/tags/v1.0.1.tar.gz" 7 sha256 "7f21dbd5eb5bfdc4f75cdce7138bd97f2caf46c076fe0a7e54f31049b7fb5b9f" 8 license "Unlicense" 9 10 depends_on "dotnet@8" => :build 11 depends_on :linux
+25
Formula/wayvr-dashboard.rb
···
··· 1 + # SPDX-License-Identifier: AGPL-3.0-only 2 + # Copyright (c) 2025 Shiloh Fen <shiloh@shilohfen.com> 3 + class WayvrDashboard < Formula 4 + desc "Launch desktop applications and games within VR (wlx-overlay-s addon)" 5 + homepage "https://oo8.dev/wayvr_dashboard" 6 + url "https://github.com/olekolek1000/wayvr-dashboard/releases/download/0.3.6/wayvr-dashboard" 7 + sha256 "33294727f2cea0a7db0fb1fb4ce3ea5fb34806d83baef4f229137c8d330dacda" 8 + license "MIT" 9 + revision 1 10 + 11 + # HACK: There are major issues when attempting to run GTK applications built with Homebrew on 12 + # HACK: ...atomic distros at the moment. For now, we're just installing the prebuilt binary. 13 + 14 + def install 15 + bin.install "wayvr-dashboard" 16 + end 17 + 18 + def caveats 19 + "WayVR Dashboard has been installed from a prebuilt binary" 20 + end 21 + 22 + test do 23 + # TODO: add tests 24 + end 25 + end
+26 -8
Formula/wlx-overlay-s.rb
··· 1 # SPDX-License-Identifier: AGPL-3.0-only 2 - # SPDX-FileCopyrightText: MatrixFurry <did:plc:zmjoeu3stwcn44647rhxa44o> 3 class WlxOverlayS < Formula 4 desc "Access your Wayland desktop from Monado/WiVRn" 5 homepage "https://github.com/galister/wlx-overlay-s" 6 - version "25.4.2" 7 - url "https://github.com/galister/wlx-overlay-s/archive/refs/tags/v#{version}.tar.gz" 8 sha256 "c2be093a815fa69fee65235bad573be8c1ac7959b5bad197f9e4201cc15da5ba" 9 license "GPL-3.0-only" 10 11 - bottle do 12 - root_url "https://gitlab.com/api/v4/projects/75293878/packages/generic/wlx-overlay-s/25.4.2" 13 - sha256 x86_64_linux: "a18928b0cc02ba40184735a3ac599c29405f38600ba48d8676611a6e956bd308" 14 - end 15 - 16 depends_on "alsa-lib" => :build 17 depends_on "dbus" => :build 18 depends_on "libpipewire" => :build 19 depends_on "libxkbcommon" => :build 20 depends_on "nushell" => :build ··· 29 def install 30 ENV["SHADERC_LIB_DIR"] = Formula["shaderc"].opt_lib.to_s 31 32 system "cargo", "install", 33 "--no-default-features", 34 "--features", "openxr,wayland,pipewire,osc,wayvr", 35 *std_cargo_args 36 end 37 38 def caveats
··· 1 # SPDX-License-Identifier: AGPL-3.0-only 2 + # Copyright (c) 2025 Shiloh Fen <shiloh@shilohfen.com> 3 class WlxOverlayS < Formula 4 desc "Access your Wayland desktop from Monado/WiVRn" 5 homepage "https://github.com/galister/wlx-overlay-s" 6 + url "https://github.com/galister/wlx-overlay-s/archive/refs/tags/v25.4.2.tar.gz" 7 sha256 "c2be093a815fa69fee65235bad573be8c1ac7959b5bad197f9e4201cc15da5ba" 8 license "GPL-3.0-only" 9 10 depends_on "alsa-lib" => :build 11 depends_on "dbus" => :build 12 + depends_on "gcc" => :build 13 depends_on "libpipewire" => :build 14 depends_on "libxkbcommon" => :build 15 depends_on "nushell" => :build ··· 24 def install 25 ENV["SHADERC_LIB_DIR"] = Formula["shaderc"].opt_lib.to_s 26 27 + # HACK: temporarily disable fixincludes for pthread.h, see https://github.com/orgs/Homebrew/discussions/6193 28 + # Maybe building with LLVM clang would be a better idea? 29 + system "nu", "-c", <<~EOF 30 + try { 31 + ls /home/linuxbrew/.linuxbrew/Cellar/gcc/*/lib/gcc/current/gcc/x86_64-pc-linux-gnu/*/include-fixed/pthread.h 32 + | each {|file| mv $file.name $'($file.name).bak'}; 33 + print 'GCC Fixincludes disabled for `pthread.h`' 34 + } catch { 35 + print 'WARNING: Failed to disable pthread.h fixincludes from GCC.' 36 + } 37 + EOF 38 + 39 system "cargo", "install", 40 "--no-default-features", 41 "--features", "openxr,wayland,pipewire,osc,wayvr", 42 *std_cargo_args 43 + 44 + # HACK: re-enable pthread.h fixincludes 45 + system "nu", "-c", <<~EOF 46 + try { 47 + ls /home/linuxbrew/.linuxbrew/Cellar/gcc/*/lib/gcc/current/gcc/x86_64-pc-linux-gnu/*/include-fixed/pthread.h.bak 48 + | each {|file| mv $file.name ($file.name | str substring 0..-5)}; 49 + print 'GCC Fixincludes re-enabled for `pthread.h`' 50 + } catch { 51 + print 'WARNING: Failed to re-enable pthread.h fixincludes from GCC.' 52 + } 53 + EOF 54 end 55 56 def caveats
+6 -24
README.md
··· 2 3 Homebrew tap for XR applications on Fedora Atomic 4 5 - > [!IMPORTANT] 6 - > AtomicXR is looking for a new maintainer. This tap should still be updated weekly. 7 - > If you notice any problems, please [open an issue](https://tangled.org/@matrixfurry.com/homebrew-atomicxr/issues/new)! 8 - > 9 - > See [this blog post](https://blog.matrixfurry.com/3m3q3ok4nus2o) for more information. 10 - 11 ## Install ## 12 13 Tap: 14 ```sh 15 - brew tap matrixfurry.com/atomicxr https://tangled.org/@matrixfurry.com/homebrew-atomicxr 16 ``` 17 18 - Formulae (`brew install <application>`): 19 - [AtomicXR CLI (`axr`)](https://tangled.sh/@matrixfurry.com/atomic-xr): `atomicxr-cli` 20 - [WlxOverlay-S](https://github.com/galister/wlx-overlay-s): `wlx-overlay-s` 21 - [Monado Tracking Origin Calibrator](https://github.com/galister/motoc): `motoc` 22 - [OSC Avatar Manager](https://github.com/galister/oscavmgr): `oscavmgr` 23 - [VrcAdvert](https://github.com/galister/VrcAdvert): `vrc-advert` 24 - - [Index Camera Passthrough](https://github.com/yshui/index_camera_passthrough): `index-camera-passthrough` 25 26 - Casks (`brew install --cask <application>`): 27 - - [WayVR Dashboard](https://github.com/olekolek1000/wayvr-dashboard): `wayvr-dashboard` 28 - - [LÖVR Playspace](https://github.com/SpookySkeletons/lovr-playspace): `lovr-playspace` 29 - 30 - ## Performance ## 31 - If you want slightly better runtime CPU performance, you can build from source using `brew install --build-from-source <application>` 32 - 33 - All Bottles are built for `x86_64-v3`, which should be a good balance between performance and compatibility. 34 - 35 - ## Troubleshooting ## 36 37 ### Formulae found in multiple taps 38 If you had this tap or AtomicXR installed before Aug 10, 2025, you might see an error message like: ··· 50 51 To fix this, run `brew unlink xkeyboard-config; brew link xkeyboard-config --overwrite` 52 53 - ### Issues with `pthread.h` or other fixincludes while building formulae 54 - This is caused by using Homebrew's GCC instead of Fedora's. Make sure Homebrew GCC is uninstalled and not a dependency. 55 56 - ## Security ## 57 - 58 - Please see the [Security Policy](./docs/security.md)
··· 2 3 Homebrew tap for XR applications on Fedora Atomic 4 5 ## Install ## 6 7 Tap: 8 ```sh 9 + brew tap matrixfurry.com/atomicxr https://tangled.sh/@matrixfurry.com/homebrew-atomicxr 10 ``` 11 12 + Applications (`brew install <application>`): 13 - [AtomicXR CLI (`axr`)](https://tangled.sh/@matrixfurry.com/atomic-xr): `atomicxr-cli` 14 - [WlxOverlay-S](https://github.com/galister/wlx-overlay-s): `wlx-overlay-s` 15 + - [WayVR Dashboard](https://github.com/olekolek1000/wayvr-dashboard): `wayvr-dashboard` 16 - [Monado Tracking Origin Calibrator](https://github.com/galister/motoc): `motoc` 17 - [OSC Avatar Manager](https://github.com/galister/oscavmgr): `oscavmgr` 18 - [VrcAdvert](https://github.com/galister/VrcAdvert): `vrc-advert` 19 20 + ## Common Issues ## 21 22 ### Formulae found in multiple taps 23 If you had this tap or AtomicXR installed before Aug 10, 2025, you might see an error message like: ··· 35 36 To fix this, run `brew unlink xkeyboard-config; brew link xkeyboard-config --overwrite` 37 38 + ## License ## 39 40 + The Formulae and scripts in this repo are licensed under the AGPL 3.0 (no later version) unless otherwise specified.
-90
docs/code_of_conduct.md
··· 1 - # Contributor Covenant 3.0 Code of Conduct 2 - 3 - ## Our Pledge 4 - 5 - We pledge to make our community welcoming, safe, and equitable for all. 6 - 7 - We are committed to fostering an environment that respects and promotes the dignity, rights, and contributions of all individuals, regardless of characteristics including race, ethnicity, caste, color, age, physical characteristics, neurodiversity, disability, sex or gender, gender identity or expression, sexual orientation, language, philosophy or religion, national or social origin, socio-economic position, level of education, or other status. The same privileges of participation are extended to everyone who participates in good faith and in accordance with this Covenant. 8 - 9 - ## Encouraged Behaviors 10 - 11 - While acknowledging differences in social norms, we all strive to meet our community's expectations for positive behavior. We also understand that our words and actions may be interpreted differently than we intend based on culture, background, or native language. 12 - 13 - With these considerations in mind, we agree to behave mindfully toward each other and act in ways that center our shared values, including: 14 - 15 - 1. Respecting the **purpose of our community**, our activities, and our ways of gathering. 16 - 2. Engaging **kindly and honestly** with others. 17 - 3. Respecting **different viewpoints** and experiences. 18 - 4. **Taking responsibility** for our actions and contributions. 19 - 5. Gracefully giving and accepting **constructive feedback**. 20 - 6. Committing to **repairing harm** when it occurs. 21 - 7. Behaving in other ways that promote and sustain the **well-being of our community**. 22 - 23 - 24 - ## Restricted Behaviors 25 - 26 - We agree to restrict the following behaviors in our community. Instances, threats, and promotion of these behaviors are violations of this Code of Conduct. 27 - 28 - 1. **Harassment.** Violating explicitly expressed boundaries or engaging in unnecessary personal attention after any clear request to stop. 29 - 2. **Character attacks.** Making insulting, demeaning, or pejorative comments directed at a community member or group of people. 30 - 3. **Stereotyping or discrimination.** Characterizing anyone’s personality or behavior on the basis of immutable identities or traits. 31 - 4. **Sexualization.** Behaving in a way that would generally be considered inappropriately intimate in the context or purpose of the community. 32 - 5. **Violating confidentiality**. Sharing or acting on someone's personal or private information without their permission. 33 - 6. **Endangerment.** Causing, encouraging, or threatening violence or other harm toward any person or group. 34 - 7. Behaving in other ways that **threaten the well-being** of our community. 35 - 36 - ### Other Restrictions 37 - 38 - 1. **Misleading identity.** Impersonating someone else for any reason, or pretending to be someone else to evade enforcement actions. 39 - 2. **Failing to credit sources.** Not properly crediting the sources of content you contribute. 40 - 3. **Promotional materials**. Sharing marketing or other commercial content in a way that is outside the norms of the community. 41 - 4. **Irresponsible communication.** Failing to responsibly present content which includes, links or describes any other restricted behaviors. 42 - 43 - 44 - ## Reporting an Issue 45 - 46 - Tensions can occur between community members even when they are trying their best to collaborate. Not every conflict represents a code of conduct violation, and this Code of Conduct reinforces encouraged behaviors and norms that can help avoid conflicts and minimize harm. 47 - 48 - When an incident does occur, it is important to report it promptly. To report a possible violation, **Please send a message via [SimpleX](https://smp18.simplex.im/a#Wc2x2IBqqwzgmeGkN0XtKrGMLBxFuxmoYgkTGgGgR0M), [Email](mailto:matrix@matrixfurry.com), or any of the contact methods listed [here](https://woosh.link/matrixfurry.com).** 49 - 50 - Community Moderators take reports of violations seriously and will make every effort to respond in a timely manner. They will investigate all reports of code of conduct violations, reviewing messages, logs, and recordings, or interviewing witnesses and other participants. Community Moderators will keep investigation and enforcement actions as transparent as possible while prioritizing safety and confidentiality. In order to honor these values, enforcement actions are carried out in private with the involved parties, but communicating to the whole community may be part of a mutually agreed upon resolution. 51 - 52 - 53 - ## Addressing and Repairing Harm 54 - 55 - **** 56 - 57 - If an investigation by the Community Moderators finds that this Code of Conduct has been violated, the following enforcement ladder may be used to determine how best to repair harm, based on the incident's impact on the individuals involved and the community as a whole. Depending on the severity of a violation, lower rungs on the ladder may be skipped. 58 - 59 - 1) Warning 60 - 1) Event: A violation involving a single incident or series of incidents. 61 - 2) Consequence: A private, written warning from the Community Moderators. 62 - 3) Repair: Examples of repair include a private written apology, acknowledgement of responsibility, and seeking clarification on expectations. 63 - 2) Temporarily Limited Activities 64 - 1) Event: A repeated incidence of a violation that previously resulted in a warning, or the first incidence of a more serious violation. 65 - 2) Consequence: A private, written warning with a time-limited cooldown period designed to underscore the seriousness of the situation and give the community members involved time to process the incident. The cooldown period may be limited to particular communication channels or interactions with particular community members. 66 - 3) Repair: Examples of repair may include making an apology, using the cooldown period to reflect on actions and impact, and being thoughtful about re-entering community spaces after the period is over. 67 - 3) Temporary Suspension 68 - 1) Event: A pattern of repeated violation which the Community Moderators have tried to address with warnings, or a single serious violation. 69 - 2) Consequence: A private written warning with conditions for return from suspension. In general, temporary suspensions give the person being suspended time to reflect upon their behavior and possible corrective actions. 70 - 3) Repair: Examples of repair include respecting the spirit of the suspension, meeting the specified conditions for return, and being thoughtful about how to reintegrate with the community when the suspension is lifted. 71 - 4) Permanent Ban 72 - 1) Event: A pattern of repeated code of conduct violations that other steps on the ladder have failed to resolve, or a violation so serious that the Community Moderators determine there is no way to keep the community safe with this person as a member. 73 - 2) Consequence: Access to all community spaces, tools, and communication channels is removed. In general, permanent bans should be rarely used, should have strong reasoning behind them, and should only be resorted to if working through other remedies has failed to change the behavior. 74 - 3) Repair: There is no possible repair in cases of this severity. 75 - 76 - This enforcement ladder is intended as a guideline. It does not limit the ability of Community Managers to use their discretion and judgment, in keeping with the best interests of our community. 77 - 78 - 79 - ## Scope 80 - 81 - This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public or other spaces. Examples of representing our community include using an official email address, posting via an official social media account, or acting as an appointed representative at an online or offline event. 82 - 83 - 84 - ## Attribution 85 - 86 - This Code of Conduct is adapted from the Contributor Covenant, version 3.0, permanently available at [https://www.contributor-covenant.org/version/3/0/](https://www.contributor-covenant.org/version/3/0/). 87 - 88 - Contributor Covenant is stewarded by the Organization for Ethical Source and licensed under CC BY-SA 4.0. To view a copy of this license, visit [https://creativecommons.org/licenses/by-sa/4.0/](https://creativecommons.org/licenses/by-sa/4.0/) 89 - 90 - For answers to common questions about Contributor Covenant, see the FAQ at [https://www.contributor-covenant.org/faq](https://www.contributor-covenant.org/faq). Translations are provided at [https://www.contributor-covenant.org/translations](https://www.contributor-covenant.org/translations). Additional enforcement and community guideline resources can be found at [https://www.contributor-covenant.org/resources](https://www.contributor-covenant.org/resources). The enforcement ladder was inspired by the work of [Mozilla’s code of conduct team](https://github.com/mozilla/inclusion).
···
-77
docs/contributing.md
··· 1 - For the most up-to-date guide, please see [matrixfurry.com/common](https://tangled.org/@matrixfurry.com/common/blob/main/CONTRIBUTING.md). 2 - 3 - Development happens on [Tangled](https://tangled.org/did:plc:zmjoeu3stwcn44647rhxa44o). 4 - 5 - # Developer Certificate of Origin 6 - By submitting code contributions as an individual or on behalf of a corporation to any directory in this repository, you agree to the [Developer Certificate of Origin](./legal/DCO.txt) 7 - 8 - # Reporting issues 9 - Yes, issues are contributions. 10 - 11 - First, look around in the opened and closed issues, someone might have reported the same issue. 12 - 13 - If you're not sure an issue is the same or not, especially an older closed issue, open a new issue and mention that you suspect it could be related. 14 - 15 - # Commit guidelines 16 - 17 - We follow a similar commit style to Tangled. Please keep your commits: 18 - - **atomic**: each commit should represent one logical change 19 - - **descriptive**: the commit message should clearly describe what the change does and why it's needed 20 - 21 - ## Message format 22 - We follow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) guidelines for commit messages. At present, it's not strictly enforced, but is preferred. 23 - 24 - Notes: 25 - - Keep commits lowercased with no trailing period, following the Conventional Commits style. 26 - - Use the imperative mood in the summary line (e.g., "fix bug" not "fixed bug" or "fixes bug"). 27 - - Try to keep the summary line under 72 characters. 28 - - Follow the same formatting for PR titles if filled manually. 29 - - Don't include unrelated changes in the same commit (keep commits atomic). 30 - - Avoid noisy commit messages like "wip" or "final fix". 31 - 32 - ## Commit signing 33 - 34 - Commit signing is optional but highly recommended. Once you make your first signed commit, all future commits must be signed. 35 - 36 - Please see the [security policy](./security.md) for more information. 37 - 38 - ## Submitting changes 39 - <!--TODO: Provide more documentation on how pull requests work on Tangled--> 40 - Opening a Pull Request on Tangled is the preferred contribution workflow. 41 - 42 - We reccomend using [Jujutsu](https://github.com/jj-vcs/jj) if you're comfortable with it. This way you can take advantage of Tangled's [stacked PRs](https://blog.tangled.org/stacking). 43 - 44 - PRs get merged "as-is" (fast-forward) -- like applying a patch-series using `git am`. At present, there is no squashing -- so please author your commits as they would appear on `main`, following the above guidelines. Rewrite history before submitting if necessary. 45 - 46 - # "AI"-assisted contributions 47 - > NOTE: Using pre-existing boilerplate, snippets, or syntax suggestions from your IDE or standard Language Server are not considered AI-assisted changes. You're welcome to use those features. 48 - 49 - Contributions written largely with help of LLMs (Large Language Models), Generative AI, or similar systems are not welcome. 50 - 51 - These systems are generally using statistical models built on content acquired without the author's consent, and with disregard of the content's license and attribution. They also consume a huge amount of energy, and have a very large impact on the environment. 52 - 53 - This includes, but is not limited to: 54 - - Comments 55 - - Documentation 56 - - Code 57 - - Issues 58 - - Images, Videos, Audio, or other Assets 59 - 60 - Contributions should be largely authored by the people in the commit information, e.g. the `Committer`, `Author`, `Signed-off-by`, and `Co-authored-by` fields. 61 - 62 - If you are unsure, or you had help from automated AI-generation in part of your contribution, please tell us when contributing. It does not mean the contribution will be rejected outright. We will evaluate on a case-by-case basis. We value honesty, and take it into consideration. 63 - 64 - # Security 65 - Please see the [security policy](./security.md) 66 - 67 - # Maintainers 68 - 69 - ## Releases 70 - We use [Semantic Versioning](https://semver.org/) for our version numbers. 71 - 72 - Given a version number `MAJOR.MINOR.PATCH`, increment the: 73 - - `MAJOR` version when you make incompatible API changes 74 - - `MINOR` version when you add functionality in a backward compatible manner 75 - - `PATCH` version when you make backward compatible bug fixes 76 - 77 - Additional labels for pre-release and build metadata are available as extensions to the `MAJOR.MINOR.PATCH` format.
···
-34
docs/legal/DCO.txt
··· 1 - Developer Certificate of Origin 2 - Version 1.1 3 - 4 - Copyright (C) 2004, 2006 The Linux Foundation and its contributors. 5 - 6 - Everyone is permitted to copy and distribute verbatim copies of this 7 - license document, but changing it is not allowed. 8 - 9 - 10 - Developer's Certificate of Origin 1.1 11 - 12 - By making a contribution to this project, I certify that: 13 - 14 - (a) The contribution was created in whole or in part by me and I 15 - have the right to submit it under the open source license 16 - indicated in the file; or 17 - 18 - (b) The contribution is based upon previous work that, to the best 19 - of my knowledge, is covered under an appropriate open source 20 - license and I have the right under that license to submit that 21 - work with modifications, whether created in whole or in part 22 - by me, under the same open source license (unless I am 23 - permitted to submit under a different license), as indicated 24 - in the file; or 25 - 26 - (c) The contribution was provided directly to me by some other 27 - person who certified (a), (b) or (c) and I have not modified 28 - it. 29 - 30 - (d) I understand and agree that this project and the contribution 31 - are public and that a record of the contribution (including all 32 - personal information I submit with it, including my sign-off) is 33 - maintained indefinitely and may be redistributed consistent with 34 - this project or the open source license(s) involved.
···
-67
docs/security.md
··· 1 - For the most up-to-date security policy, please see [matrixfurry.com/common](https://tangled.org/@matrixfurry.com/common/blob/main/docs/security.md). 2 - 3 - # Reporting 4 - Please report security issues via [SimpleX](https://smp18.simplex.im/a#Wc2x2IBqqwzgmeGkN0XtKrGMLBxFuxmoYgkTGgGgR0M) or [Email](mailto:shiloh@shilohfen.com). 5 - 6 - > If you want to send an encrypted email, my public key fingerprint is [DD7EB0BAA822169398828C45103DD5193B6A77CB](https://keys.openpgp.org/vks/v1/by-fingerprint/DD7EB0BAA822169398828C45103DD5193B6A77CB). 7 - 8 - Please do not report security issues on the project's issue tracker. 9 - 10 - # Commit signing 11 - 12 - Commit signing is optional but highly recommended. Once you make your first signed commit, all future commits must be signed. 13 - 14 - SSH signing is preferred over PGP signing. 15 - 16 - To enable signature verification, add your public key to your Tangled profile, and optionally the `.allowed_signers` file in the project's repo. 17 - 18 - Tangled profiles should be trusted over the repo's copy, excluding revoked keys. 19 - 20 - ## Setup 21 - Replace `<YOUR_KEY>` with the SSH key or keyfile you'd like to use (eg. `~/.ssh/id_ed25519`). 22 - 23 - Git: 24 - ```sh 25 - git config --global gpg.format ssh 26 - git config --global user.signingkey <YOUR_KEY> 27 - git config --global commit.gpgsign true 28 - ``` 29 - 30 - Jujutsu: 31 - ```sh 32 - jj config set --user signing.behavior own 33 - jj config set --user signing.backend ssh 34 - jj config set --user signing.key <YOUR_KEY> 35 - ``` 36 - 37 - Add the public key to your Tangled profile at https://tangled.org/settings/keys 38 - 39 - Optionally, add your public key to the repo's `.allowed_signers` file: 40 - - Git: `echo "$(git config user.email) $(cat ~/.ssh/id_ed25519.pub)" >> .allowed_signers` 41 - - Jujutsu: `echo "$(jj config get user.email) $(cat ~/.ssh/id_ed25519.pub)" >> .allowed_signers` 42 - 43 - ## Key Revocation 44 - Revoked keys are listed in `.revoked_keys` ([OpenSSH KRL](https://man.openbsd.org/ssh-keygen.1#KEY_REVOCATION_LISTS) format). Keys must never be reinstated or removed from this file. After a revocation, you must create a new key to continue contributing to the project. 45 - 46 - A key revocation must be signed by either: 47 - 1. The key being revoked 48 - - Anyone with access to the private key can create the revocation commit 49 - 50 - 2. A maintainer with proof of compromise 51 - - The maintainer must have significant evidence that the key has been compromised 52 - - The maintainer must attempt to reach out to the contributor to confirm 53 - - The commit message must provide details of why the key is being revoked 54 - 55 - ### Instructions 56 - 57 - Add the key to the `.revoked_keys` file: 58 - ```sh 59 - ssh-keygen -k -u -f .revoked_keys <PUBKEY.pub> 60 - ``` 61 - 62 - View the revoked keys: 63 - ```sh 64 - ssh-keygen -Q -l -f .revoked_keys 65 - ``` 66 - 67 - For more information, see the [ssh-keygen(1) manpage](https://man.openbsd.org/ssh-keygen.1#k)
···
-41
scripts/bottle.nu
··· 1 - #!/usr/bin/env nu 2 - # SPDX-License-Identifier: AGPL-3.0-only 3 - # SPDX-FileCopyrightText: MatrixFurry <did:plc:zmjoeu3stwcn44647rhxa44o> 4 - 5 - # TODO: Rewrite this in Ruby or Bash so CI doesn't have to install Nushell 6 - def main [ 7 - formula: string 8 - --token (-t): string # GitLab deploy token 9 - --verbose (-v) 10 - --no-rebuild (-r) 11 - ] { 12 - cd (mktemp -dt) 13 - 14 - let token = $token | default $env.DEPLOY_TOKEN? 15 - if ($token | is-empty) { 16 - error make { 17 - msg: "Either --token or $env.DEPLOY_TOKEN is required" 18 - } 19 - } 20 - 21 - mut bottle_args = [] 22 - mut install_args = [] 23 - 24 - if $verbose { 25 - $install_args ++= ["--verbose"] 26 - } 27 - 28 - if $no_rebuild { 29 - $bottle_args ++= ["--no-rebuild"] 30 - } 31 - 32 - let version = brew info $formula --json | from json | get versions.stable.0 33 - 34 - brew install --build-bottle --bottle-arch "x86-64-v3" ...$install_args $formula 35 - brew bottle --root-url $"https://gitlab.com/api/v4/projects/75293878/packages/generic/($formula)/($version)" --json ...$bottle_args $formula 36 - brew bottle --merge --json $"($formula)--($version).x86_64_linux.bottle.json" 37 - 38 - open --raw $"($formula)--($version).x86_64_linux.bottle.tar.gz" 39 - | into binary 40 - | http put --content-type application/gzip $"https://gitlab.com/api/v4/projects/75293878/packages/generic/($formula)/($version)/($formula)-($version).x86_64_linux.bottle.tar.gz" -H {DEPLOY-TOKEN: $token} 41 - }
···
-16
scripts/ci/bottle.sh
··· 1 - #!/usr/bin/env bash 2 - # SPDX-License-Identifier: AGPL-3.0-only 3 - # SPDX-FileCopyrightText: MatrixFurry <did:plc:zmjoeu3stwcn44647rhxa44o> 4 - 5 - set -euo pipefail 6 - 7 - export NONINTERACTIVE=1 8 - 9 - dnf install -y git nu procps-ng gcc-c++ 10 - 11 - bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 12 - eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" 13 - 14 - brew tap matrixfurry/atomicxr $PWD 15 - brew install nushell 16 - exec "$(dirname $0)/../bottle.nu" "$@"
···
-21
scripts/containerized-bottle.nu
··· 1 - #!/usr/bin/env nu 2 - # SPDX-License-Identifier: AGPL-3.0-only 3 - # SPDX-FileCopyrightText: MatrixFurry <did:plc:zmjoeu3stwcn44647rhxa44o> 4 - 5 - const tap_dir = path self .. 6 - 7 - def main --wrapped [ 8 - formula: string 9 - --keep-container (-r) # Don't remove the container after building 10 - ...args 11 - ] { 12 - if (jj status | lines | first) != "The working copy has no changes." { 13 - error make { 14 - msg: "Please commit your changes before building bottles." 15 - } 16 - } 17 - 18 - podman run ...( 19 - if not $keep_container {["--rm"]} 20 - ) -it -v $"($tap_dir):/homebrew-tap:ro,z" -w "/homebrew-tap" -e $"DEPLOY_TOKEN=($env.DEPLOY_TOKEN?)" fedora:42 scripts/ci/bottle.sh $formula ...$args 21 - }
···