Files
poncho-wonky-flatpak/nz.scuttlebutt.Patchwork.yaml
kawaiipunk dc7918ad88 Add Flatpak packaging for Patchwork 5.4.0
Bundle Poncho Wonky (Patchwork 5.4.0) for x86_64 and aarch64 on the
24.08 freedesktop runtime with the Electron BaseApp. Launcher forces
Wayland when a socket is present so the app starts from terminals
outside the desktop session. Pinned versions and checksums live in
versions.sh and are validated by check-versions.sh.
2026-08-13 01:04:39 +02:00

53 lines
1.8 KiB
YAML

app-id: nz.scuttlebutt.Patchwork
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '24.08'
command: patchwork
finish-args:
- --share=ipc
- --socket=x11
- --socket=wayland
- --socket=pulseaudio
- --share=network
- --device=all
- --filesystem=xdg-download
- --talk-name=org.freedesktop.Notifications
modules:
- name: patchwork
buildsystem: simple
build-commands:
- mv app /app/Patchwork
- install -Dm755 patchwork.sh /app/bin/patchwork
- |
install -Dm644 /app/Patchwork/resources/app/assets/nz.scuttlebutt.Patchwork.desktop \
/app/share/applications/nz.scuttlebutt.Patchwork.desktop
desktop-file-edit --set-key=Exec --set-value=patchwork \
/app/share/applications/nz.scuttlebutt.Patchwork.desktop
- |
install -Dm644 /app/Patchwork/resources/app/assets/512x512.png \
/app/share/icons/hicolor/512x512/apps/nz.scuttlebutt.Patchwork.png
- |
install -Dm644 nz.scuttlebutt.Patchwork.metainfo.xml \
/app/share/metainfo/nz.scuttlebutt.Patchwork.metainfo.xml
sources:
- type: archive
url: https://github.com/soapdog/patchwork/releases/download/v5.4.0/ponchowonky-5.4.0.tar.gz
sha256: 15b147f35381b4e3bd1a7b5b3b9bfe924c6427c65e5ff72c25209ddf93141e7a
dest: app
only-arches:
- x86_64
- type: archive
url: https://github.com/soapdog/patchwork/releases/download/v5.4.0/ponchowonky-5.4.0-arm64.tar.gz
sha256: c78bb91f12c55bc72d68ff8a4e90a162eefd55010d2686443a23de808901f70b
dest: app
only-arches:
- aarch64
- type: file
path: patchwork.sh
- type: file
path: nz.scuttlebutt.Patchwork.metainfo.xml