diff --git a/packaging/README.md b/packaging/README.md
new file mode 100644
index 0000000..b74a7b5
--- /dev/null
+++ b/packaging/README.md
@@ -0,0 +1,41 @@
+# Packaging
+
+The product name is not decided yet: `TS Client` and the app id
+`io.github.faumaray.TsClient` are placeholders (also in
+`tsc_platform::{APP_NAME, APP_ID}`); rename them everywhere together.
+
+| Path | What |
+|---|---|
+| `linux/` | Desktop file, AppStream metainfo and a placeholder icon, named by app id |
+| `flatpak/io.github.faumaray.TsClient.yml` | Flatpak manifest |
+| `windows/` | NSIS installer and how to build and sign on Windows ([README](windows/README.md)) |
+
+## Flatpak
+
+flatpak-builder builds offline, so the crates from `Cargo.lock` are listed as
+sources in `flatpak/cargo-sources.json`, generated (not committed) with
+[flatpak-cargo-generator](https://github.com/flatpak/flatpak-builder-tools/tree/master/cargo):
+
+```sh
+curl -LO https://raw.githubusercontent.com/flatpak/flatpak-builder-tools/master/cargo/flatpak-cargo-generator.py
+python3 flatpak-cargo-generator.py Cargo.lock -o packaging/flatpak/cargo-sources.json
+
+flatpak install flathub org.freedesktop.Platform//25.08 org.freedesktop.Sdk//25.08 \
+ org.freedesktop.Sdk.Extension.rust-stable//25.08
+flatpak-builder --user --install --force-clean build-flatpak packaging/flatpak/io.github.faumaray.TsClient.yml
+flatpak run io.github.faumaray.TsClient
+```
+
+Regenerate `cargo-sources.json` whenever `Cargo.lock` changes. Inside the build
+`rust-toolchain.toml` does not apply: the `rust-stable` extension must provide at
+least the workspace's `rust-version`. The SDK has everything else the build needs
+(CMake for libopus, ALSA, fontconfig, xkbcommon, libvpx, PipeWire, clang).
+
+Permissions (`finish-args`): network, Wayland with X11 fallback, DRI, PulseAudio
+(microphone and speakers), the PipeWire socket (application audio when streaming),
+notifications and the Secret Service. Push-to-talk (GlobalShortcuts) and screen
+capture (ScreenCast) go through portals and need no permission.
+
+Desktops match windows to the desktop file (taskbar icon, portal permissions) by
+X11 `WM_CLASS`, which is the binary name `tsc-desktop` (hence `StartupWMClass`),
+and on Wayland by the window's app id, which the app should set to the app id.
diff --git a/packaging/flatpak/io.github.faumaray.TsClient.yml b/packaging/flatpak/io.github.faumaray.TsClient.yml
new file mode 100644
index 0000000..cbe7679
--- /dev/null
+++ b/packaging/flatpak/io.github.faumaray.TsClient.yml
@@ -0,0 +1,54 @@
+# 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
+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
+ env:
+ CARGO_HOME: /run/build/tsc/cargo
+ CARGO_NET_OFFLINE: "true"
+
+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/
+ sources:
+ - type: dir
+ path: ../..
+ skip:
+ - target
+ - .git
+ # Vendored crates, generated from Cargo.lock (see packaging/README.md).
+ - cargo-sources.json
diff --git a/packaging/linux/io.github.faumaray.TsClient.desktop b/packaging/linux/io.github.faumaray.TsClient.desktop
new file mode 100644
index 0000000..37c44ae
--- /dev/null
+++ b/packaging/linux/io.github.faumaray.TsClient.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Type=Application
+Name=TS Client
+Comment=Voice chat, text chat and screen sharing
+Exec=tsc-desktop
+Icon=io.github.faumaray.TsClient
+Terminal=false
+Categories=Network;Chat;InstantMessaging;AudioVideo;
+Keywords=voice;chat;voip;push-to-talk;
+StartupNotify=true
+StartupWMClass=tsc-desktop
diff --git a/packaging/linux/io.github.faumaray.TsClient.metainfo.xml b/packaging/linux/io.github.faumaray.TsClient.metainfo.xml
new file mode 100644
index 0000000..0a08f0b
--- /dev/null
+++ b/packaging/linux/io.github.faumaray.TsClient.metainfo.xml
@@ -0,0 +1,49 @@
+
+
+
+ io.github.faumaray.TsClient
+ CC0-1.0
+ MIT OR Apache-2.0
+ TS Client
+ Voice chat, text chat and screen sharing
+
+
+ A desktop voice client written in Rust: talk with push-to-talk or voice
+ activation, chat in channels you are not in, see who is online without
+ joining, and watch and share screens.
+
+
+
Echo cancellation, noise suppression and automatic gain control
+
Global push-to-talk on Wayland (desktop portal), X11 and Windows