Files
flatpark/registry/com.github.zbcoding.Impasto/com.github.zbcoding.Impasto.yml
T

55 lines
2.1 KiB
YAML

id: com.github.zbcoding.Impasto
runtime: org.gnome.Platform
runtime-version: "50"
sdk: org.gnome.Sdk
command: impasto
separate-locales: false
build-options:
no-debuginfo: true
finish-args:
# Impasto is a self-contained .NET / GTK4 (libadwaita) app: the upstream zip
# bundles its own CoreCLR, so only libgtk-4, libadwaita, cairo, pango and ICU
# are resolved from the GNOME runtime.
- --share=ipc
- --socket=wayland
- --socket=fallback-x11
- --device=dri
# Printing (Image > Print) talks to the CUPS socket.
- --socket=cups
# No --share=network: Impasto is fully offline. Images are opened and saved
# through the file-chooser portal, which grants access to whatever the user
# picks; the three xdg dirs below just make the common defaults work without a
# portal round-trip. There is no static grant on $HOME.
- --filesystem=xdg-pictures
- --filesystem=xdg-documents
- --filesystem=xdg-download
modules:
- name: impasto
buildsystem: simple
build-commands:
- install -Dm755 apply_extra.sh /app/bin/apply_extra
- install -Dm755 impasto-wrapper /app/bin/impasto
- install -Dm644 com.github.zbcoding.Impasto.desktop /app/share/applications/com.github.zbcoding.Impasto.desktop
- install -Dm644 com.github.zbcoding.Impasto.metainfo.xml /app/share/metainfo/com.github.zbcoding.Impasto.metainfo.xml
- install -Dm644 com.github.zbcoding.Impasto.svg /app/share/icons/hicolor/scalable/apps/com.github.zbcoding.Impasto.svg
sources:
# BEGIN MANAGED EXTRA-DATA
- type: extra-data
filename: impasto.zip
only-arches:
- x86_64
url: https://github.com/zbcoding/ImpastoPaint/releases/download/v0.2.0/Impasto-linux-dotnet-10.0.x.zip
sha256: 704cef13a402e09d1d3cd6d717bd9cf58658a31b500014bce3eed2b06f62c4ee
size: 40990708
# END MANAGED EXTRA-DATA
- type: file
path: apply_extra.sh
- type: file
path: impasto-wrapper
- type: file
path: com.github.zbcoding.Impasto.desktop
- type: file
path: com.github.zbcoding.Impasto.metainfo.xml
- type: file
path: com.github.zbcoding.Impasto.svg