codes.nora.gDiceRoller.json 1.19 KB
Newer Older
1
{
2
    "app-id" : "codes.nora.gDiceRoller",
3
    "runtime" : "org.gnome.Platform",
4
    "runtime-version" : "3.32",
5 6 7 8
    "sdk" : "org.gnome.Sdk",
    "sdk-extensions" : [
        "org.freedesktop.Sdk.Extension.rust-stable"
    ],
9
    "command" : "codes.nora.gDiceRoller",
10 11 12
    "finish-args" : [
        "--socket=x11",
        "--socket=wayland",
Leonora Tindall's avatar
Leonora Tindall committed
13 14
        "--device=dri",
        "--share=ipc"
15 16 17 18
    ],
    "build-options" : {
        "append-path" : "/usr/lib/sdk/rust-stable/bin",
        "env" : {
19
            "CARGO_HOME" : "/run/build/gRiceRoller/cargo",
20 21 22 23 24 25
            "RUSTFLAGS" : "--error-format=short --remap-path-prefix =../",
            "RUST_BACKTRACE" : "1"
        }
    },
    "modules" : [
        {
26
            "name" : "gDiceRoller",
27 28 29 30 31 32 33 34
            "buildsystem" : "simple",
            "build-commands": [
                "make",
                "make install PREFIX=/app" 
            ],
            "sources" : [
                {
                    "type" : "git",
35
                    "url" : "https://gitlab.gnome.org/NoraCodes/gDiceRoller.git",
36
                    "tag": "v1.1.3",
Leonora Tindall's avatar
Leonora Tindall committed
37
                    "commit": "57ad7d8cc886c8d9c838e665441e347d71637b1d"
38 39 40 41 42
                }
            ]
        }
    ]
}