summaryrefslogtreecommitdiffstats
path: root/pkg/linux/flatpak/fr.handbrake.ghb.json
blob: 0ab180c1fd18c2c0cd65b4c895daca3827f767ba (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
{
    "app-id": "fr.handbrake.ghb",
    "runtime": "org.gnome.Platform",
    "runtime-version": "3.28",
    "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
                }
            ],
            "modules": [
                {
                    "name": "nasm",
                    "cleanup": ["*"],
                    "sources": [
                        {
                            "type": "archive",
                            "url": "http://www.nasm.us/pub/nasm/releasebuilds/2.13.02/nasm-2.13.02.tar.xz",
                            "sha256": "8ac3235f49a6838ff7a8d7ef7c19a4430d0deecc0c2d3e3e237b5e9f53291757"
                        }
                    ]
                }
            ]
        }
    ]
}