{
    "app-id" : "io.github.fsobolev.TimeSwitch",
    "runtime" : "org.gnome.Platform",
    "runtime-version" : "44",
    "sdk" : "org.gnome.Sdk",
    "command" : "timeswitch",
    "finish-args" : [
        "--share=ipc",
        "--socket=fallback-x11",
        "--device=dri",
        "--socket=wayland",
        "--talk-name=org.freedesktop.Flatpak",
        "--talk-name=org.gnome.SessionManager",
        "--system-talk-name=org.freedesktop.login1",
        "--socket=pulseaudio"
    ],
    "cleanup" : [
        "/include",
        "/lib/pkgconfig",
        "/man",
        "/share/doc",
        "/share/gtk-doc",
        "/share/man",
        "/share/pkgconfig",
        "*.la",
        "*.a"
    ],
    "modules" : [
        {
            "name": "gsound",
            "buildsystem": "meson",
            "sources": [
                {
                    "type": "git",
                    "url": "https://gitlab.gnome.org/GNOME/gsound.git",
                    "tag": "1.0.3",
                    "commit": "95d36d60cf53e0e7c5d5325e0f1f4fc765a611ae"
                }
            ],
            "modules": [
                {
                    "name": "libcanberra",
                    "sources": [
                        {
                            "type": "archive",
                            "url": "http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz",
                            "sha256": "c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72"
                        }
                    ],
                    "config-opts": [
                        "--disable-alsa",
                        "--disable-null",
                        "--disable-oss"
                    ]
                }
            ]
        },
        {
            "name": "sound-theme-freedesktop",
            "sources": [
                {
                    "type": "archive",
                    "url": "http://people.freedesktop.org/~mccann/dist/sound-theme-freedesktop-0.8.tar.bz2",
                    "sha256": "cb518b20eef05ec2e82dda1fa89a292c1760dc023aba91b8aa69bafac85e8a14"
                }
            ],
            "modules": [
                {
                    "name": "intltool",
                    "cleanup": [ "*" ],
                    "sources": [
                        {
                            "type": "archive",
                            "url": "https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz",
                            "sha256": "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd"
                        }
                    ]
                }
            ]
        },
        {
            "name" : "timeswitch",
            "builddir" : true,
            "buildsystem" : "meson",
            "sources" : [
                {
                    "type" : "dir",
                    "path" : "."
                }
            ]
        }
    ]
}