summaryrefslogtreecommitdiff
path: root/org.gnome.Epiphany.Canary.json.in
blob: 17d4755f3c765b95c141542687ce30f93cb57f29 (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
{
    "app-id" : "org.gnome.Epiphany.Canary",
    "runtime" : "org.webkit.Platform",
    "runtime-version" : "0.3",
    "sdk" : "org.webkit.Sdk",
    "command" : "ephy-wrapper",
    "tags" : [
        "nightly"
    ],
    "desktop-file-name-suffix" : " (Canary)",
    "finish-args" : [
        "--device=dri",
        "--filesystem=/run/.heim_org.h5l.kcm-socket",
        "--filesystem=xdg-download",
        "--share=ipc",
        "--share=network",
        "--socket=fallback-x11",
        "--socket=pulseaudio",
        "--socket=wayland",
        "--system-talk-name=org.freedesktop.GeoClue2"
    ],
    "modules" : [
         {
            "name": "elementary-icons",
            "buildsystem": "meson",
            "sources": [
                {
                    "type": "git",
                    "url": "https://github.com/elementary/icons.git"
                }
            ],
            "modules": [
                {
                    "name": "xcursorgen",
                    "cleanup": [ "*" ],
                    "sources": [
                        {
                            "type": "git",
                            "url": "https://gitlab.freedesktop.org/xorg/app/xcursorgen.git",
                            "tag": "xcursorgen-1.0.7"
                        }
                    ]
                }
            ]
        },
        {
            "name": "elementary-stylesheet",
            "buildsystem": "meson",
            "sources": [
                {
                    "type": "git",
                    "url": "https://github.com/elementary/stylesheet.git"
                }
            ],
            "modules": [
                {
                    "name": "sassc",
                    "cleanup": [ "*" ],
                    "sources": [
                        {
                            "type": "git",
                            "url": "https://github.com/sass/sassc.git",
                            "tag": "3.6.1"
                        },
                        {
                            "type": "script",
                            "dest-filename": "autogen.sh",
                            "commands": [ "autoreconf -si" ]
                        }
                    ],
                    "modules": [
                        {
                            "name": "libsass",
                            "cleanup": [ "*" ],
                            "sources": [
                                {
                                    "type": "git",
                                    "url": "https://github.com/sass/libsass.git",
                                    "tag": "3.6.4"
                                },
                                {
                                    "type": "script",
                                    "dest-filename": "autogen.sh",
                                    "commands": [ "autoreconf -si" ]
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name" : "libdazzle",
            "buildsystem" : "meson",
            "config-opts" : [
                "-Dwith_vapi=false"
            ],
            "sources" : [
                {
                    "type" : "git",
                    "url" : "https://gitlab.gnome.org/GNOME/libdazzle.git"
                }
            ]
        },
        {
            "name" : "libportal",
            "buildsystem" : "meson",
            "config-opts" : [
                "-Dgtk_doc=false"
            ],
            "sources" : [
                {
                    "type" : "git",
                    "url" : "https://github.com/flatpak/libportal.git"
                }
            ]
        },
        {
            "name": "gcr",
            "buildsystem" : "meson",
            "config-opts" : [
                "-Dgtk_doc=false",
                "-Dintrospection=false",
                "-Dssh_agent=false"
            ],
            "sources" : [
                {
                    "type" : "git",
                    "url" : "https://gitlab.gnome.org/GNOME/gcr.git"
                }
            ]
        },
        {
            "name" : "json-glib",
            "buildsystem" : "meson",
            "sources" : [
                {
                    "type" : "git",
                    "url" : "https://gitlab.gnome.org/GNOME/json-glib.git"
                }
            ]
        },
        {
            "name": "libhandy",
            "buildsystem" : "meson",
            "config-opts" : [
                "-Dgtk_doc=false",
                "-Dvapi=false",
                "-Dtests=false",
                "-Dexamples=false",
                "-Dglade_catalog=disabled"
            ],
            "sources" : [
                {
                    "type" : "git",
                    "url" : "https://gitlab.gnome.org/GNOME/libhandy.git"
                }
            ]
        },
        {
            "name" : "webkitgtk",
            "buildsystem" : "simple",
            "build-commands" : [
                "cp -a lib/libjavascriptcore* /app/lib",
                "cp -a lib/libwebkit2gtk* /app/lib",
                "mkdir -p /app/libexec",
                "cp bin/WebKit*Process /app/libexec",
                "cp -r install/lib/pkgconfig /app/lib/",
                "sed -i 's;/app/webkit/WebKitBuild/Release/install;/app;g' /app/lib/pkgconfig/*.pc",
                "cp -r install/include /app/"
            ],
            "sources" : [
            ]
        },
        {
            "name" : "epiphany",
            "buildsystem" : "meson",
            "config-opts" : [
                "-Dprofile=Canary",
                "-Dsoup2=disabled"
            ],
            "sources" : [
                {
                    "type" : "git",
                    "url" : "https://gitlab.gnome.org/GNOME/epiphany.git",
                    "disable-shallow-clone" : true
                }
            ],
            "post-install" : [
                "sed -i 's;Exec=epiphany;Exec=ephy-wrapper;g' /app/share/applications/org.gnome.Epiphany.Canary.desktop"
            ]
        },
        {
            "name" : "ephy-wrapper",
            "buildsystem" : "simple",
            "build-commands" : [
                "install -m a+rx ephy-wrapper.sh /app/bin/ephy-wrapper"
            ],
            "sources" : [
                {
                    "type" : "script",
                    "dest-filename" : "ephy-wrapper.sh",
                    "commands" : [
                        "export WEBKIT_INJECTED_BUNDLE_PATH=/app/lib",
                        "export WEBKIT_EXEC_PATH=/app/libexec",
                        "exec epiphany \"$@\""
                    ]
                }
            ]
        }
    ]
}