app-id: de.djini.commonist default-branch: stable runtime: org.freedesktop.Platform runtime-version: '22.08' sdk: org.freedesktop.Sdk sdk-extensions: - org.freedesktop.Sdk.Extension.openjdk8 command: de.djini.commonist finish-args: - --share=network - --filesystem=xdg-download - --filesystem=xdg-pictures - --filesystem=xdg-documents - --filesystem=xdg-config/commonist:create - --filesystem=xdg-cache/commonist:create - --filesystem=xdg-data/commonist:create - --socket=wayland - --socket=x11 - --share=ipc modules: - name: openjdk buildsystem: simple build-commands: - /usr/lib/sdk/openjdk8/install.sh - name: Commonist buildsystem: simple sources: - type: archive url: https://djini.de/commonist/commonist-1.10.0.zip sha256: 011020293bf35ba01e1d58778b0a4ba840436f3b87a0e42062a9fd2c854cd43c - type: file path: de.djini.commonist.svg - type: file path: de.djini.commonist - type: file path: de.djini.commonist.metainfo.xml - type: file path: de.djini.commonist.desktop build-commands: - install -Dm755 de.djini.commonist ${FLATPAK_DEST}/bin/de.djini.commonist - install -d lib/ ${FLATPAK_DEST}/lib/ - find lib -type f -exec install -Dm644 {} ${FLATPAK_DEST}/lib/ \; - install -Dm644 de.djini.commonist.svg /app/share/icons/hicolor/scalable/apps/de.djini.commonist.svg - install -Dm644 de.djini.commonist.desktop /app/share/applications/de.djini.commonist.desktop - install -Dm644 de.djini.commonist.metainfo.xml /app/share/metainfo/de.djini.commonist.metainfo.xml - ln -s /app/jre/bin/java /app/bin/java