desktop/cantata/PKGBUILD

36 lines
1.1 KiB
Bash
Raw Normal View History

2014-03-27 18:25:38 +08:00
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: (Mcder3) <mcder3@gmail.com>
# (SteveK) <stevekej@gmail.com>
2013-12-16 01:50:48 +08:00
2014-03-27 18:25:38 +08:00
pkgname=cantata
2014-11-02 20:22:17 +08:00
pkgver=1.5.1
2014-08-27 14:48:48 +08:00
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'
makedepends=('cmake' 'automoc4' 'libbluray')
2014-07-30 13:44:05 +08:00
depends=('kdelibs' 'qjson')
2014-03-27 18:25:38 +08:00
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')
2014-11-02 20:22:17 +08:00
source=("https://drive.google.com/uc?export=download&id=0Bzghs6gQWi60UktwaTRMTjRIUW8")
sha1sums=('595f81a5c29e187c4ba8e6c1dde764d18d3726ee')
2014-03-27 18:25:38 +08:00
build() {
cd "$srcdir/${pkgname}-${pkgver}"
mkdir 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
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
}