desktop/clementine/PKGBUILD

48 lines
1.8 KiB
Bash
Raw Normal View History

2010-09-27 22:39:07 +08:00
pkgname=clementine
2014-02-26 09:25:06 +08:00
_pkgname=Clementine
2014-04-25 02:50:25 +08:00
pkgver=1.2.3
pkgrel=10
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/"
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
depends=('gstreamer0.10-base' 'taglib' 'glew>=1.10.0' 'liblastfm-qt4' 'libgpod' 'libmtp' 'libplist'
2015-05-01 10:27:12 +08:00
'hicolor-icon-theme' 'qtwebkit' 'libimobiledevice' 'qjson' 'protobuf'
'libcdio' 'qca' 'qca-ossl' 'chromaprint' 'libmygpo-qt' 'libechonest-qt4')
2015-08-09 18:18:15 +08:00
makedepends=('cmake' 'boost' 'mesa')
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'
2015-04-21 10:54:01 +08:00
'gstreamer0.10-ugly-plugins: for use with "Ugly" plugin libraries'
'libmygpo-qt: add support for gpodder.net'
'libspotify: add support for Spotify, due to license restriction, please build it
with ccr yourself'
'dropbox: add support for Dropbox')
categories=('multimedia')
2014-07-09 14:12:15 +08:00
source=("https://github.com/clementine-player/${_pkgname}/archive/${pkgver}.tar.gz"
"clementine-udisks-headers.patch")
sha1sums=('2a27eda3a13185ba9f0f7b75dcf7173e6828384a'
'7a33cbcbf7cb06d2c5bea1b7757e9ba58c4f4869')
2014-02-26 09:25:06 +08:00
2014-07-09 14:12:15 +08:00
prepare() {
cd ${_pkgname}-${pkgver}
patch -Np1 -i "../clementine-udisks-headers.patch" || return 1
}
2010-09-27 22:39:07 +08:00
build() {
2014-02-26 09:25:06 +08:00
cd ${_pkgname}-${pkgver}
mkdir -p build && cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
2014-07-09 14:12:15 +08:00
-DBUILD_WERROR=OFF \
2013-10-15 23:34:25 +08:00
-DSTATIC_SQLITE=ON
make
2010-09-27 22:39:07 +08:00
}
package() {
2014-02-26 09:25:06 +08:00
cd ${_pkgname}-${pkgver}/build
make install DESTDIR="${pkgdir}"
2010-09-27 22:39:07 +08:00
}