desktop/cantata/PKGBUILD

33 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
2015-03-03 00:10:58 +08:00
pkgrel=3
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')
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 -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() {
cd "${srcdir}/${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
}