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 # url: "https://github.com/dnutiu/ImageTagger/releases/download/v1.3/ImageTagger-linux-1.3.zip" # sha256: 0f086e6a738b3d59e3d05cce9174316d95886e50278c03e5b452a67fd264ea40 - type: file path: dev.nuculabs.ImageTagger.png - type: file path: dev.nuculabs.ImageTagger.desktop