ImageTagger/flatpak/dev.nuculabs.ImageTagger.yaml

36 lines
1.2 KiB
YAML
Raw Normal View History

2024-05-03 15:39:30 +00:00
id: dev.nuculabs.ImageTagger
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: /app/bin/image/bin/ImageTagger
finish-args:
# X11 + XShm access
- --share=ipc
- --socket=fallback-x11
# Wayland access
- --socket=wayland
# GPU acceleration if needed
- --device=dri
# Needs to save files locally
- --filesystem=xdg-pictures
modules:
- name: ImageTagger
buildsystem: simple
build-commands:
- mkdir -p /app/bin/image/
- cp -R bin /app/bin/image/
- cp -R lib /app/bin/image/
- cp -R conf /app/bin/image/
- cp -R legal /app/bin/image/
- cp -R release /app/bin/image/
# Desktop Integration
- mkdir -p bin /app/share/{applications,icons/hicolor/64x64/apps,metainfo}
- mv ${FLATPAK_ID}.desktop /app/share/applications/${FLATPAK_ID}.desktop
- mv ${FLATPAK_ID}.png /app/share/icons/hicolor/64x64/apps/${FLATPAK_ID}.png
sources:
- type: archive
path: ../img-ui/build/distributions/ImageTagger-linux.zip
- type: file
path: dev.nuculabs.ImageTagger.png
- type: file
path: dev.nuculabs.ImageTagger.desktop