app-id: io.github.JaredTweed.AudioToTextTranscriber runtime: org.gnome.Platform runtime-version: "50" sdk: org.gnome.Sdk command: audio-to-text-transcriber finish-args: - --share=network - --socket=wayland - --socket=fallback-x11 - --share=ipc - --device=dri - --filesystem=host cleanup: - /include - /lib/cmake - /lib/pkgconfig - /share/man - /bin/bench - /bin/main - /bin/vad-speech-segments - /bin/whisper-bench - /bin/whisper-server modules: - name: pyyaml buildsystem: simple build-commands: - pip3 install --prefix=/app --no-build-isolation --no-index . sources: - type: archive url: https://files.pythonhosted.org/packages/54/ed/79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17/pyyaml-6.0.2.tar.gz sha256: d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e x-checker-data: type: pypi name: PyYAML packagetype: sdist - name: whisper-cpp buildsystem: cmake-ninja config-opts: - -DCMAKE_BUILD_TYPE=Release - -DWHISPER_BUILD_TESTS=OFF - -DWHISPER_BUILD_EXAMPLES=ON - -DWHISPER_FFMPEG=ON sources: - type: git url: https://github.com/ggerganov/whisper.cpp.git tag: v1.7.6 commit: a8d002cfd879315632a579e73f0148d06959de36 post-install: - install -Dm755 models/download-ggml-model.sh /app/bin/download-ggml-model.sh cleanup: - "*.a" - "*.la" - name: audio-to-text-transcriber buildsystem: simple build-commands: - pip3 install --prefix=/app --no-build-isolation --no-index . sources: - type: dir path: .. skip: - .flatpak-builder - build-dir - repo - repo.zip - AudioToTextTranscriber.flatpak - AudioSamples - __pycache__ - "*.pyc" - src/audio_to_text_transcriber/whisper.cpp