2013-03-12 22:57:11 +08:00
|
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
# contributor Giuseppe Calà <jiveaxe@gmail.com>
|
2012-11-19 08:55:29 +08:00
|
|
|
|
2010-09-27 22:39:07 +08:00
|
|
|
pkgname=clementine
|
2012-11-19 08:55:29 +08:00
|
|
|
pkgver=1.1.1
|
2013-10-05 23:06:04 +08:00
|
|
|
pkgrel=5
|
2011-12-28 11:45:39 +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/"
|
2013-03-12 22:57:11 +08:00
|
|
|
screenshot="http://images.clementine-player.org/screenshots/clementine-1.0-3.png"
|
2010-09-27 22:39:07 +08:00
|
|
|
license="GPL"
|
2012-10-26 05:29:59 +08:00
|
|
|
arch=('x86_64')
|
2013-03-12 22:57:11 +08:00
|
|
|
install="${pkgname}.install"
|
|
|
|
depends=('gstreamer0.10-base' 'taglib' 'glew' 'liblastfm' 'libgpod' 'libmtp' 'libplist'
|
|
|
|
'hicolor-icon-theme' 'qtwebkit' 'libimobiledevice' 'qjson' 'glew' 'protobuf'
|
|
|
|
'libcdio' 'qca' 'qca-ossl' 'chromaprint')
|
2012-10-26 05:29:59 +08:00
|
|
|
makedepends=('cmake' 'boost' 'mesa')
|
2013-03-12 22:57:11 +08:00
|
|
|
optdepends=('gstreamer0.10-base-plugins: for more open formats'
|
2011-07-01 03:37:43 +08:00
|
|
|
'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-16 22:51:37 +08:00
|
|
|
categories=('multimedia')
|
2013-10-05 23:06:04 +08:00
|
|
|
source=("http://clementine-player.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"
|
|
|
|
'clementine-1.1.1-libimobiledevice-fix.patch')
|
|
|
|
sha1sums=('f8d3e9c8f54ac488323ab5a629c9accbe256378e'
|
|
|
|
'c9ee820249792806088f4c6f298f575217ed90d4')
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
|
|
|
|
patch -Np1 -i ../clementine-1.1.1-libimobiledevice-fix.patch
|
|
|
|
}
|
2010-09-27 22:39:07 +08:00
|
|
|
|
|
|
|
build() {
|
2013-03-12 22:57:11 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
|
|
|
|
mkdir -p build && cd build
|
|
|
|
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DSTATIC_SQLITE=OFF
|
2011-12-28 11:45:39 +08:00
|
|
|
|
2013-03-12 22:57:11 +08:00
|
|
|
make
|
2010-09-27 22:39:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2013-03-12 22:57:11 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}/build"
|
|
|
|
make install DESTDIR="${pkgdir}"
|
2010-09-27 22:39:07 +08:00
|
|
|
}
|