3 pkgname=amarok-minimal-git
6 pkgdesc="AmaroK - a media player for KDE. Without lastfm, mp3tunes, mtp and ipod support. GIT version"
8 url="http://amarok.kde.org"
10 depends=('kdelibs>=4.4' 'kdebase-runtime>=4.4' 'phonon' 'taglib>=1.6' 'taglib-extras>=1.0' 'qt>=4.5' 'qca' "libmysqlclient>=${mysqlver}")
11 makedepends=('cmake>=2.6.2' 'qtscriptgenerator>=0.1' 'automoc4' 'git')
12 conflicts=('amarok2' 'amarok' 'amarok2-svn' 'amarok-svn' 'amarok-git')
16 _gitroot="git://anongit.kde.org/amarok.git"
22 msg "Connecting to GIT server...."
24 if [ -d "${srcdir}/${_gitname}" ] ; then
25 cd ${_gitname} && git pull --rebase
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 #sed -i 's/strigi.sourceforge.net\" TRUE/strigi.sourceforge.net\" FALSE/' CMakeLists.txt
36 sed -i '/amazon/d' src/services/CMakeLists.txt
37 sed -i '/magnatune/d' src/services/CMakeLists.txt
38 sed -i '/ampache/d' src/services/CMakeLists.txt
39 sed -i '/mp3tunes/d' src/services/CMakeLists.txt
40 sed -i '/jamendo/d' src/services/CMakeLists.txt
41 sed -i '/opmldirectory/d' src/services/CMakeLists.txt
46 cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
47 -DCMAKE_BUILD_TYPE=Release \
48 -DWITH_LibLastFm=OFF \
58 make DESTDIR=${pkgdir} install || return 1
59 cd .. && rm -rf amarok-build