2010-09-27 22:39:07 +08:00
|
|
|
#
|
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
2012-06-14 07:21:44 +08:00
|
|
|
# maintainer abveritas@chakra-project.org
|
2010-10-14 18:22:03 +08:00
|
|
|
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
2010-09-27 22:39:07 +08:00
|
|
|
|
|
|
|
pkgname=clementine
|
2012-07-05 08:05:37 +08:00
|
|
|
pkgver=1.0.1.1
|
2012-09-02 20:26:50 +08:00
|
|
|
pkgrel=2
|
2012-06-14 07:21:44 +08:00
|
|
|
pkgdesc="A modern music player and library organiser and a port of Amarok 1.4, with some features rewritten to take advantage of Qt4."
|
2010-09-27 22:39:07 +08:00
|
|
|
url="http://www.clementine-player.org/"
|
2012-09-02 20:26:50 +08:00
|
|
|
screenshot="http://images.clementine-player.org/screenshots/clementine-1.0-3.png"
|
2010-09-27 22:39:07 +08:00
|
|
|
license="GPL"
|
|
|
|
arch=('i686' 'x86_64')
|
2012-09-02 20:26:50 +08:00
|
|
|
install="${pkgname}.install"
|
2012-07-05 08:05:37 +08:00
|
|
|
depends=('gstreamer0.10' 'taglib' 'glew' 'liblastfm' 'libgpod' 'libmtp' 'libplist' 'hicolor-icon-theme' 'qt' 'libimobiledevice' 'qjson' 'glew' 'protobuf')
|
2012-06-14 07:21:44 +08:00
|
|
|
makedepends=('cmake' 'boost' 'gdk-pixbuf2')
|
|
|
|
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')
|
2012-03-06 19:37:36 +08:00
|
|
|
categories=('multimedia')
|
2012-09-02 20:26:50 +08:00
|
|
|
source=("http://chakra-linux.org/sources/clementine/clementine-player.tar.xz"
|
|
|
|
"plasmarunner.patch")
|
|
|
|
sha1sums=('bea8b626c5ca94279dddc2372ab68c7aaa3a5fc2'
|
|
|
|
'895a1e4679cdea2970d89b35ebfe805c0d59a654')
|
2010-09-27 22:39:07 +08:00
|
|
|
|
|
|
|
build() {
|
2012-09-02 20:26:50 +08:00
|
|
|
cd "${srcdir}/${pkgname}-player"
|
|
|
|
|
|
|
|
# plasmarunner is buggy and will not be supported by clementine any more
|
|
|
|
# http://code.google.com/p/clementine-player/source/detail?r=5b3071e5f144
|
|
|
|
patch -p1 -i "${srcdir}/plasmarunner.patch"
|
2012-06-14 07:21:44 +08:00
|
|
|
|
2012-09-02 20:26:50 +08:00
|
|
|
mkdir -p build && cd build
|
|
|
|
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DENABLE_GIO=OFF
|
|
|
|
make
|
2010-09-27 22:39:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2012-09-02 20:26:50 +08:00
|
|
|
cd "${srcdir}/${pkgname}-player/build"
|
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2010-09-27 22:39:07 +08:00
|
|
|
}
|
2012-06-14 07:21:44 +08:00
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|