blob: 6bea1b155bd26a05ca145c4f3de700dac17ffcfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Lucas Gabriel <g at 11xx dot org>
pkgname=muzaiten-bin
# PEP 440 version, matching the release tag and artifact.
# Bump this, _release_tag, and sha256sums for every published release, and set
# license to the components that release artifact ships.
pkgver=2026.10.11
_release_tag=2026.10.11
pkgrel=1
pkgdesc="Native music player for local libraries, with ratings and scrobbling"
arch=('x86_64')
url="https://github.com/11xx/muzaiten"
license=('Unlicense' 'Unicode-3.0' 'OGDL-Taiwan-1.0' 'Apache-2.0')
depends=('qt6-base' 'qt6-multimedia' 'taglib' 'chromaprint' 'gstreamer' 'gst-plugins-base-libs' 'glib2' 'zstd' 'python')
optdepends=('gst-plugins-good: extra audio decoders and sinks'
'gst-plugin-pipewire: PipeWire audio output'
'gst-plugins-bad: additional codecs and native DSF DSD playback'
'gst-libav: DSD demux and DSD-to-PCM decode'
'mpd: browse an MPD library alongside local sources'
'yt-dlp: enrich YouTube playlist imports with metadata'
'muzaiten-features-clap: optional semantic audio analysis and search provider')
provides=('muzaiten')
conflicts=('muzaiten' 'muzaiten-git')
options=('!strip') # build-release.sh already strips the native executables
source=("muzaiten-${pkgver}-${CARCH}.tar.zst::https://github.com/11xx/muzaiten/releases/download/${_release_tag}/muzaiten-${pkgver}-${CARCH}.tar.zst")
sha256sums=('2ee6dae252417d53aa565964cbea971e011a96f63443d2574ff774b2ab26a8d0')
package() {
# The tarball is a prefixed tree (usr/bin, usr/share/...) staged by
# packaging/build-release.sh.
tar -C "$pkgdir" -xf "muzaiten-${pkgver}-${CARCH}.tar.zst"
# Re-home the license directory under this package's name.
if [[ -d "$pkgdir/usr/share/licenses/muzaiten" ]]; then
mv "$pkgdir/usr/share/licenses/muzaiten" "$pkgdir/usr/share/licenses/$pkgname"
fi
}
|