AUR (Arch Linux): - Added to optdepends: 'alsa-utils: Better ALSA device names and descriptions' - Users get notification to install, but not required Flatpak: - Included alsa-utils module in bundle (builds from source) - Version 1.2.12 from alsa-project.org - Sandboxed environment can now execute aplay -L internally - Disabled alsamixer and xmlto (not needed, reduces size) - Users get real device descriptions automatically Snap (future - not yet implemented): - Created snapcraft.yaml template - stage-packages includes alsa-utils - Will be bundled when Snap support is implemented AppImage (future - not yet implemented): - Created README.md documenting dependencies - AppImage uses host system commands (aplay from host) - Users need to install alsa-utils on their system - Fallback to CPAL works if not installed Summary by format: - .deb/.rpm: Recommends alsa-utils (auto-installed, can be removed) - AUR: optdepends (user notified, optional) - Flatpak: Bundled (always available) - Snap: Will be bundled (future) - AppImage: Host dependency (user installs)
37 lines
1.6 KiB
Bash
37 lines
1.6 KiB
Bash
# Maintainer: blitzkriegfc <blitzkriegfc@proton.me>
|
|
pkgname=qbz-bin
|
|
pkgver=1.0.0
|
|
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')
|
|
url="https://github.com/vicrodh/qbz"
|
|
license=('MIT')
|
|
depends=('webkit2gtk-4.1' 'gtk3' 'alsa-lib' 'libappindicator-gtk3' 'libxkbcommon' 'openssl')
|
|
optdepends=(
|
|
'alsa-utils: Better ALSA device names and descriptions'
|
|
'pipewire-alsa: PipeWire audio support'
|
|
'pipewire-pulse: PulseAudio compatibility'
|
|
)
|
|
provides=('qbz')
|
|
conflicts=('qbz')
|
|
options=('!strip')
|
|
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/vicrodh/qbz/releases/download/v${pkgver}/qbz_${pkgver}_amd64.tar.gz")
|
|
sha256sums=('7803ee50d63b1759f6fbd2f62749b62990bf75bfd5ffe0709a9269dc3af0e254')
|
|
|
|
package() {
|
|
cd "${srcdir}/qbz_${pkgver}_amd64"
|
|
|
|
# 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"
|
|
}
|