summaryrefslogtreecommitdiff
path: root/org.gnome.Epiphany.Canary.json.in
blob: 17fc14086dd66c8e5362097ba381a9b368b5a55d (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
{
    "app-id" : "org.gnome.Epiphany.Canary",
    "runtime" : "org.webkit.Platform",
    "runtime-version" : "21.08",
    "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" : "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" : [
                "-Dbackends=gtk3",
                "-Dintrospection=false",
                "-Ddocs=false"
            ],
            "sources" : [
                {
                    "type" : "git",
                    "url" : "https://github.com/flatpak/libportal.git",
                    "tag" : "0.5"
                }
            ]
        },
        {
            "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",
                    "branch" : "main"
                }
            ]
        },
        {
            "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",
                        "export WEBKIT_GST_ENABLE_AUDIO_MIXER=1",
                        "exec epiphany \"$@\""
                    ]
                }
            ]
        }
    ]
}