summaryrefslogtreecommitdiff
path: root/homebrew/pc6001vx/.beer
blob: 46c9afab9f4e0948351ff2e4adc910227ca9fa7d (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
{
    "name": "Pc6001vx",
    "description": "PC-6001 emulator",
    "url": "http://eighttails.up.seesaa.net/bin/PC6001VX_3.0.0_src.tar.gz",
    "mirror": null,
    "homepage": "http://eighttails.seesaa.net/",
    "depends": [
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "ffmpeg",
            "build-depend": false
        },
        {
            "depend": "qt",
            "build-depend": false
        },
        {
            "depend": "sdl2",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "ENV.append_to_cflags \"-I#{Formula[\"sdl2\"].opt_include}\"",
        "ENV.append_to_cflags \"-I#{Formula[\"ffmpeg\"].opt_include}\"",
        "ENV.append_to_cflags \"-Wno-reserved-user-defined-literal\"",
        "ENV.append_to_cflags \"-stdlib=libc++\" if ENV.compiler == :clang",
        "system \"qmake\", \"PREFIX=#{prefix}\", \"QMAKE_CXXFLAGS=#{ENV.cxxflags}\", \"CONFIG+=c++11\"",
        "system \"make\"",
        "prefix.install \"PC6001VX.app\"",
        "bin.write_exec_script \"#{prefix}/PC6001VX.app/Contents/MacOS/PC6001VX\""
    ],
    "version": "6001",
    "file": "pc6001vx.rb"
}