Files
qbz/packaging/nfpm/nfpm-qbzd.yaml
T
vicrodh efa486ba4f feat(packaging+log): standalone qbzd packages, IP masking in logs
- nfpm-qbzd.yaml (deb/rpm, libasound-only dep) + release workflows build
  the standalone qbzd packages per arch; dual dispatch to the future
  qbz-rpm repo (continue-on-error until token scope lands).
- Gentoo overlay templates: qbzd (source build) + qbzd-bin (tarball
  repack) with systemd user unit + completions.
- Log redaction layer 3: IPv4 -> *.*.*.<last>, IPv6 -> *:*:<last>, with
  version/timestamp false-positive guards (qbz-log 10/10 tests).

km
2026-07-25 12:05:56 -06:00

63 lines
1.9 KiB
YAML

# nfpm config — builds the STANDALONE qbzd .deb and .rpm (daemon-only, no
# desktop app). Used by release-linux(.yml/-aarch64.yml) alongside the main
# nfpm.yaml; same literal-path rule: the workflow stages ./qbzd before
# invoking nfpm (nfpm does NOT expand env vars in contents[].src).
#
# Interpolated env (exported by the workflow):
# QBZ_VERSION release version without the v prefix (e.g. 2.0.3)
# QBZ_ARCH deb-style arch: amd64 | arm64
#
# Measured runtime deps of the qbzd binary (ldd, 2026-07-24): libasound only
# (+ libc/libm/libgcc from the toolchain). No fontconfig/freetype/GL — the
# daemon is slint-free.
name: qbzd
arch: ${QBZ_ARCH}
platform: linux
version: ${QBZ_VERSION}
section: sound
priority: optional
maintainer: Victor Rodriguez <vicrodh@users.noreply.github.com>
description: |
QBZ headless daemon — Qobuz player for servers, Raspberry Pi and
other appliances. TUI setup wizard, QConnect renderer/receiver, local
library, offline cache. Ships a systemd USER unit (opt-in, disabled by
default; requires `loginctl enable-linger` for boot persistence).
vendor: QBZ
homepage: https://github.com/vicrodh/qbz
license: MIT
contents:
# LITERAL path (nfpm prints env vars verbatim in contents[].src — the
# workflow places the stripped binary at ./qbzd before invoking nfpm).
- src: ./qbzd
dst: /usr/bin/qbzd
file_info:
mode: 0755
- src: crates/qbzd/service/qbzd.service
dst: /usr/lib/systemd/user/qbzd.service
overrides:
deb:
depends:
# t64 alternatives cover Ubuntu 24.04+'s time_t64 renames.
- libasound2 | libasound2t64
recommends:
# pw-metadata/pw-dump for bit-perfect sample-rate queries and DAC
# detection (same audio stack as the desktop app).
- pipewire
- pulseaudio
rpm:
depends:
- libasound.so.2()(64bit)
recommends:
- pipewire
- pulseaudio
rpm:
group: Applications/Multimedia
compression: zstd
deb:
compression: zstd