1{
2    "app-id" : "org.gnome.Fractal",
3    "runtime" : "org.gnome.Platform",
4    "runtime-version" : "3.36",
5    "sdk" : "org.gnome.Sdk",
6    "sdk-extensions" : [
7        "org.freedesktop.Sdk.Extension.rust-stable"
8    ],
9    "command" : "fractal",
10    "finish-args" : [
11        "--share=network",
12        "--share=ipc",
13        "--socket=x11",
14        "--socket=wayland",
15        "--socket=pulseaudio",
16        "--device=dri",
17        "--talk-name=org.freedesktop.secrets",
18        "--talk-name=org.freedesktop.Notifications",
19        "--filesystem=home"
20    ],
21    "build-options" : {
22        "append-path" : "/usr/lib/sdk/rust-stable/bin",
23        "build-args" : [
24            "--share=network"
25        ],
26        "env" : {
27            "CARGO_HOME" : "/run/build/Fractal/cargo",
28            "RUST_BACKTRACE" : "1"
29        }
30    },
31    "add-extensions": {
32        "org.freedesktop.Platform.ffmpeg-full": {
33            "directory": "lib/ffmpeg",
34            "version": "19.08",
35            "add-ld-path": "."
36        }
37    },
38    "cleanup-commands": [
39        "mkdir -p /app/lib/ffmpeg"
40    ],
41    "modules" : [
42        {
43            "name" : "libhandy",
44            "buildsystem" : "meson",
45            "config-opts" : [
46                "-Dprofiling=false",
47                "-Dintrospection=enabled",
48                "-Dgtk_doc=false",
49                "-Dtests=false",
50                "-Dexamples=false",
51                "-Dvapi=false",
52                "-Dglade_catalog=disabled"
53            ],
54            "sources" : [
55                {
56                    "type" : "git",
57                    "url" : "https://source.puri.sm/Librem5/libhandy",
58                    "tag" : "v0.0.13"
59                }
60            ]
61        },
62        {
63            "name" : "gspell",
64            "config-opts" : [
65                "--disable-gtk-doc",
66                "--disable-gtk-doc-html"
67            ],
68            "cleanup" : [
69                "/bin",
70                "/include",
71                "/lib/pkgconfig",
72                "*.la",
73                "/share"
74            ],
75            "sources" : [
76                {
77                    "type" : "archive",
78                    "url" : "https://download.gnome.org/sources/gspell/1.8/gspell-1.8.2.tar.xz",
79                    "sha256" : "bb9195c3a95bacf556d0203e9691f7489e0d3bc5ae1e5a440c89b2f2435d3ed6"
80                }
81            ]
82        },
83        {
84            "name" : "gst-editing-services",
85            "config-opts" : [
86                "--disable-Werror"
87            ],
88            "sources" : [
89                {
90                    "type" : "git",
91                    "url" : "https://gitlab.freedesktop.org/gstreamer/gst-editing-services.git",
92                    "tag" : "1.16.1"
93                }
94            ]
95        },
96        {
97            "name" : "Fractal",
98            "buildsystem" : "meson",
99            "config-opts" : [
100                "-Dprofile=default"
101            ],
102            "sources" : [
103                {
104                    "type" : "git",
105                    "branch" : "release-4.4.0",
106                    "url" : ".."
107                }
108            ]
109        }
110    ]
111}
112