{ "id": "dev.edfloreshz.Calculator", "runtime": "org.freedesktop.Platform", "runtime-version": "24.08", "sdk": "org.freedesktop.Sdk", "sdk-extensions": [ "org.freedesktop.Sdk.Extension.rust-stable", "org.freedesktop.Sdk.Extension.llvm18" ], "command": "cosmic-ext-calculator", "finish-args": [ "--share=ipc", "--socket=fallback-x11", "--socket=wayland", "--device=dri", "--talk-name=com.system76.CosmicSettingsDaemon", "--filesystem=xdg-config/cosmic:ro" ], "build-options": { "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm18/bin", "env": { "CARGO_HOME": "/run/build/calculator/cargo", "CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER": "clang", "CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS": "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold", "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER": "clang", "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS": "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold" } }, "modules": [ { "name": "calculator", "buildsystem": "simple", "build-commands": [ "cargo build --release --verbose", "install -Dm0755 ./target/release/cosmic-ext-calculator -t /app/bin/", "install -Dm644 ./res/icons/hicolor/scalable/apps/icon.svg /app/share/icons/hicolor/scalable/apps/dev.edfloreshz.Calculator.svg", "install -Dm644 ./res/metainfo.xml /app/share/metainfo/dev.edfloreshz.Calculator.metainfo.xml", "install -Dm644 ./res/app.desktop /app/share/applications/dev.edfloreshz.Calculator.desktop" ], "sources": [ { "type": "dir", "path": "./" } ] } ] }