| 1 | { |
| 2 | "id": "org.kde.gcompris", |
| 3 | "runtime": "org.kde.Platform", |
| 4 | "runtime-version": "6.10", |
| 5 | "sdk": "org.kde.Sdk", |
| 6 | "rename-icon": "gcompris-qt", |
| 7 | "command": "gcompris-qt", |
| 8 | "finish-args": [ |
| 9 | "--socket=pulseaudio", |
| 10 | "--share=ipc", |
| 11 | "--socket=x11", |
| 12 | "--socket=wayland", |
| 13 | "--share=network", |
| 14 | "--device=dri" |
| 15 | ], |
| 16 | "modules": [ |
| 17 | { |
| 18 | "name": "qt6-graphs", |
| 19 | "buildsystem": "cmake-ninja", |
| 20 | "sources": [ |
| 21 | { |
| 22 | "type": "git", |
| 23 | "url": "https://github.com/qt/qtgraphs.git", |
| 24 | "tag": "v6.10.1", |
| 25 | "commit": "b50b4e3b46940e5aa3cf31babb4ff1c9454ab473", |
| 26 | "x-checker-data": { |
| 27 | "type": "git", |
| 28 | "tag-pattern": "^v([\\d.]+)$", |
| 29 | "//": "make sure version matches kde runtime version of org.kde.Platform", |
| 30 | "versions": { |
| 31 | ">=": "v6.10", |
| 32 | "<": "v6.11" |
| 33 | } |
| 34 | } |
| 35 | } |
| 36 | ], |
| 37 | "post-install": [ |
| 38 | "install $FLATPAK_DEST/lib/*-linux-gnu/*.so $FLATPAK_DEST/lib/*-linux-gnu/*.so.* $FLATPAK_DEST/lib" |
| 39 | ] |
| 40 | }, |
| 41 | { |
| 42 | "name": "gcompris", |
| 43 | "buildsystem": "cmake", |
| 44 | "builddir": true, |
| 45 | "config-opts": [ |
| 46 | "-DCMAKE_BUILD_TYPE=RelWithDebInfo", |
| 47 | "-DQML_BOX2D_MODULE=submodule" |
| 48 | ], |
| 49 | "sources": [ |
| 50 | { |
| 51 | "type": "git", |
| 52 | "dest": "external/qml-box2d", |
| 53 | "url": "https://github.com/qml-box2d/qml-box2d.git", |
| 54 | "commit": "b7212d5640701f93f0cd88fbd3a32c619030ae62" |
| 55 | }, |
| 56 | { |
| 57 | "type": "dir", |
| 58 | "path": "." |
| 59 | } |
| 60 | ] |
| 61 | } |
| 62 | ] |
| 63 | } |