homebrew-cask/Casks/soundflower.rb

29 lines
1.1 KiB
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'soundflower' do
version '2.0b2'
sha256 '6b5e56d53238cf0f9075886aa40580634fc9d23368239f22eccebfd97c9f8e34'
url "https://github.com/mattingalls/Soundflower/releases/download/#{version}/Soundflower-#{version}.dmg"
2015-12-26 04:57:40 +08:00
appcast 'https://github.com/mattingalls/Soundflower/releases.atom',
checkpoint: '5782759ffb2d6994cb222c88476011dee82680de40bef5011adcc36df6cdca49'
2015-05-01 03:13:56 +08:00
name 'Soundflower'
homepage 'https://github.com/mattingalls/Soundflower'
2014-10-01 23:33:57 +08:00
license :oss
pkg 'Soundflower.pkg'
2015-11-14 07:17:56 +08:00
postflight do
system '/usr/bin/sudo', '-E', '--',
'/sbin/kextload', '-b', 'com.Cycling74.driver.Soundflower'
2014-02-03 22:55:59 +08:00
end
2014-11-22 22:12:46 +08:00
2015-11-14 07:17:56 +08:00
# early_script is a workaround for a slowly unloading kext, see private-eye Cask
uninstall early_script: {
executable: '/sbin/kextunload',
args: ['-b', 'com.Cycling74.driver.Soundflower'],
must_succeed: false,
},
pkgutil: 'com.cycling74.soundflower.*',
delete: '/Applications/Soundflower',
kext: 'com.Cycling74.driver.Soundflower'
end