also, update stable assembler to nasm

Closes #24400.

Signed-off-by: commitay <commitay@users.noreply.github.com>
This commit is contained in:
ilovezfs 2018-02-21 08:00:19 -08:00 committed by commitay
parent 8a794b2e22
commit 636fb8f0bc

View file

@ -1,14 +1,9 @@
class X265 < Formula
desc "H.265/HEVC encoder"
homepage "http://x265.org"
stable do
url "https://bitbucket.org/multicoreware/x265/downloads/x265_2.6.tar.gz"
sha256 "1bf0036415996af841884802161065b9e6be74f5f6808ac04831363e2549cdbf"
# build with nasm when >=2.7 is released
depends_on "yasm" => :build
end
url "https://bitbucket.org/multicoreware/x265/downloads/x265_2.7.tar.gz"
sha256 "d5e75fa62ffe6ed49e691f8eb8ab8c1634ffcc0725dd553c6fdb4d5443b494a2"
head "https://bitbucket.org/multicoreware/x265", :using => :hg
bottle do
cellar :any
@ -17,13 +12,8 @@ class X265 < Formula
sha256 "868310a95be1b8ad9e784a111fd41ec4a2ac4547f437e7cf5920f391dabdc454" => :el_capitan
end
head do
url "https://bitbucket.org/multicoreware/x265", :using => :hg
depends_on "nasm" => :build
end
depends_on "cmake" => :build
depends_on "nasm" => :build
depends_on :macos => :lion
def install