# Flathub manifest for heap. — DRAFT. # # Build/test locally BEFORE opening the Flathub PR: # flatpak install flathub org.kde.Platform//6.9 org.kde.Sdk//6.9 # flatpak-builder --user --install --force-clean build-dir \ # packaging/flatpak/io.github.sectapunterx.heap.yaml # flatpak run io.github.sectapunterx.heap # # Then submit: fork github.com/flathub/flathub (branch `new-pr`), add this repo, # open a PR. See docs/DISTRIBUTION.md. # # TODO before PR: # - Browser OAuth needs Qt 6.9 (KDE runtime 6.9); on 6.8 it stubs out to PAT. # - If post-install paths fail, prefix with the source-checkout root. # (Screenshots already wired to docs/assets/img/screens/* in the .metainfo.xml.) id: io.github.sectapunterx.heap runtime: org.kde.Platform runtime-version: '6.9' sdk: org.kde.Sdk command: heap finish-args: - --share=ipc - --share=network - --socket=wayland - --socket=fallback-x11 - --device=dri - --filesystem=xdg-documents - --filesystem=xdg-download # Store integration tokens in the OS keyring via the Secret Service portal # (QtKeychain → libsecret). Without it, SecretStore falls back to secrets.json. - --talk-name=org.freedesktop.secrets cleanup: - /include - /lib/cmake - /lib/pkgconfig - '*.a' modules: # QtKeychain isn't in the KDE runtime — build it so SecretStore can use the # OS keyring (libsecret is provided by the runtime). If dropped, heap still # builds and falls back to a private secrets.json. - name: qtkeychain buildsystem: cmake-ninja config-opts: - -DCMAKE_BUILD_TYPE=Release - -DBUILD_WITH_QT6=ON - -DBUILD_TEST_APPLICATION=OFF - -DQTKEYCHAIN_STATIC=OFF sources: - type: git url: https://github.com/frankosterfeld/qtkeychain.git tag: '0.15.0' - name: heap buildsystem: cmake-ninja config-opts: - -DCMAKE_BUILD_TYPE=Release - -DHEAP_BUILD_TESTS=OFF sources: - type: git url: https://github.com/sectapunterx/heap.git tag: v0.5.0 commit: 67a79b4122e82a966a43ba177d25bb7114bfc1e2 # install(TARGETS heap RUNTIME DESTINATION bin) puts the binary in /app/bin. # The desktop/icon/metainfo are shipped under the app-id name, as Flathub # requires. post-install: - install -Dm644 packaging/flatpak/io.github.sectapunterx.heap.desktop /app/share/applications/io.github.sectapunterx.heap.desktop - install -Dm644 packaging/flatpak/io.github.sectapunterx.heap.metainfo.xml /app/share/metainfo/io.github.sectapunterx.heap.metainfo.xml - install -Dm644 design/brand-export/icon/heap-icon.svg /app/share/icons/hicolor/scalable/apps/io.github.sectapunterx.heap.svg