{
    "app-id" : "sm.puri.Handy.Glade",
    "runtime" : "org.gnome.Platform",
    "runtime-version" : "master",
    "sdk" : "org.gnome.Sdk",
    "command" : "glade",
    "rename-desktop-file" : "org.gnome.Glade.desktop",
    "rename-appdata-file" : "org.gnome.Glade.appdata.xml",
    "rename-icon" : "org.gnome.Glade",
    "copy-icon" : true,
    "desktop-file-name-suffix" : " (Handy Nightly)",
    "finish-args" : [
        /* X11 + XShm access */
        "--share=ipc", "--socket=fallback-x11",
        /* Wayland access */
        "--socket=wayland",
        /* We want full fs access so we can read the files */
        "--filesystem=host",
        /* Support GL widgets */
        "--device=dri"
    ],
    "cleanup" : ["/include", "/lib/pkgconfig",
                "/share/pkgconfig", "/share/aclocal",
                "/man", "/share/man", "/share/gtk-doc",
                "/share/vala",
                "*.la", "*.a"],
    "modules" : [
        {
            "name" : "gnome-common",
            "sources" : [
                {
                    "type" : "git",
                    "url" : "https://gitlab.gnome.org/GNOME/gnome-common.git"
                }
            ]
        },
        {
            "name" : "intltool",
            "sources" : [
                {
                    "type" : "git",
                    "url" : "https://gitlab.gnome.org/World/intltool.git"
                }
            ]
        },
        {
            "name" : "glade",
            "config-opts": [
                "--disable-man-pages",
                "--disable-introspection"
            ],
            "sources" : [
                {
                    "type" : "git",
                    "url" : "https://gitlab.gnome.org/GNOME/glade.git",
                    "tag" : "GLADE_3_36_0"
                },
                {
                    "type" : "patch",
                    "path" : "rename-id.patch"
                }
            ]
        },
        {
            "name" : "libhandy",
            "buildsystem" : "meson",
            "builddir" : true,
            "config-opts" : [
                "-Dexamples=false",
                "-Dglade_catalog=enabled",
                "-Dintrospection=disabled",
                "-Dtests=false",
                "-Dvapi=false"
            ],
            "sources" : [
                {
                    "type" : "git",
                    "url" : "https://gitlab.gnome.org/GNOME/libhandy.git"
                }
            ]
        }
    ]
}
