{
    "app-id" : "org.nickvision.money",
    "runtime" : "org.gnome.Platform",
    "runtime-version" : "45",
    "sdk" : "org.gnome.Sdk",
    "sdk-extensions": [
        "org.freedesktop.Sdk.Extension.dotnet8"
    ],
    "build-options": {
        "append-path": "/usr/lib/sdk/dotnet8/bin",
        "append-ld-library-path": "/usr/lib/sdk/dotnet8/lib",
        "append-pkg-config-path": "/usr/lib/sdk/dotnet8/lib/pkgconfig"
    },
    "command" : "org.nickvision.money",
    "finish-args":[
        "--socket=fallback-x11",
        "--socket=wayland",
        "--device=dri",
        "--share=ipc",
        "--share=network",
        "--filesystem=home"
    ],
    "cleanup":[
        "/include",
        "/lib/pkgconfig",
        "*.a"
    ],
    "modules" : [
        {
            "name": "blueprint-compiler",
            "buildsystem": "meson",
            "cleanup": [
                "*"
            ],
            "sources": [
                {
                    "type": "git",
                    "url": "https://gitlab.gnome.org/jwestman/blueprint-compiler",
                    "tag": "v0.10.0"
                }
            ]
        },        
        {
            "name": "org.nickvision.money",
            "buildsystem": "simple",
            "build-commands": [
                "chmod +x ./flatpak/build.sh",
                "./flatpak/build.sh gnome"
            ],
            "sources": [
                {
                    "type": "dir",
                    "path": ".."
                },
                "../NickvisionMoney.GNOME/nuget-sources.json"
            ]
        }
    ]
}
