{ "branch": "23.08", "build-options": { "arch": { "aarch64": { "cflags": "-O2 -march=armv8-a", "cxxflags": "-O2 -march=armv8-a" }, "x86_64": { "cflags": "-O2 -march=x86-64", "cxxflags": "-O2 -march=x86-64" } }, "cflags": "-O2", "cxxflags": "-O2" }, "build-runtime": true, "cleanup-platform": ["/share/man", "/share/doc"], "cleanup-platform-commands": ["ldconfig"], "id": "org.example.Sdk", "id-platform": "org.example.Platform", "inherit-extensions": [ "org.freedesktop.Platform.GL", "org.freedesktop.Platform.Timezones", "org.freedesktop.Platform.GStreamer" ], "metadata-platform": "metadata.platform", "modules": [ { "buildsystem": "autotools", "modules": [ { "buildsystem": "meson", "name": "sub-dependency", "skip-arches": ["i386"], "sources": [ { "branch": "main", "type": "git", "url": "https://gitlab.example.com/sub-dep.git" } ] } ], "name": "base-tools", "only-arches": ["x86_64", "aarch64"], "sources": [ { "sha256": "aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899", "type": "archive", "url": "https://example.com/base-tools-1.0.tar.xz" } ] }, { "buildsystem": "autotools", "name": "legacy-vcs-lib", "sources": [ { "type": "svn", "url": "svn://svn.example.com/repos/legacy-lib/trunk" } ] } ], "platform-extensions": ["org.example.Platform.Locale"], "prepare-platform-commands": ["rm -rf /usr/share/doc"], "runtime": "org.freedesktop.Platform", "runtime-version": "23.08", "sdk": "org.freedesktop.Sdk", "sdk-extensions": ["org.freedesktop.Sdk.Extension.rust-stable"], "writable-sdk": true }