# yaml-language-server: $schema=https://raw.githubusercontent.com/flatpak/flatpak-builder/main/data/flatpak-manifest.schema.json

---
app-id: com.veilid.veilidchat
runtime: org.gnome.Platform
runtime-version: "45"
sdk: org.gnome.Sdk
command: veilidchat
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: VeilidChat
    buildsystem: simple
    only-arches:
      - x86_64
     #- aarch64
    build-commands:
      - "./build-flatpak.sh"
    sources:
      - type: dir
        path: ../build/linux/x64/release/
      - type: file
        path: build-flatpak.sh
      - type: file
        path: com.veilid.veilidchat.png
      - type: file
        path: com.veilid.veilidchat.desktop
      - type: file
        path: com.veilid.veilidchat.metainfo.xml
