{
    "app-id": "fr.handbrake.HandBrakeCLI",
    "runtime": "org.freedesktop.Platform",
    "runtime-version": "19.08",
    "sdk": "org.freedesktop.Sdk",
    "command": "HandBrakeCLI",
    "finish-args": [
        "--filesystem=host"
    ],
    "modules": [
        {
            "name": "numactl",
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/numactl/numactl/releases/download/v2.0.12/numactl-2.0.12.tar.gz",
                    "sha256": "55bbda363f5b32abd057b6fbb4551dd71323f5dbb66335ba758ba93de2ada729"
                }
            ]
        },
        {
            "name": "libass",
            "config-opts": ["--enable-asm", "--enable-harfbuzz",
                            "--enable-fontconfig"],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/libass/libass/releases/download/0.14.0/libass-0.14.0.tar.gz",
                    "sha256": "8d5a5c920b90b70a108007ffcd2289ac652c0e03fc88e6eecefa37df0f2e7fdf"
                }
            ]
        },
        {
            "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": [
            ]
        }
    ]
}

