2014-03-27 18:25:38 +08:00
|
|
|
pkgname=cantata
|
2018-04-27 06:46:24 +08:00
|
|
|
pkgver=2.3.0
|
2018-06-05 09:06:53 +08:00
|
|
|
pkgrel=2
|
2016-01-25 08:47:43 +08:00
|
|
|
pkgdesc='Qt5 client for the music player daemon (MPD)'
|
2018-06-05 09:06:53 +08:00
|
|
|
arch=(x86_64)
|
2016-06-23 05:59:17 +08:00
|
|
|
url='https://github.com/CDrummond/cantata'
|
2018-06-05 09:06:53 +08:00
|
|
|
license=(GPL)
|
|
|
|
depends=(libmtp libmusicbrainz5 mpg123 vlc taglib-extras media-player-info libcdio-paranoia udisks2 qt5-multimedia)
|
|
|
|
optdepends=('perl-uri: dynamic playlist' 'mpd: playback' 'ffmpeg: ReplayGain support' 'libebur128: ReplayGain support'
|
|
|
|
'sshfs: remote devices support')
|
|
|
|
makedepends=(cmake qt5-tools ffmpeg libebur128)
|
2018-04-27 06:46:24 +08:00
|
|
|
source=("https://github.com/CDrummond/cantata/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2")
|
|
|
|
sha256sums=('15a4496cdacbb6d22880dcca3011bd0d7738fc07b03e34aa745d1533c7f33db7')
|
2016-01-25 08:47:43 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
2014-03-27 18:25:38 +08:00
|
|
|
|
|
|
|
build() {
|
2016-01-25 08:47:43 +08:00
|
|
|
cd build
|
2016-01-26 04:20:19 +08:00
|
|
|
PATH=/usr/lib/qt5/bin:$PATH
|
2016-01-25 08:47:43 +08:00
|
|
|
cmake ../$pkgname-$pkgver \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DENABLE_HTTP_STREAM_PLAYBACK=ON \
|
|
|
|
-DENABLE_KDE=OFF -DENABLE_QT5=ON \
|
2016-06-23 05:59:17 +08:00
|
|
|
-DENABLE_LIBVLC=OFF \
|
2016-01-25 08:47:43 +08:00
|
|
|
-DENABLE_UDISKS2=ON
|
|
|
|
make
|
|
|
|
}
|
2015-03-03 00:10:58 +08:00
|
|
|
|
2014-03-27 18:25:38 +08:00
|
|
|
package() {
|
2016-01-25 08:47:43 +08:00
|
|
|
cd build
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|