bento4 1.5.0-615 (new formula)
Closes #15721. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
288178cfb9
commit
151970046d
1 changed files with 21 additions and 0 deletions
21
Formula/bento4.rb
Normal file
21
Formula/bento4.rb
Normal file
|
@ -0,0 +1,21 @@
|
|||
class Bento4 < Formula
|
||||
desc "Full-featured MP4 format and MPEG DASH library and tools"
|
||||
homepage "https://www.bento4.com/"
|
||||
url "https://github.com/axiomatic-systems/Bento4/archive/v1.5.0-615.tar.gz"
|
||||
version "1.5.0-615"
|
||||
sha256 "109d48b75e7ba34d5a0cb98346c098d9e0d29d58b6bc27b90014dbc558a491a4"
|
||||
|
||||
conflicts_with "gpac", :because => "both install `mp42ts` binaries"
|
||||
|
||||
def install
|
||||
cd "Build/Targets/any-gnu-gcc" do
|
||||
system "make", "AP4_BUILD_CONFIG=Release"
|
||||
bin.install Dir["Release/*"].select { |f| File.executable?(f) }
|
||||
end
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/mp4mux", "--track", test_fixtures("test.m4a"), "out.mp4"
|
||||
assert_predicate testpath/"out.mp4", :exist?, "Failed to create out.mp4!"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue