app-id: io.github.tobagin.karere runtime: org.gnome.Platform runtime-version: '49' sdk: org.gnome.Sdk command: karere finish-args: - --share=network - --share=ipc - --socket=fallback-x11 - --socket=wayland - --device=dri - --talk-name=org.kde.StatusNotifierWatcher - --filesystem=xdg-download - --filesystem=xdg-run/pipewire-0 # Audio for notification sounds and media - --socket=pulseaudio # Configure WebKit spell checker dictionary paths (bundled and runtime) - --env=WEBKIT_SPELL_CHECKER_DIR=/app/share/hunspell sdk-extensions: - org.freedesktop.Sdk.Extension.rust-stable add-extensions: org.freedesktop.Platform.ffmpeg-full: directory: lib/ffmpeg version: '25.08' add-ld-path: . cleanup-commands: - mkdir -p ${FLATPAK_DEST}/lib/ffmpeg cleanup: - /include - /lib/pkgconfig - /man - /share/doc - /share/gtk-doc - /share/man - /share/pkgconfig - '*.la' - '*.a' build-options: append-path: /usr/lib/sdk/rust-stable/bin env: CARGO_HOME: /run/build/karere/cargo modules: - name: hunspell-dictionaries buildsystem: simple build-commands: - mkdir -p /app/share/hunspell - | find . -type f \( -name "*.dic" -o -name "*.aff" \) ! -path "*/hyph_*" ! -path "*/.git/*" ! -path "*/util/*" | while read -r file; do filename=$(basename "$file") if [[ ! "$filename" =~ ^hyph_ ]]; then install -Dm644 "$file" "/app/share/hunspell/$filename" fi done sources: - type: archive url: https://github.com/LibreOffice/dictionaries/archive/refs/tags/libreoffice-26.2.0.1.zip sha256: e1ef5088fe903eac040b622df175b7a7230c4decfae9cc72c1a1377f0b9e7afd - name: fonts-noto-color-emoji buildsystem: simple build-commands: - install -Dm644 NotoColorEmoji.ttf /app/share/fonts/NotoColorEmoji.ttf sources: - type: file url: https://github.com/googlefonts/noto-emoji/raw/main/fonts/NotoColorEmoji.ttf sha256: 72a635cb3d2f3524c51620cdde406b217204e8a6a06c6a096ff8ed4b5fd6e27b dest-filename: NotoColorEmoji.ttf - name: karere buildsystem: meson sources: - type: git url: https://github.com/tobagin/karere tag: v2.0.9 - cargo-sources.json