summaryrefslogtreecommitdiff
path: root/homebrew/theora/.beer
blob: b9234e7fb0541e8cf26f510dd81a1df5e576a47c (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
47
48
49
50
51
52
{
    "name": "Theora",
    "description": "Open video compression format",
    "url": "https://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2",
    "mirror": null,
    "homepage": "https://www.theora.org/",
    "depends": [
        {
            "depend": "autoconf",
            "build-depend": true
        },
        {
            "depend": "automake",
            "build-depend": true
        },
        {
            "depend": "libtool",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "libogg",
            "build-depend": false
        },
        {
            "depend": "libvorbis",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "cp Dir[\"#{Formula[\"libtool\"].opt_share}/libtool/*/config.{guess,sub}\"], buildpath",
        "system \"./autogen.sh\" if build.head?",
        "args = %W[",
        "--disable-dependency-tracking",
        "--prefix=#{prefix}",
        "--disable-oggtest",
        "--disable-vorbistest",
        "--disable-examples",
        "]",
        "args << \"--disable-asm\" if build.head?",
        "system \"./configure\", *args",
        "system \"make\", \"install\""
    ],
    "version": "1.1.1",
    "file": "theora.rb"
}