desktop/cantata/PKGBUILD

29 lines
931 B
Bash
Raw Normal View History

2014-03-27 18:25:38 +08:00
pkgname=cantata
2015-03-24 06:51:17 +08:00
pkgver=1.5.2
pkgrel=1
2014-03-27 18:25:38 +08:00
pkgdesc="KDE client for MPD (Music Player Daemon)"
2014-11-02 20:22:17 +08:00
arch=('x86_64')
2014-03-27 18:25:38 +08:00
url="http://kde-apps.org/content/show.php/Cantata?content=147733"
2014-11-02 20:22:17 +08:00
license=('GPL')
2014-03-27 18:25:38 +08:00
screenshot='http://kde-apps.org/CONTENT/content-pre1/147733-1.png'
2015-03-03 00:10:58 +08:00
makedepends=('cmake' 'automoc4' 'libbluray' 'mpg123' 'ffmpeg' 'libcddb')
depends=('kdelibs' 'qjson' 'taglib' 'libmtp' 'taglib-extras')
optdepends=('ffmpeg: ReplayGain detection'
2014-03-27 18:25:38 +08:00
'mpg123: ReplayGain detection'
'perl-uri: Dynamic playlist support'
'cdparanoia: Read/rip Audio CDs')
2015-03-24 06:51:17 +08:00
source=("https://drive.google.com/uc?export=download&id=0Bzghs6gQWi60LV9rM3RMQk85Z1E")
sha1sums=('dd6f403746c0e0b2be66883b6c0990622399b02b')
2014-03-27 18:25:38 +08:00
build() {
2015-03-08 23:20:45 +08:00
cd $pkgname-$pkgver
mkdir -p build && cd build
2014-07-30 13:44:05 +08:00
cmake -DCMAKE_INSTALL_PREFIX=/usr .. -DENABLE_HTTP_STREAM_PLAYBACK=ON -DENABLE_REMOTE_DEVICES=ON -DENABLE_KDE=On
2014-03-27 18:25:38 +08:00
make
}
2015-03-03 00:10:58 +08:00
2014-03-27 18:25:38 +08:00
package() {
2015-03-08 23:20:45 +08:00
cd $pkgname-$pkgver/build
make DESTDIR=$pkgdir install
2014-03-27 18:25:38 +08:00
}