homebrew-core/Formula/libass.rb
Kevin Richter 6ce429b729 libass: add optional harfbuzz dep
Refer to this thread:
https://github.com/mpv-player/mpv/issues/1365
tldr: I had spacing issues with japanese characters in mpv and they were fixed by recompiling libass with harfbuzz

Closes Homebrew/homebrew#35096.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-12 21:51:23 -05:00

27 lines
770 B
Ruby

require 'formula'
class Libass < Formula
homepage 'https://github.com/libass/libass'
url 'https://github.com/libass/libass/releases/download/0.12.1/libass-0.12.1.tar.gz'
sha1 'ddf61cf8e15fea7825667580b207d46fe34bd4ac'
bottle do
cellar :any
sha1 "8e9905cdb32977625f493b809371bf402d201f75" => :yosemite
sha1 "a17cdbc03fcb4a4e59da362dedbcc8f0dbdae286" => :mavericks
sha1 "d6040252dce55cf05bc1c7765877d25fadea81f4" => :mountain_lion
end
depends_on 'pkg-config' => :build
depends_on 'yasm' => :build
depends_on 'freetype'
depends_on 'fribidi'
depends_on 'fontconfig'
depends_on 'harfbuzz' => :optional
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
end