org.mobsya.ThymioSuite.json 3.89 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
{
    "app-id": "org.mobsya.ThymioSuite",
    "runtime": "org.kde.Platform",
    "sdk": "org.kde.Sdk",
    "runtime-version": "5.12",
    "finish-args": [
        "--socket=x11",
        "--socket=wayland",
        "--share=network",
        "--device=all",
        "--share=ipc",
Corentin Jabot's avatar
Corentin Jabot committed
12
13
        "--system-talk-name=org.freedesktop.Avahi",
        "--talk-name=org.kde.StatusNotifierWatcher",
Michael Bonani's avatar
Michael Bonani committed
14
15
        "--env=TMPDIR=/var/tmp",
		"--filesystem=home"
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
    ],
    "command": "thymio-launcher",
    "modules": [
        {
            "name": "avahi",
            "sources": [
                {
                    "type": "git",
                    "url": "https://github.com/lathiat/avahi"
                }
            ],
            "buildsystem" : "autotools",
            "config-opts": [
                "--with-distro=none",
                "--disable-qt4",
                "--disable-gtk3",
                "--disable-gtk",
                "--disable-mono",
                "--disable-autoipd",
                "--disable-python",
                "--disable-doxygen-doc",
                "--enable-compat-libdns_sd",
                "--disable-gdbm",
                "--disable-libdaemon",
                "--disable-libevent",
                "--disable-manpages",
                "--with-systemdsystemunitdir=/app/lib/systemd"
Corentin Jabot's avatar
Corentin Jabot committed
43
44
45
            ],
            "cleanup": [
                "/bin", "/include", "*.a", "/lib/pkgconfig", "/lib/avahi",  "/lib/girepository-1.0"
46
47
48
49
50
51
52
            ]
        },
        {
            "name": "boost",
            "sources": [
                {
                    "type": "archive",
53
54
                    "url":  "http://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.gz",
                    "sha256": "c66e88d5786f2ca4dbebb14e06b566fb642a1a6947ad8cc9091f9f445134143f"
55
56
57
58
59
                }
            ],
            "buildsystem": "simple",
            "build-commands": [
                "./bootstrap.sh",
60
                "./b2 install --prefix=/app/ variant=release link=static threading=multi --with-filesystem --with-atomic --with-thread --with-chrono --with-system --with-date_time --with-regex --with-serialization --with-program_options -j 4"
61
62
            ],
            "cleanup": [
63
                "/lib/", "/lib/debug", "/include", ""
64
65
66
            ]
        },
        {
Corentin Jabot's avatar
Corentin Jabot committed
67
            "name": "ThymioSuite",
68
69
            "buildsystem": "cmake-ninja",
            "config-opts": [
70
71
72
73
74
75
                "-DCMAKE_BUILD_TYPE=Release",
                "-DFLAT_PACK_BUILD=ON",
                "-DBOOST_ROOT=/app",
                "-DBOOST_LIBRARYDIR=/app/lib",
                "-DBOOST_INCLUDEDIR=/app/include",
                "-DBoost_DETAILED_FAILURE_MSG=ON"
76
77
78
79
80
            ],
            "sources": [
                {
                    "type": "dir",
                    "path": "../"
Corentin Jabot's avatar
Corentin Jabot committed
81
82
83
                },
                {
                    "type": "archive",
Michael Bonani's avatar
Michael Bonani committed
84
85
                    "url": "https://github.com/Mobsya/thymio-blockly-standalone/releases/download/v20200416.2/thymio-blockly.tar.gz",
                    "sha256": "2bf1f110c421ba4fb66c8eab60126d5b87acb06e042234735dc4c38deaf037cf",
Corentin Jabot's avatar
Corentin Jabot committed
86
87
88
89
                    "strip-components": 0
                },
                {
                    "type": "archive",
Michael Bonani's avatar
Michael Bonani committed
90
91
                    "url": "https://github.com/Mobsya/scratch-gui/releases/download/v20200505.1/scratch-gui.tar.gz",
                    "sha256": "3a08716ef8d05c25b9997f719c56e107ec9a39f75067bb4f385040b597d564fe",
Corentin Jabot's avatar
Corentin Jabot committed
92
                    "strip-components": 0
93
                }
Corentin Jabot's avatar
Corentin Jabot committed
94
            ],
Corentin Jabot's avatar
Corentin Jabot committed
95
            "post-install": [
96
                "install -D --target-directory /app/share/mobsya/Playground/  aseba/targets/playground/examples/*"
Corentin Jabot's avatar
Corentin Jabot committed
97
            ],
Corentin Jabot's avatar
Corentin Jabot committed
98
99
100
101
102
103
            "cleanup": [
                "/bin/flatc",
                "*.a",
                "/lib/cmake",
                "/include",
                "/share/enki",
104
                "/share/enki"
105
106
107
108
109
110
111
            ]
        }
    ],
    "build-options": {
        "strip": true
    }
}