Skip to content

Commit

Permalink
Added dovi
Browse files Browse the repository at this point in the history
  • Loading branch information
saindriches committed Jan 23, 2024
1 parent b0cf517 commit 97b682e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Formula/dovi.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
class Dovi < Formula
desc "Library to read & write Dolby Vision metadata"
homepage "https://github.com/quietvoid/dovi_tool"
url "https://github.com/quietvoid/dovi_tool/archive/refs/tags/2.1.0.tar.gz"
sha256 "06b7332649959710ec00e25a9b4e4a88ee7766149726d6e2f60c3b5bb6292664"
license "MIT"
head "https://github.com/quietvoid/dovi_tool.git", branch: "main"

livecheck do
url :stable
regex(/^v?(\d+(?:\.\d+)+)$/i)
end

depends_on "rust" => :build

def install
cd "dolby_vision" do
system "cargo", "install", "cargo-c"
system "cargo", "cinstall", "--prefix=#{prefix}"
end
end
end

0 comments on commit 97b682e

Please sign in to comment.