mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
38 lines
1.3 KiB
Bash
38 lines
1.3 KiB
Bash
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
|
# Contributors: (Mcder3) <mcder3@gmail.com>
|
|
# (SteveK) <stevekej@gmail.com>
|
|
|
|
pkgname=cantata
|
|
pkgver=1.3.0.1
|
|
pkgrel=1
|
|
pkgdesc="KDE client for MPD (Music Player Daemon)"
|
|
arch=(x86_64)
|
|
url="http://kde-apps.org/content/show.php/Cantata?content=147733"
|
|
license=(GPL)
|
|
screenshot='http://kde-apps.org/CONTENT/content-pre1/147733-1.png'
|
|
makedepends=('cmake' 'automoc4')
|
|
depends=('kdelibs')
|
|
optdepends=('taglib: tag edit dialog and UMS device support'
|
|
'libmtp: MTP device support'
|
|
'ffmpeg: ReplayGain detection'
|
|
'mpg123: ReplayGain detection'
|
|
'perl-uri: Dynamic playlist support'
|
|
'cdparanoia: Read/rip Audio CDs'
|
|
'libcddb: Audio CD support'
|
|
'libmusicbrainz: Audio CD support')
|
|
source=("https://drive.google.com/uc?export=download&id=0Bzghs6gQWi60czZxNXJtdWllc0E")
|
|
#source=(https://cantata.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
|
|
sha1sums=('2c72d5fa7c63cd9f9e85edf2aa24dfaa88c064fb')
|
|
|
|
build() {
|
|
cd "$srcdir/${pkgname}-${pkgver}"
|
|
mkdir build && cd build
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr .. -DENABLE_HTTP_STREAM_PLAYBACK=ON -DENABLE_REMOTE_DEVICES=ON
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}/build"
|
|
make DESTDIR=${pkgdir} install
|
|
}
|