# yaml-language-server: $schema=https://raw.githubusercontent.com/flatpak/flatpak-builder/main/data/flatpak-manifest.schema.json app-id: io.github.d0dg3r.GitSyncMarksApp runtime: org.freedesktop.Platform runtime-version: "25.08" sdk: org.freedesktop.Sdk sdk-extensions: - org.freedesktop.Sdk.Extension.llvm20 command: gitsyncmarks_app separate-locales: false finish-args: - --share=ipc - --socket=fallback-x11 - --socket=wayland - --device=dri - --socket=pulseaudio - --share=network - --talk-name=org.freedesktop.secrets modules: - name: GitSyncMarksApp buildsystem: simple build-options: arch: x86_64: env: BUNDLE_PATH: build/linux/x64/release/bundle aarch64: env: BUNDLE_PATH: build/linux/arm64/release/bundle append-path: /usr/lib/sdk/llvm20/bin:/var/lib/flutter/bin prepend-ld-library-path: /usr/lib/sdk/llvm20/lib env: PUB_CACHE: /run/build/GitSyncMarksApp/.pub-cache build-commands: - setup-flutter.sh - flutter build linux --release --no-pub - install -D $BUNDLE_PATH/gitsyncmarks_app /app/bin/gitsyncmarks_app - cp -r $BUNDLE_PATH/lib /app/bin/lib - cp -r $BUNDLE_PATH/data /app/bin/data - install -Dm644 assets/images/app_icon.png /app/share/icons/hicolor/128x128/apps/io.github.d0dg3r.GitSyncMarksApp.png - install -Dm644 flatpak/io.github.d0dg3r.GitSyncMarksApp.desktop -t /app/share/applications/ - install -Dm644 flatpak/io.github.d0dg3r.GitSyncMarksApp.metainfo.xml -t /app/share/metainfo/ sources: - type: dir path: .. - generated/sources/pubspec.json modules: - generated/modules/flutter-sdk-3.41.2.json