XR packaging for Fedora Atomic
0
fork

Configure Feed

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

wayvr-dashboard: use prebuilt binary

I have spent 5 hours trying to get Homebrew GTK to work without any
luck, so this is the solution for now.

Shiloh Fen 04270764 61a2e9bd

+7 -30
+7 -30
Formula/wayvr-dashboard.rb
··· 3 3 class WayvrDashboard < Formula 4 4 desc "Launch desktop applications and games within VR (wlx-overlay-s addon)" 5 5 homepage "https://oo8.dev/wayvr_dashboard" 6 - url "https://github.com/olekolek1000/wayvr-dashboard/archive/refs/tags/0.3.6.tar.gz" 7 - sha256 "c921c8c126f17db384788310cf66bc3fae0d93a16ef0a9779daeaddb9558c7d8" 6 + url "https://github.com/olekolek1000/wayvr-dashboard/releases/download/0.3.6/wayvr-dashboard" 7 + sha256 "33294727f2cea0a7db0fb1fb4ce3ea5fb34806d83baef4f229137c8d330dacda" 8 8 license "MIT" 9 + revision 1 9 10 10 - depends_on "dbus" => :build 11 - depends_on "gdk-pixbuf" => :build 12 - depends_on "glib" => :build 13 - depends_on "libffi" => :build 14 - depends_on "libxkbcommon" => :build 15 - depends_on "npm" => :build 16 - depends_on "pcre2" => :build 17 - depends_on "python" => :build 18 - depends_on "rust" => :build 19 - depends_on "util-linux" => :build 20 - depends_on "webkitgtk" => :build 21 - depends_on "zlib" => :build 22 - depends_on "gtk+3" 23 - depends_on "libsoup" 24 - depends_on :linux 25 - depends_on "xorg-server" 26 - depends_on "xkeyboard-config" 27 - depends_on "wlx-overlay-s" => :optional 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. 28 13 29 14 def install 30 - system "npm", "ci", "--cache=#{HOMEBREW_CACHE}/npm_cache" 31 - system "npm", "run", "tauri", "build" 32 - 33 - bin.install "#{buildpath}/src-tauri/target/release/wayvr-dashboard" 15 + bin.install "wayvr-dashboard" 34 16 end 35 17 36 18 def caveats 37 - <<~EOF 38 - xkeyboard-config must be fully linked for WayVR Dashboard to work properly. 39 - 40 - If the xorg-server formula is installed, please use `brew unlink xkeyboard-config; 41 - brew link xkeyboard-config --overwrite` to ensure it's fully linked. 42 - EOF 19 + "WayVR Dashboard has been installed from a prebuilt binary" 43 20 end 44 21 45 22 test do