app-id: io.github.simonschubert.YogaBase runtime: org.freedesktop.Platform runtime-version: '24.08' sdk: org.freedesktop.Sdk command: yogabase-wrapper finish-args: - --socket=x11 - --socket=wayland - --share=ipc - --device=dri - --socket=pulseaudio - --persist=.yogabase - --persist=.java modules: - name: yogabase buildsystem: simple build-commands: # Extract and install the application - tar xf YogaBase-linux-x86_64.tar.gz - mkdir -p /app/lib/yogabase - cp -r YogaBase/* /app/lib/yogabase/ # Install wrapper script - install -Dm755 yogabase-wrapper.sh /app/bin/yogabase-wrapper # Install desktop file - install -Dm644 io.github.simonschubert.YogaBase.desktop /app/share/applications/io.github.simonschubert.YogaBase.desktop # Install metainfo - install -Dm644 io.github.simonschubert.YogaBase.metainfo.xml /app/share/metainfo/io.github.simonschubert.YogaBase.metainfo.xml # Install icons - install -Dm644 icon.svg /app/share/icons/hicolor/scalable/apps/io.github.simonschubert.YogaBase.svg - install -Dm644 icon.png /app/share/icons/hicolor/512x512/apps/io.github.simonschubert.YogaBase.png sources: - type: file url: https://github.com/SimonSchubert/YogaBase/releases/download/v0.1.0/YogaBase-0.1.0-linux-x86_64.tar.gz sha256: 0000000000000000000000000000000000000000000000000000000000000000 dest-filename: YogaBase-linux-x86_64.tar.gz x-checker-data: type: json url: https://api.github.com/repos/SimonSchubert/YogaBase/releases/latest version-query: .tag_name | sub("^v"; "") url-query: .assets[] | select(.name | test("linux-x86_64\\.tar\\.gz$")) | .browser_download_url - type: file path: io.github.simonschubert.YogaBase.desktop - type: file path: io.github.simonschubert.YogaBase.metainfo.xml - type: file path: ../composeApp/icon.svg - type: file path: ../composeApp/icon.png - type: script dest-filename: yogabase-wrapper.sh commands: - export PATH="/app/lib/yogabase/bin:${PATH}" - export LD_LIBRARY_PATH="/app/lib/yogabase/lib/runtime/lib:${LD_LIBRARY_PATH}" - exec /app/lib/yogabase/bin/YogaBase "$@"