Flatpak manifest builds the crates/ workspace with rust-stable+llvm20 (node SDK and the intltool/libdbusmenu/ayatana chain removed). Root snapcraft.yaml becomes a from-source Slint recipe (core24, rustup, MIN memory tier) mirroring packaging/snap-slint runtime sections. AUR/arch/gentoo swap webkit/gtk/appindicator runtime deps for the measured Slint set and the source builders compile crates/ directly. flake.nix: cargoRoot crates, no npm hooks, dlopen runtime libs wrapped. cc
50 lines
2.2 KiB
Bash
50 lines
2.2 KiB
Bash
# Maintainer: blitzkriegfc <blitzkriegfc@gmail.com>
|
|
pkgname=qbz-bin
|
|
pkgver=1.1.11
|
|
pkgrel=1
|
|
pkgdesc="Native Qobuz client for Linux with bit-perfect hi-res audio, DAC passthrough, Last.fm scrobbling, and Chromecast/DLNA casting"
|
|
arch=('x86_64' 'aarch64')
|
|
url="https://github.com/vicrodh/qbz"
|
|
license=('MIT')
|
|
# v2.0+ (Slint/winit binary): no webkit/gtk/appindicator — the measured
|
|
# runtime link set is alsa/fontconfig/freetype/png/bz2/expat/zlib, plus the
|
|
# wayland/x11/GL/dbus/xkbcommon stack dlopen'd by winit/wgpu.
|
|
depends=('alsa-lib' 'fontconfig' 'freetype2' 'libpng' 'bzip2' 'expat' 'zlib'
|
|
'libxkbcommon' 'wayland' 'libglvnd' 'dbus')
|
|
optdepends=(
|
|
'alsa-utils: Required for bit-perfect device detection and better ALSA device names'
|
|
'pipewire-alsa: PipeWire audio support'
|
|
'pipewire-pulse: PulseAudio compatibility'
|
|
'vulkan-driver: GPU-accelerated rendering (wgpu)'
|
|
)
|
|
provides=('qbz')
|
|
conflicts=('qbz')
|
|
options=('!strip')
|
|
source_x86_64=("${pkgname}-${pkgver}-x86_64.tar.gz::https://github.com/vicrodh/qbz/releases/download/v${pkgver}/qbz_${pkgver}_amd64.tar.gz")
|
|
source_aarch64=("${pkgname}-${pkgver}-aarch64.tar.gz::https://github.com/vicrodh/qbz/releases/download/v${pkgver}/qbz_${pkgver}_aarch64.tar.gz")
|
|
sha256sums_x86_64=('SKIP')
|
|
sha256sums_aarch64=('SKIP')
|
|
|
|
package() {
|
|
if [ "$CARCH" = "x86_64" ]; then
|
|
_arch="amd64"
|
|
elif [ "$CARCH" = "aarch64" ]; then
|
|
_arch="aarch64"
|
|
fi
|
|
|
|
cd "${srcdir}/qbz_${pkgver}_${_arch}"
|
|
|
|
# Install binary
|
|
install -Dm755 "qbz" "${pkgdir}/usr/bin/qbz"
|
|
|
|
# Install desktop file
|
|
install -Dm644 "qbz.desktop" "${pkgdir}/usr/share/applications/qbz.desktop"
|
|
|
|
# Install icons (freedesktop hicolor structure)
|
|
install -Dm644 "icons/hicolor/32x32/apps/qbz.png" "${pkgdir}/usr/share/icons/hicolor/32x32/apps/qbz.png"
|
|
install -Dm644 "icons/hicolor/48x48/apps/qbz.png" "${pkgdir}/usr/share/icons/hicolor/48x48/apps/qbz.png"
|
|
install -Dm644 "icons/hicolor/64x64/apps/qbz.png" "${pkgdir}/usr/share/icons/hicolor/64x64/apps/qbz.png"
|
|
install -Dm644 "icons/hicolor/128x128/apps/qbz.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/qbz.png"
|
|
install -Dm644 "icons/hicolor/256x256/apps/qbz.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/qbz.png"
|
|
}
|