# $Id: PKGBUILD 61660 2012-01-05 21:38:03Z stephane $ #Maintainer: Stéphane Gaudreault #Contributor: BlackEagle #Contributor: Dany Martineau pkgname=clementine pkgver=1.0.0 pkgrel=3 pkgdesc="A music player and library organizer" url="http://www.clementine-player.org/" license=('GPL') arch=('i686' 'x86_64' 'mips64el') depends=('gstreamer0.10' 'taglib' 'glew' 'liblastfm' 'libgpod' 'libmtp' 'libplist' 'hicolor-icon-theme' 'qt' 'libimobiledevice') depends=('gstreamer0.10-base' 'taglib' 'glew' 'liblastfm' 'libgpod' 'libmtp' 'libplist' 'hicolor-icon-theme' 'qt' 'libimobiledevice' 'qjson' 'libcdio' 'protobuf' 'qca' 'qca-ossl') makedepends=('cmake' 'boost') optdepends=('gstreamer0.10-base-plugins: for more open formats' 'gstreamer0.10-good-plugins: for use with "Good" plugin libraries' 'gstreamer0.10-bad-plugins: for use with "Bad" plugin libraries' 'gstreamer0.10-ugly-plugins: for use with "Ugly" plugin libraries') source=(http://clementine-player.googlecode.com/files/${pkgname}-${pkgver}.tar.gz) sha1sums=('ba49c686ea5759e33d6b89179965503fd369cf30') install=clementine.install build() { cd "${srcdir}/${pkgname}-${pkgver}" cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DENABLE_REMOTE=ON make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }