summaryrefslogtreecommitdiffstats
path: root/pkg/linux/flatpak/fr.handbrake.ghb.json
blob: 34f578350b91b30eaef4d8c1aa412407c5b559cd (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
{
    "app-id": "fr.handbrake.ghb",
    "runtime": "org.gnome.Platform",
    "runtime-version": "3.20",
    "sdk": "org.gnome.Sdk",
    "command": "ghb",
    "finish-args": [
        /* X11 + XShm access */
        "--share=ipc", "--socket=x11",
        /* Wayland access */
        "--socket=wayland",
        /* Needed for dconf to work */
        "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
        "--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
        /* Needs video */
        "--filesystem=xdg-videos",
        /* Home */
        "--filesystem=home"
    ],
    "modules": [
        {
            "name": "handbrake",
            "no-autogen": true,
            "config-opts": ["--flatpak"],
            "builddir": true,
            "post-install": ["rm /app/bin/HandBrakeCLI"],
            "sources": [
                {
                    "type": "archive",
                    "path": "handbrake.tar.bz2",
                    "strip-components": 1
                },
                {
                    "type": "archive",
                    "path": "download.tgz",
                    "strip-components": 0
                }
            ]
        }
    ]
}