2010-09-27 22:39:07 +08:00
|
|
|
pkgname=clementine
|
2016-04-20 08:33:55 +08:00
|
|
|
pkgver=1.3.1
|
|
|
|
pkgrel=1
|
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-10-15 23:34:25 +08:00
|
|
|
install=${pkgname}.install
|
2016-04-16 11:07:00 +08:00
|
|
|
depends=('gstreamer' 'taglib' 'glew' 'libgpod' 'libmtp' 'libplist' 'liblastfm-qt4'
|
|
|
|
'hicolor-icon-theme' 'qtwebkit' 'libimobiledevice' 'qjson' 'protobuf' 'crypto++'
|
2015-09-26 00:38:11 +08:00
|
|
|
'libcdio' 'qca' 'qca-ossl' 'chromaprint' 'libmygpo-qt' 'libechonest-qt4')
|
2016-04-16 11:07:00 +08:00
|
|
|
makedepends=('cmake' 'boost' 'mesa' 'sparsehash')
|
|
|
|
optdepends=('gst-plugins-base: for more open formats'
|
|
|
|
'gst-plugins-good: for use with "Good" plugin libraries'
|
|
|
|
'gst-plugins-bad: for use with "Bad" plugin libraries'
|
|
|
|
'gst-plugins-ugly: for use with "Ugly" plugin libraries'
|
2015-04-21 10:54:01 +08:00
|
|
|
'libspotify: add support for Spotify, due to license restriction, please build it
|
|
|
|
with ccr yourself'
|
|
|
|
'dropbox: add support for Dropbox')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('multimedia')
|
2016-04-20 08:33:55 +08:00
|
|
|
source=("https://github.com/clementine-player/Clementine/releases/download/1.3.1/${pkgname}-${pkgver}.tar.xz")
|
|
|
|
sha1sums=('67f3438d674e075d15859daedfc9f82b638243f7')
|
2014-02-26 09:25:06 +08:00
|
|
|
|
2014-07-09 14:12:15 +08:00
|
|
|
prepare() {
|
2016-04-16 11:07:00 +08:00
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
sed 's,<lastfm/,<lastfm4/,g' -i src/internet/lastfm/* -i src/core/*.cpp
|
|
|
|
mkdir -p build
|
2014-07-09 14:12:15 +08:00
|
|
|
}
|
2010-09-27 22:39:07 +08:00
|
|
|
|
|
|
|
build() {
|
2016-04-16 11:07:00 +08:00
|
|
|
cd ${pkgname}-${pkgver}/build
|
2016-04-17 00:27:04 +08:00
|
|
|
cmake ../ -DLASTFM_INCLUDE_DIRS=/usr/include/lastfm4 \
|
|
|
|
-DLASTFM1_INCLUDE_DIRS=/usr/include/lastfm4 \
|
2016-04-16 11:07:00 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2013-03-12 22:57:11 +08:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
2016-04-16 11:07:00 +08:00
|
|
|
-DBUILD_WERROR=OFF
|
2013-03-12 22:57:11 +08:00
|
|
|
make
|
2010-09-27 22:39:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2016-04-16 11:07:00 +08:00
|
|
|
cd ${pkgname}-${pkgver}/build
|
2013-03-12 22:57:11 +08:00
|
|
|
make install DESTDIR="${pkgdir}"
|
2010-09-27 22:39:07 +08:00
|
|
|
}
|