app-id: com.tcs.taskflow runtime: org.gnome.Platform runtime-version: "49" sdk: org.gnome.Sdk sdk-extensions: - org.freedesktop.Sdk.Extension.rust-stable - org.freedesktop.Sdk.Extension.node22 command: taskflow finish-args: - --socket=wayland - --socket=fallback-x11 - --device=dri - --share=ipc - --share=network - --filesystem=home modules: - name: taskflow-local buildsystem: simple build-options: append-path: /usr/lib/sdk/node22/bin:/usr/lib/sdk/rust-stable/bin build-commands: # Binary - install -Dm755 src-tauri/target/release/taskflow /app/bin/taskflow # Metadata - install -Dm644 com.tcs.taskflow.desktop /app/share/applications/com.tcs.taskflow.desktop - install -Dm644 com.tcs.taskflow.metainfo.xml /app/share/metainfo/com.tcs.taskflow.metainfo.xml # Icons - | for size in 128x128 256x256; do install -Dm644 src-tauri/icons/icon.png /app/share/icons/hicolor/$size/apps/com.tcs.taskflow.png done - install -Dm644 src-tauri/icons/icon.png /app/share/icons/hicolor/scalable/apps/com.tcs.taskflow.svg sources: - type: file path: "com.tcs.taskflow.desktop" - type: file path: "com.tcs.taskflow.metainfo.xml" - type: dir path: "../src-tauri/icons" dest: "src-tauri/icons" - type: dir path: "../src-tauri/target/release" dest: "src-tauri/target/release" cleanup: - /share/man