2010-05-31 02:50:48 +08:00
|
|
|
#
|
|
|
|
# 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>
|
2010-05-31 00:30:09 +08:00
|
|
|
|
2010-05-31 02:50:48 +08:00
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
2010-05-31 00:30:09 +08:00
|
|
|
pkgname=amarok
|
|
|
|
replaces=('amarok-base' 'amarok-engine-xine' 'amarok-base-mysqlfree')
|
2010-09-21 01:02:20 +08:00
|
|
|
pkgver=2.3.2
|
2010-05-31 00:30:09 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A media player for KDE"
|
|
|
|
arch=("i686" "x86_64")
|
|
|
|
url="http://amarok.kde.org"
|
|
|
|
license=('GPL2' 'LGPL2' 'FDL')
|
|
|
|
depends=('kdebase-runtime' 'mysql' 'qtscriptgenerator' 'taglib-extras' 'liblastfm')
|
|
|
|
makedepends=('pkgconfig' 'automoc4' 'cmake' 'libgpod' 'libmtp' 'loudmouth')
|
|
|
|
optdepends=("libgpod: support Apple iPod audio devices"
|
|
|
|
"libmtp: support for portable media devices"
|
|
|
|
"loudmouth: backend needed by mp3tunes for syncing")
|
|
|
|
install=${pkgname}.install
|
|
|
|
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
|
2010-09-21 01:02:20 +08:00
|
|
|
md5sums=('4e03dc009f8b44d9b8dfb5f6d1034081')
|
2010-05-31 00:30:09 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
make || return 1
|
|
|
|
}
|
|
|
|
|
|
|
|
package(){
|
|
|
|
cd ${srcdir}/build
|
|
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
|
|
}
|