codes.nora.gDiceRoller-development.json 1.11 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",
Leonora Tindall's avatar
Leonora Tindall committed
10
    "tags" : [ "development" ],
11
12
13
14
15
16
17
18
    "desktop-file-name-suffix" : " ☢️",
    "finish-args" : [
        "--socket=x11",
        "--socket=wayland",
        "--device=dri"
    ],
    "build-options" : {
        "append-path" : "/usr/lib/sdk/rust-stable/bin",
Leonora Tindall's avatar
Leonora Tindall committed
19
        "build-args" : [],
20
        "env" : {
21
            "CARGO_HOME" : "/run/build/gRiceRoller/cargo",
22
23
24
25
26
27
            "RUSTFLAGS" : "--error-format=short --remap-path-prefix =../",
            "RUST_BACKTRACE" : "1"
        }
    },
    "modules" : [
        {
28
            "name" : "gDiceRoller",
29
30
31
32
33
34
35
            "buildsystem" : "simple",
            "build-commands": [
                "make",
                "make install PREFIX=/app" 
            ],
            "sources" : [
                {
36
37
                    "type" : "dir",
                    "path" : "../"
38
39
40
41
42
                }
            ]
        }
    ]
}