Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions libmmbd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

class DmgDownloadStrategy < NoUnzipCurlDownloadStrategy
def stage
mountpoint = "/Volumes/makemkv_v1.12.0"
output = `yes | hdiutil attach -nobrowse #{tarball_path}`
mountpoint = "/Volumes/makemkv_v1.12.3"
output = `yes | hdiutil attach -nobrowse #{cached_location}`
FileUtils.cp "#{mountpoint}/MakeMKV.app/Contents/lib/libmmbd.dylib", "libmmbd.dylib"
`hdiutil detach "#{mountpoint}"`
end
end


class Libmmbd < Formula
url "https://www.makemkv.com/download/makemkv_v1.12.0_osx.dmg", :using => DmgDownloadStrategy
url "https://www.makemkv.com/download/makemkv_v1.12.3_osx.dmg", :using => DmgDownloadStrategy
homepage "http://www.makemkv.com/download/"
version "1.12.0"
sha256 "9b43e950756553e5147c250bb39a6ef61a4b4aaca2a7828a221d49d127faf2f6"
version "1.12.3"
sha256 "682009477252bda4264f1216cf8d109e8abf1493a25431579c439fcc180ca3ae"

conflicts_with "libaacs", :because => "This formula implements libaacs as well as libbdplus"

Expand All @@ -24,4 +24,3 @@ def install
lib.install Dir["*.dylib"]
end
end