{
    "app-id" : "com.github.Alcaro.Flips",
    "runtime" : "org.gnome.Platform",
    "runtime-version" : "master",
    "sdk" : "org.gnome.Sdk",
    "command" : "flips",
    "finish-args" : [
        /* X11 + XShm access */
        "--share=ipc",
        "--socket=fallback-x11",
        /* Wayland access */
        "--socket=wayland",
        /* OpenGL + DRI access */
        "--device=dri",
        /* Needed to save patched ROMs */
        "--filesystem=home",
        /* Needed to find the ROMs and patches */
        "--filesystem=host:ro"
    ],
    "modules" : [
        {
            "name" : "flips",
            "buildsystem" : "simple",
            "build-commands": [
                "sh make-linux.sh",
                "make install PREFIX=/app"
            ],
            "sources" : [
                {
                    "type" : "git",
                    "url" : "https://github.com/Alcaro/Flips.git",
                    "branch" : "master"
                }
            ]
        }
    ]
}
