blob: 160d1e0df4bfe4a38b20df6ea15065f5018f4216 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: goetzc
# Contributor: Kim Scarborough <sluggo@unknown.nu>
pkgname=cantata-qt6
pkgver=3.3.0
pkgrel=2
pkgdesc="Qt6 graphical client for Music Player Daemon (MPD), nullobsi fork"
arch=(x86_64 i686 aarch64 armv7h)
url="https://github.com/nullobsi/cantata"
license=(GPL3)
depends=(qt6-base
qt6-multimedia
qt6-svg
libcdio-paranoia
libmtp
libmusicbrainz5
libcddb
taglib
libebur128
media-player-info
mpg123
#taglib-extras
udisks2
ffmpeg
avahi gcc-libs zlib glibc
)
makedepends=(git cmake qt6-tools)
optdepends=('perl-uri: Dynamic playlist'
'mpd: Playback')
provides=(cantata)
conflicts=(cantata)
source=("cantata-nullobsi::git+https://github.com/nullobsi/cantata.git#tag=v${pkgver}"
"cantata-QRegularExpression.patch::https://github.com/nullobsi/cantata/pull/54/commits/aed0b8cdb60bb100e15c0195dbd84a4a18edc35d.patch")
sha256sums=('43bd3de862b73e80e8258c27c263dd92b90bfa7f97bc8ce846a91a965fdf0690'
'553c27ca42e7bbd09ce7f63dfa747df06826c5ef8c3ddab4ac3f925f00e5f2fb')
prepare() {
cd "cantata-nullobsi"
patch -Np1 -i ../cantata-QRegularExpression.patch
}
build() {
cmake -B build -S "cantata-nullobsi" -Wno-dev \
-DQT_DIR=/usr/lib/cmake/Qt6 \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBEXECDIR=/usr/bin
cmake --build build
}
package() {
DESTDIR="${pkgdir}" cmake --install build
}
|