aboutsummaryrefslogtreecommitdiff
path: root/flatpak/content/io.gitlab.LibreWolf.json
blob: 2871030e6c057e5e5b36308e04660eb765874eda (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
{
    "app-id": "io.gitlab.LibreWolf",
    "runtime": "org.gnome.Platform",
    "runtime-version": "3.38",
    "sdk": "org.gnome.Sdk",
    "command": "librewolf",
    "rename-desktop-file": "LibreWolf.desktop",
    "rename-appdata-file": "LibreWolf.appdata.xml",
    "rename-icon": "io.gitlab.LibreWolf",
    "modules": [
        "flatpak/content/shared-modules/dbus-glib/dbus-glib-0.110.json",
        {
            "name": "librewolf",
            "buildsystem": "simple",
            "build-commands": [
                "mkdir -p /app/share && mv librewolf -t /app/share",
                "mv share/appdata /app/share",
                "mv share/applications /app/share",
                "mv share/icons /app/share",
                "mv share/metainfo /app/share",
                "mkdir -p /app/bin && ln -s /app/share/librewolf/librewolf /app/bin/"
            ],
            "sources": [
                {
                    "type": "dir",
                    "path": "flatpak/source"
                }
            ]
        }
    ],
    "finish-args": [
        "--share=ipc",
        "--socket=wayland",
        "--socket=fallback-x11",
        "--socket=pcsc",
        "--socket=pulseaudio",
        "--persist=.librewolf",
        "--persist=.mozilla",
        "--filesystem=xdg-download:rw",
        "--device=dri",
        "--filesystem=~/.config/dconf:ro",
        "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
        "--talk-name=org.freedesktop.FileManager1",
        "--system-talk-name=org.freedesktop.NetworkManager",
        "--talk-name=org.a11y.Bus",
        "--talk-name=org.gnome.SessionManager",
        "--talk-name=org.freedesktop.ScreenSaver",
        "--talk-name=org.gtk.vfs.*",
        "--socket=session-bus",
        "--env=MOZ_ENABLE_WAYLAND=1",
        "--share=network"
    ]
}
bgstack15