summaryrefslogtreecommitdiff
path: root/homebrew/arxlibertatis/.beer
blob: f68b8cd39da9fd739a987a3e7c38ec8ac447e9ae (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
{
    "name": "ArxLibertatis",
    "description": "Cross-platform, open source port of Arx Fatalis",
    "url": "https://arx-libertatis.org/files/arx-libertatis-1.1.2.tar.xz",
    "mirror": null,
    "homepage": "https://arx-libertatis.org/",
    "depends": [
        {
            "depend": "boost",
            "build-depend": true
        },
        {
            "depend": "cmake",
            "build-depend": true
        },
        {
            "depend": "glm",
            "build-depend": true
        },
        {
            "depend": "freetype",
            "build-depend": false
        },
        {
            "depend": "glew",
            "build-depend": false
        },
        {
            "depend": "innoextract",
            "build-depend": false
        },
        {
            "depend": "sdl",
            "build-depend": false
        }
    ],
    "resource": [
        {
            "name": "arx-libertatis-data",
            "url": "https://github.com/arx/ArxLibertatisData.git"
        }
    ],
    "conflicts": [
        {
            "conflict": "rnv",
            "reason": "both install `arx` binaries"
        }
    ],
    "patches": [
        {
            "url": "https://github.com/arx/ArxLibertatis/commit/442ba4af978160abd3856a9daec38f5b6e213cb4.patch?full_index=1",
            "strip": "1"
        }
    ],
    "install": [
        "args = std_cmake_args",
        "if build.stable?",
        "inreplace \"src/platform/Time.cpp\", \"clock_t \", \"clockid_t \"",
        "inreplace \"src/core/Version.cpp.in\" do |s|",
        "s.gsub! \"${VERSION_COUNT}\", \"5\"",
        "s.gsub! \"${VERSION_2}\", \"10\"",
        "s.gsub! \"${VERSION_0}\", \"1.1.2\"",
        "s.gsub! \"${GIT_SUFFIX_5}\", \"+Homebrew-1\"",
        "s.gsub! \"${VERSION_4}\", \"Rhaa Movis\"",
        "end"
    ],
    "version": "1.1.2",
    "file": "arx-libertatis.rb"
}