File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ class Optivorbis < Formula
2+ desc "Lossless, format-preserving, two-pass optimization and repair of Vorbis data"
3+ homepage "https://optivorbis.github.io/OptiVorbis"
4+ url "https://github.com/OptiVorbis/OptiVorbis/archive/refs/tags/v0.3.0.tar.gz"
5+ sha256 "f1069b35fa24c9b73abb9a28859b84ad0accf968b8892b7a7825decc6c316cd3"
6+ license "AGPL-3.0-or-later"
7+ head "https://github.com/OptiVorbis/OptiVorbis.git" , branch : "master"
8+
9+ depends_on "rust" => :build
10+
11+ def install
12+ system "cargo" , "install" , *std_cargo_args ( path : "packages/optivorbis_cli" )
13+ pkgshare . install "packages/optivorbis/resources/test"
14+ end
15+
16+ test do
17+ cp pkgshare /"test/44100hz_500ms_6ch_sine_waves.ogg" , testpath
18+ system bin /"optivorbis" , "44100hz_500ms_6ch_sine_waves.ogg" , "out.ogg"
19+ assert_path_exists testpath /"out.ogg"
20+ end
21+ end
You can’t perform that action at this time.
0 commit comments