blob: 3f37f8063b1455515af04e7efe2168cfbbe1ccbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
require 'formula'
class Libbluray < Formula
homepage 'http://www.videolan.org/developers/libbluray.html'
url 'ftp://ftp.videolan.org/pub/videolan/libbluray/0.4.0/libbluray-0.4.0.tar.bz2'
sha1 '39984aae77efde2e0917ed7e183ebf612813d7f3'
head do
url 'git://git.videolan.org/libbluray.git'
depends_on :automake => :build
depends_on :autoconf => :build
depends_on :libtool => :build
end
depends_on 'pkg-config' => :build
depends_on :freetype => :recommended
# Upstream patch for freetype 2.5.1+
def patches; DATA; end
def install
ENV.libxml2
system "./bootstrap" if build.head?
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make"
system "make install"
end
end
__END__
diff --git a/src/libbluray/decoders/textst_render.c b/src/libbluray/decoders/textst_render.c
index 780b640..ffcb1bd 100644
--- a/src/libbluray/decoders/textst_render.c
+++ b/src/libbluray/decoders/textst_render.c
@@ -30,7 +30,7 @@
#ifdef HAVE_FT2
#include <ft2build.h>
#include FT_FREETYPE_H
-#include <freetype/ftsynth.h>
+#include FT_SYNTHESIS_H
#endif
#include "textst_render.h"
|