updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / clementine-rc / PKGBUILD
blobbfbd663b82d88f4f4197353e751ea40bfac8fb71
1 # $Id: PKGBUILD 55878 2011-09-24 16:48:22Z stephane $
2 #Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
3 #Contributor: BlackEagle < ike DOT devolder AT gmail DOT com >
4 #Contributor: Dany Martineau <dany.luc.martineau@gmail.com>
6 pkgname=clementine-rc
7 pkgver=1.0.0rc1
8 pkgrel=2
9 pkgdesc="A music player and library organizer. Version 1.0.0rc1 for those that want to test the current RC version early. PKGBUILD may contain more dependencies than necessary."
10 url="http://www.clementine-player.org/"
11 license=('GPL')
12 arch=('i686' 'x86_64')
13 depends=('gstreamer0.10' 'taglib' 'glew' 'liblastfm' 'libgpod' 'libmtp' 'libplist' 'hicolor-icon-theme' 'qt' 'libimobiledevice' 'libspotify' 'libindicate-qt' 'qjson')
14 makedepends=('cmake' 'boost')
15 optdepends=('gstreamer0.10-base-plugins: for more open formats'
16             'gstreamer0.10-good-plugins: for use with "Good" plugin libraries'
17             'gstreamer0.10-bad-plugins: for use with "Bad" plugin libraries'
18             'gstreamer0.10-ugly-plugins: for use with "Ugly" plugin libraries')
19 source=(http://clementine-player.googlecode.com/files/clementine-${pkgver}.tar.gz)
20 sha1sums=('ca09b5a7f1ac7207daedfb68d340e37ef65f81c5')
21 install=clementine.install
23 build() {
24    cd "${srcdir}/clementine-${pkgver}"
25    cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DSTATIC_SQLITE=0 -DENABLE_GIO=OFF
26    make
29 package() {
30    cd "${srcdir}/clementine-${pkgver}"
31    make DESTDIR="${pkgdir}" install