app-id: wtf.tonho.omniget runtime: org.gnome.Platform runtime-version: '48' sdk: org.gnome.Sdk sdk-extensions: - org.freedesktop.Sdk.Extension.rust-stable - org.freedesktop.Sdk.Extension.node20 command: omniget finish-args: - --share=ipc - --share=network - --socket=fallback-x11 - --socket=wayland # Voice needs the audio socket, and the chat's screen-share audio reads the # default sink's monitor directly — the ScreenCast portal carries video only. # Screen capture itself needs no extra permission: the portal hands over a # file descriptor, which is the whole point of asking through the portal. - --socket=pulseaudio - --socket=pipewire - --device=dri - --filesystem=xdg-download - --filesystem=xdg-videos - --filesystem=xdg-music - --talk-name=org.freedesktop.Notifications - --talk-name=org.kde.StatusNotifierWatcher - --talk-name=org.freedesktop.FileManager1 build-options: append-path: /usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/node20/bin env: CARGO_HOME: /run/build/omniget/cargo npm_config_nodedir: /usr/lib/sdk/node20 cleanup: - /include - /lib/pkgconfig - /lib/*.la - /share/man modules: - name: intltool cleanup: - '*' sources: - type: archive url: https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz sha256: 67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd - name: libayatana-appindicator buildsystem: cmake-ninja config-opts: - -DENABLE_BINDINGS_MONO=NO - -DENABLE_BINDINGS_VALA=NO - -DENABLE_GTKDOC=NO modules: - name: libdbusmenu buildsystem: autotools build-options: cflags: -Wno-error config-opts: - --with-gtk=3 - --disable-dumper - --disable-static - --disable-tests - --disable-gtk-doc - --enable-introspection=no - --disable-vala sources: - type: archive url: https://launchpad.net/libdbusmenu/16.04/16.04.0/+download/libdbusmenu-16.04.0.tar.gz sha256: b9cc4a2acd74509435892823607d966d424bd9ad5d0b00938f27240a1bfa878a - type: patch path: 0001-Fix-HAVE_VALGRIND-AM_CONDITIONAL.patch - name: ayatana-ido buildsystem: cmake-ninja config-opts: - -DENABLE_INTROSPECTION=OFF sources: - type: git url: https://github.com/AyatanaIndicators/ayatana-ido.git tag: '0.10.4' commit: f968079b09e2310fefc3fc307359025f1c74b3eb - type: patch path: 0001-Make-introspection-configurable.patch - name: libayatana-indicator buildsystem: cmake-ninja sources: - type: git url: https://github.com/AyatanaIndicators/libayatana-indicator.git tag: '0.9.4' commit: 611bb384b73fa6311777ba4c41381a06f5b99dad sources: - type: git url: https://github.com/AyatanaIndicators/libayatana-appindicator.git tag: '0.5.94' commit: 31e8bb083b307e1cc96af4874a94707727bd1e79 - name: ffmpeg buildsystem: autotools config-opts: - --disable-doc - --disable-debug - --enable-gpl - --enable-shared - --disable-static sources: - type: archive url: https://ffmpeg.org/releases/ffmpeg-7.1.tar.xz sha256: 40973d44970dbc83ef302b0609f2e74982be2d85916dd2ee7472d30678a7abe6 cleanup: - /share/ffmpeg - name: yt-dlp buildsystem: simple build-commands: - install -Dm755 yt-dlp /app/bin/yt-dlp sources: - type: file url: https://github.com/yt-dlp/yt-dlp/releases/download/2026.02.04/yt-dlp sha256: f244941f771c922ffb63d64e17b8762d364b067f38a3caad60386496b3d226f7 dest-filename: yt-dlp only-arches: - x86_64 - type: file url: https://github.com/yt-dlp/yt-dlp/releases/download/2026.02.04/yt-dlp_linux_aarch64 sha256: 6b83f090768a9d428456b7998a5b8fc1c628895647df2763f54f9552601b732e dest-filename: yt-dlp only-arches: - aarch64 - name: omniget buildsystem: simple build-options: env: npm_config_cache: /run/build/omniget/flatpak-node/npm-cache build-commands: - npm install --offline - npx vite build - cargo --offline build --release --manifest-path src-tauri/Cargo.toml - install -Dm755 src-tauri/target/release/omniget /app/bin/omniget - install -Dm644 flatpak/wtf.tonho.omniget.desktop /app/share/applications/wtf.tonho.omniget.desktop - install -Dm644 flatpak/wtf.tonho.omniget.metainfo.xml /app/share/metainfo/wtf.tonho.omniget.metainfo.xml - install -Dm644 flatpak/wtf.tonho.omniget.png /app/share/icons/hicolor/128x128/apps/wtf.tonho.omniget.png sources: - type: dir path: .. - cargo-sources.json - node-sources.json