mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 14:27:15 +08:00
38 lines
1.5 KiB
Bash
38 lines
1.5 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
pkgname=clementine
|
|
pkgver=0.7.1
|
|
pkgrel=2
|
|
pkgdesc="A modern music player and library organiser and a port of Amarok 1.4, with some features rewritten to take advantage of Qt4. "
|
|
url="http://www.clementine-player.org/"
|
|
license="GPL"
|
|
arch=('i686' 'x86_64')
|
|
depends=('gstreamer0.10' 'taglib' 'glew' 'liblastfm' 'libgpod' 'libmtp' 'libplist' 'hicolor-icon-theme' 'qt' 'libimobiledevice')
|
|
makedepends=('cmake' 'boost')
|
|
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')
|
|
source=(http://clementine-player.googlecode.com/files/${pkgname}-${pkgver}.tar.gz
|
|
clementine-0.7.1-fix-devicekit.patch)
|
|
sha1sums=('8b2025b8876f9f3fe33ef5001e0621f3a5d0f142'
|
|
'd595e2746949363680e0d64fe2fb97b524c8d27c')
|
|
install=clementine.install
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -Np1 -i ../clementine-0.7.1-fix-devicekit.patch
|
|
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DSTATIC_SQLITE=0 -DENABLE_GIO=OFF
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|