Files
VoelinClient/packaging/flatpak/io.github.faumaray.TsClient.yml
T
Claude fa9e626c5b flatpak: libclang from the llvm20 SDK extension
The package-flatpak job failed in bindgen (the PipeWire bindings):
the Freedesktop SDK has no libclang. Add the llvm20 extension and point
LIBCLANG_PATH at it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
2026-09-26 20:07:14 +00:00

61 lines
2.3 KiB
YAML

# Flatpak manifest for the desktop app. See packaging/README.md for how to
# build it. The app id is a placeholder until the product has a name.
id: io.github.faumaray.TsClient
runtime: org.freedesktop.Platform
runtime-version: "25.08"
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
# libclang for bindgen (the PipeWire bindings); the SDK has none.
- org.freedesktop.Sdk.Extension.llvm20
command: tsc-desktop
finish-args:
- --share=network
- --share=ipc
# Wayland, with X11 only where there is no Wayland session.
- --socket=wayland
- --socket=fallback-x11
# GPU for video decoding and rendering.
- --device=dri
# Microphone and speakers (the PulseAudio API, served by PipeWire on
# current desktops).
- --socket=pulseaudio
# PipeWire for capturing application audio when streaming. Screen capture
# itself goes through the ScreenCast portal.
- --filesystem=xdg-run/pipewire-0
# Desktop notifications.
- --talk-name=org.freedesktop.Notifications
# Passwords in the Secret Service keyring.
- --talk-name=org.freedesktop.secrets
# Portals (GlobalShortcuts for push-to-talk, ScreenCast, file chooser) need
# no permission.
build-options:
append-path: /usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm20/bin
prepend-ld-library-path: /usr/lib/sdk/llvm20/lib
env:
CARGO_HOME: /run/build/tsc/cargo
CARGO_NET_OFFLINE: "true"
LIBCLANG_PATH: /usr/lib/sdk/llvm20/lib
modules:
- name: tsc
buildsystem: simple
build-commands:
- cargo --offline build --release --locked -p tsc-ui
- install -Dm755 target/release/tsc-desktop -t /app/bin/
- install -Dm644 packaging/linux/io.github.faumaray.TsClient.desktop -t /app/share/applications/
- install -Dm644 packaging/linux/io.github.faumaray.TsClient.metainfo.xml -t /app/share/metainfo/
- install -Dm644 packaging/linux/io.github.faumaray.TsClient.svg -t /app/share/icons/hicolor/scalable/apps/
# Also shown in the app's About page.
- install -Dm644 THIRD_PARTY_NOTICES.md -t /app/share/licenses/io.github.faumaray.TsClient/
sources:
- type: dir
path: ../..
skip:
- target
- .git
# Vendored crates, generated from Cargo.lock (see packaging/README.md).
- cargo-sources.json