excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / soundflower.rb
blob5ea2ae54d0fe5ae53c0ba2eb02257921d8999b03
1 cask "soundflower" do
2   version "2.0b2"
3   sha256 "6b5e56d53238cf0f9075886aa40580634fc9d23368239f22eccebfd97c9f8e34"
5   url "https://github.com/mattingalls/Soundflower/releases/download/#{version}/Soundflower-#{version}.dmg"
6   name "Soundflower"
7   homepage "https://github.com/mattingalls/Soundflower"
9   deprecate! date: "2024-11-16", because: :unmaintained
11   depends_on arch: :x86_64
13   pkg "Soundflower.pkg"
15   postflight do
16     system_command "/sbin/kextload",
17                    args: ["-b", "com.Cycling74.driver.Soundflower"],
18                    sudo: true
19   end
21   # early_script is a workaround for a slowly unloading kext, see private-eye Cask
22   uninstall early_script: {
23               executable:   "/sbin/kextunload",
24               args:         ["-b", "com.Cycling74.driver.Soundflower"],
25               must_succeed: false,
26             },
27             kext:         "com.Cycling74.driver.Soundflower",
28             pkgutil:      "com.cycling74.soundflower.*"
30   caveats do
31     kext
32   end
33 end