1 # Packager: csgeek at linux dot us
2 ## Based on amarok-git but points to amarok-ase repo with gpodder support
6 conflicts=('amarok' 'amarok2')
7 replaces=('amarok-svn' 'amarok2-svn')
10 pkgdesc="A media player for KDE with under development gPodder support (very alpha) - GIT version"
11 arch=("i686" "x86_64")
12 url="http://amarok.kde.org"
13 license=('GPL2' 'LGPL2' 'FDL')
14 depends=('kdebase-runtime' 'mysql' 'qtscriptgenerator' 'taglib-extras'
15 'liblastfm' 'ffmpeg' 'libofa' 'libmygpo-qt-git' )
16 makedepends=('pkgconfig' 'automoc4' 'cmake' 'libgpod' 'libmtp' 'loudmouth'
18 optdepends=("libgpod: support for Apple iPod audio devices"
19 "libmtp: support for portable media devices"
20 "loudmouth: backend needed by mp3tunes for syncing"
21 "ifuse: support for Apple iPod Touch and iPhone")
22 install="${pkgname}.install"
24 _gitroot="https://github.com/ase23/amarok-ase.git"
32 msg "Connecting to GIT server...."
34 if [ -d ${_gitname}/.git ] ; then
37 # Change remote url to anongit
38 if [ -z $( git branch -v | grep anongit ) ] ; then
39 git remote set-url origin ${_gitroot}
43 msg "The local files are updated."
45 git clone ${_gitroot} ${_gitname}
48 cd ${srcdir}/${_gitname}
51 msg "GIT checkout done or server timeout"
52 msg "Starting make..."
54 rm -rf ${srcdir}/build
55 mkdir -p ${srcdir}/build
58 cmake ../${_gitname} \
59 -DCMAKE_BUILD_TYPE=Release \
60 -DCMAKE_INSTALL_PREFIX=/usr
66 make DESTDIR=${pkgdir} install
68 ## One of libraries for strigi casuses problems with m4v files
69 #rm -rf ${pkgdir}/usr/lib/strigi