summaryrefslogtreecommitdiffstats
path: root/pkg/linux/flatpak/fr.handbrake.HandBrakeCLI.json
blob: 6f560a47e8ee97a9078de86b733b1b51d5540cae (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
{
    "app-id": "fr.handbrake.HandBrakeCLI",
    "runtime": "org.gnome.Platform",
    "runtime-version": "3.20",
    "sdk": "org.gnome.Sdk",
    "command": "HandBrakeCLI",
    "finish-args": [
        /* Needs video */
        "--filesystem=xdg-videos",
        /* Home */
        "--filesystem=home"
    ],
    "modules": [
        {
            "name": "handbrake",
            "no-autogen": true,
            "config-opts": ["--flatpak", "--disable-gtk"],
            "builddir": true,
            "post-install": ["rm -rf /app/share"],
            "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"
                        }
                    ]
                }
            ]
        }
    ]
}