|
| 1 | +{ |
| 2 | + "branch": "23.08", |
| 3 | + "build-options": { |
| 4 | + "arch": { |
| 5 | + "aarch64": { |
| 6 | + "cflags": "-O2 -march=armv8-a", |
| 7 | + "cxxflags": "-O2 -march=armv8-a" |
| 8 | + }, |
| 9 | + "x86_64": { |
| 10 | + "cflags": "-O2 -march=x86-64", |
| 11 | + "cxxflags": "-O2 -march=x86-64" |
| 12 | + } |
| 13 | + }, |
| 14 | + "cflags": "-O2", |
| 15 | + "cxxflags": "-O2" |
| 16 | + }, |
| 17 | + "build-runtime": true, |
| 18 | + "cleanup-platform": ["/share/man", "/share/doc"], |
| 19 | + "cleanup-platform-commands": ["ldconfig"], |
| 20 | + "id": "org.example.Sdk", |
| 21 | + "id-platform": "org.example.Platform", |
| 22 | + "inherit-extensions": [ |
| 23 | + "org.freedesktop.Platform.GL", |
| 24 | + "org.freedesktop.Platform.Timezones", |
| 25 | + "org.freedesktop.Platform.GStreamer" |
| 26 | + ], |
| 27 | + "metadata-platform": "metadata.platform", |
| 28 | + "modules": [ |
| 29 | + { |
| 30 | + "buildsystem": "autotools", |
| 31 | + "modules": [ |
| 32 | + { |
| 33 | + "buildsystem": "meson", |
| 34 | + "name": "sub-dependency", |
| 35 | + "skip-arches": ["i386"], |
| 36 | + "sources": [ |
| 37 | + { |
| 38 | + "branch": "main", |
| 39 | + "type": "git", |
| 40 | + "url": "https://gitlab.example.com/sub-dep.git" |
| 41 | + } |
| 42 | + ] |
| 43 | + } |
| 44 | + ], |
| 45 | + "name": "base-tools", |
| 46 | + "only-arches": ["x86_64", "aarch64"], |
| 47 | + "sources": [ |
| 48 | + { |
| 49 | + "sha256": "aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899", |
| 50 | + "type": "archive", |
| 51 | + "url": "https://example.com/base-tools-1.0.tar.xz" |
| 52 | + } |
| 53 | + ] |
| 54 | + }, |
| 55 | + { |
| 56 | + "buildsystem": "autotools", |
| 57 | + "name": "legacy-vcs-lib", |
| 58 | + "sources": [ |
| 59 | + { |
| 60 | + "type": "svn", |
| 61 | + "url": "svn://svn.example.com/repos/legacy-lib/trunk" |
| 62 | + } |
| 63 | + ] |
| 64 | + } |
| 65 | + ], |
| 66 | + "platform-extensions": ["org.example.Platform.Locale"], |
| 67 | + "prepare-platform-commands": ["rm -rf /usr/share/doc"], |
| 68 | + "runtime": "org.freedesktop.Platform", |
| 69 | + "runtime-version": "23.08", |
| 70 | + "sdk": "org.freedesktop.Sdk", |
| 71 | + "sdk-extensions": ["org.freedesktop.Sdk.Extension.rust-stable"], |
| 72 | + "writable-sdk": true |
| 73 | +} |
0 commit comments