org.gnome.Retro.DemoSamplesTest.json 2.51 KB
Newer Older
1
{
2 3 4 5 6 7
    "app-id" : "org.gnome.Retro.DemoSamplesTest",
    "runtime" : "org.gnome.Platform",
    "runtime-version" : "master",
    "sdk" : "org.gnome.Sdk",
    "command" : "retro-demo-samples-test",
    "tags" : [
8 9
        "devel",
        "development",
10 11
        "nightly"
    ],
12
    "desktop-file-name-suffix" : " (Development)",
13
    "finish-args" : [
14 15
        /* GTK+ Inspector access */
        "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
16
        /* X11 + XShm access */
17 18
        "--share=ipc",
        "--socket=x11",
19 20 21
        /* Wayland access */
        "--socket=wayland",
        /* PulseAudio access */
22 23
        "--device=dri",
        "--socket=pulseaudio"
24
    ],
25 26 27 28 29 30 31 32 33 34 35 36 37 38
    "cleanup" : [
        "/include",
        "/lib/pkgconfig",
        "/share/pkgconfig",
        "/share/aclocal",
        "/man",
        "/share/man",
        "/share/gtk-doc",
        "*.la",
        "*.a",
        "/lib/girepository-1.0",
        "/share/dbus-1",
        "/share/doc",
        "/share/gir-1.0"
39
    ],
40
    "modules" : [
41 42 43 44 45 46
        "libretro-cores/libretro-samples.json",
        /*
         * TODO Move this module after retro-gtk once GNOME Builder support
         * building modules after the one being edited.
         */
        {
47 48 49
            "name" : "retro-demo-samples-test",
            "buildsystem" : "simple",
            "build-commands" : [
50 51 52 53
                "mkdir -p /app/bin/",
                "install -m755 -pD retro-demo-samples-test /app/bin/retro-demo-samples-test",
                "install -m755 -pD org.gnome.Retro.DemoSamplesTest.desktop /app/share/applications/org.gnome.Retro.DemoSamplesTest.desktop"
            ],
54
            "sources" : [
55
                {
56 57
                    "type" : "script",
                    "commands" : [
58 59
                        "retro-demo /app/lib/libretro/test_libretro.so"
                    ],
60
                    "dest-filename" : "retro-demo-samples-test"
61 62
                },
                {
63 64 65
                    "type" : "file",
                    "path" : "org.gnome.Retro.DemoSamplesTest.desktop",
                    "dest-filename" : "org.gnome.Retro.DemoSamplesTest.desktop"
66 67 68 69
                }
            ]
        },
        {
70 71 72
            "name" : "retro-gtk",
            "buildsystem" : "meson",
            "builddir" : true,
73 74 75
            "config-opts" : [
                "--libdir=lib"
            ],
76
            "sources" : [
77
                {
78 79
                    "type" : "git",
                    "url" : "https://gitlab.gnome.org/GNOME/retro-gtk.git"
80 81 82 83 84
                }
            ]
        }
    ]
}