svt-av1: only build with `yasm` on intel and use bz2 tarball

Closes #113773.

Signed-off-by: Bo Anderson <mail@boanderson.me>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Michael Cho 2022-10-22 04:36:45 -07:00 committed by BrewTestBot
parent f89c687eac
commit 4a29060243
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 7 additions and 5 deletions

View File

@ -1,8 +1,8 @@
class SvtAv1 < Formula
desc "AV1 encoder"
homepage "https://gitlab.com/AOMediaCodec/SVT-AV1"
url "https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v1.3.0/SVT-AV1-v1.3.0.tar.gz"
sha256 "841408b92c7b09957340112775369ea6fa763eaf4a8c10974cfa48f33c47a122"
url "https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v1.3.0/SVT-AV1-v1.3.0.tar.bz2"
sha256 "f85fd13ef16880550e425797bdfdf1b0ba310c21d6b343f74ea79dd2fbb2336e"
license "BSD-3-Clause"
head "https://gitlab.com/AOMediaCodec/SVT-AV1.git", branch: "master"
@ -16,10 +16,12 @@ class SvtAv1 < Formula
end
depends_on "cmake" => :build
depends_on "make" => :build
depends_on "yasm" => :build
resource("homebrew-testvideo") do
on_intel do
depends_on "yasm" => :build
end
resource "homebrew-testvideo" do
url "https://github.com/grusell/svt-av1-homebrew-testdata/raw/main/video_64x64_yuv420p_25frames.yuv"
sha256 "0c5cc90b079d0d9c1ded1376357d23a9782a704a83e01731f50ccd162e246492"
end