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/ - chmod +x -R /app/bin/image/lib/ # make libs executable so xdg-open will work # 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