app-id: com.github.akiraux.akira
runtime: io.elementary.Platform
runtime-version: '6'
sdk: io.elementary.Sdk
command: com.github.akiraux.akira

finish-args:
  - '--share=ipc'
  - '--socket=fallback-x11'
  - '--socket=wayland'

  # needed for perfers-color-scheme
  - '--system-talk-name=org.freedesktop.Accounts'

  - '--filesystem=home'
  - '--device=dri'

modules:
  - name: goocanvas
    config-opts:
      - '--enable-python=no'
    build-options:
      make-install-args:
        - 'girdir=/app/share/gir-1.0'
        - 'typelibdir=/app/lib/girepository-1.0'
    sources:
      - type: git
        url: https://gitlab.gnome.org/GNOME/goocanvas
        branch: 'goocanvas-3.0'

  - name: akira
    buildsystem: meson
    sources:
      - type: dir
        path: .
