diff --git a/distro/flatpak/io.fortressia.Echidna.yml b/distro/flatpak/io.fortressia.Echidna.yml new file mode 100644 index 0000000..398c0a9 --- /dev/null +++ b/distro/flatpak/io.fortressia.Echidna.yml @@ -0,0 +1,63 @@ +app-id: io.fortressia.Echidna +runtime: org.gnome.Platform +runtime-version: '41' +sdk: org.gnome.Sdk +sdk-extensions: + - org.freedesktop.Sdk.Extension.rust-stable +command: echidna + +finish-args: + # Wayland access + - --socket=wayland + # X11 + XShm access + - --share=ipc + - --socket=x11 + - --socket=fallback-x11 + # Render with OpenGL + - --device=dri + # Network access (uncomment this when extension support have came) + # - --share=network +cleanup: + - '/include': +modules: + # Install libvte-gtk4 and libsourceview5 as they are not available in the GNOME runtime yet. + # - name: libvte + # buildsystem: meson + # config-opts: + # - "-Db_lto=false" + # - "-Dgtk3=false" + # - "-Dgtk4=true" + # sources: + # - type: git + # url: https://gitlab.gnome.org/GNOME/vte.git + # tag: 0.66.2 + # + # Uncomment this when terminal support is implemented + - name: libsourceview + buildsystem: meson + sources: + - type: git + url: https://gitlab.gnome.org/GNOME/gtksourceview.git + tag: 5.3.0 + - name: echidna + buildsystem: simple + build-commands: + - source /usr/lib/sdk/rust-stable/enable.sh && cargo build --release + - install -D target/release/echidna /app/bin/echidna + build-options: + build-args: + - --share=network + sources: + - type: git + # Use GitHub to avoid stressing Ariadne's infra. + # url: https://github.com/EchidnaHQ/Echidna/ + branch: feat/flatpak + path: ../../ + - name: echidna-assets + buildsystem: simple + build-commands: + - install -d /app/share/applications + - install -D io.fortressia.Echidna.desktop /app/share/applications/ + sources: + - type: file + path: ../io.fortressia.Echidna.desktop \ No newline at end of file