summaryrefslogtreecommitdiff
path: root/homebrew/jsonglib/.beer
blob: ff3ea47e93ca2f1e980d8bd6f7da2212786d5d43 (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
{
    "name": "JsonGlib",
    "description": "Library for JSON, based on GLib",
    "url": "https://download.gnome.org/sources/json-glib/1.4/json-glib-1.4.4.tar.xz",
    "mirror": null,
    "homepage": "https://wiki.gnome.org/Projects/JsonGlib",
    "depends": [
        {
            "depend": "gobject-introspection",
            "build-depend": true
        },
        {
            "depend": "meson-internal",
            "build-depend": true
        },
        {
            "depend": "ninja",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "glib",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [
        {
            "url": null,
            "data": [
                "diff --git a/meson.build b/meson.build\n",
                "index cee6389..50808cf 100644\n",
                "--- a/meson.build\n",
                "+++ b/meson.build\n",
                "@@ -145,14 +145,6 @@ if host_system == 'linux'\n",
                "   endforeach\n",
                " endif\n",
                "\n",
                "-# Maintain compatibility with autotools\n",
                "-if host_system == 'darwin'\n",
                "-  common_ldflags += [\n",
                "-    '-compatibility_version 1',\n",
                "-    '-current_version @0@.@1@'.format(json_binary_age - json_interface_age, json_interface_age),\n",
                "-  ]\n",
                "-endif\n",
                "-\n",
                " root_dir = include_directories('.')\n",
                "\n",
                " gnome = import('gnome')\n"
            ]
        }
    ],
    "install": [
        "ENV.refurbish_args",
        "mkdir \"build\" do",
        "system \"meson\", \"--prefix=#{prefix}\", \"..\"",
        "system \"ninja\"",
        "system \"ninja\", \"install\""
    ],
    "version": "1.4.4",
    "file": "json-glib.rb"
}