summaryrefslogtreecommitdiff
path: root/homebrew/mame/.beer
blob: eaf69d057f386198e0f9f4414ae7ecab74aed516 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
    "name": "Mame",
    "description": "Multiple Arcade Machine Emulator",
    "url": "https://github.com/mamedev/mame/archive/mame0205.tar.gz",
    "mirror": null,
    "homepage": "https://mamedev.org/",
    "depends": [
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "sphinx-doc",
            "build-depend": true
        },
        {
            "depend": "flac",
            "build-depend": false
        },
        {
            "depend": "jpeg",
            "build-depend": false
        },
        {
            "depend": "lua",
            "build-depend": false
        },
        {
            "depend": "macos",
            "build-depend": false
        },
        {
            "depend": "portaudio",
            "build-depend": false
        },
        {
            "depend": "portmidi",
            "build-depend": false
        },
        {
            "depend": "sdl2",
            "build-depend": false
        },
        {
            "depend": "sqlite",
            "build-depend": false
        },
        {
            "depend": "utf8proc",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "inreplace \"scripts/src/osd/sdl.lua\", \"--static\", \"\"",
        "ENV.append \"CPPFLAGS\", \"-I#{Formula[\"lua\"].opt_include}/lua\"",
        "system \"make\", \"USE_LIBSDL=1\",",
        "\"USE_SYSTEM_LIB_EXPAT=1\",",
        "\"USE_SYSTEM_LIB_ZLIB=1\",",
        "\"USE_SYSTEM_LIB_JPEG=1\",",
        "\"USE_SYSTEM_LIB_FLAC=1\",",
        "\"USE_SYSTEM_LIB_LUA=1\",",
        "\"USE_SYSTEM_LIB_SQLITE3=1\",",
        "\"USE_SYSTEM_LIB_PORTMIDI=1\",",
        "\"USE_SYSTEM_LIB_PORTAUDIO=1\",",
        "\"USE_SYSTEM_LIB_UTF8PROC=1\"",
        "bin.install \"mame64\" => \"mame\"",
        "cd \"docs\" do",
        "system \"make\", \"text\"",
        "doc.install Dir[\"build/text/*\"]",
        "system \"make\", \"man\"",
        "man1.install \"build/man/MAME.1\" => \"mame.1\""
    ],
    "version": "0205",
    "file": "mame.rb"
}