1 pkgname=phonon-quicktime-git
4 pkgdesc="Phonon QuickTime backend, git version"
6 url="https://projects.kde.org/projects/kdesupport/phonon/phonon-quicktime"
9 makedepends=('git' 'automoc4' 'cmake' 'phonon')
10 provides=('phonon-quicktime' 'phonon-backend')
11 source=(phonon-qt7-noshow.patch)
13 _gitroot="git://anongit.kde.org/phonon-quicktime"
14 _gitname="phonon-quicktime"
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
24 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf "$srcdir/$_gitname-build"
31 git clone -l "$srcdir/$_gitname" "$srcdir/$_gitname-build"
32 cd "$srcdir/$_gitname-build"
33 patch -Np1 -i ../phonon-qt7-noshow.patch
34 cmake -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) \
35 -DCMAKE_BUILD_TYPE=Release \
38 make DESTDIR=$pkgdir install
39 rm -rf "$srcdir/$_gitname-build"
42 md5sums=('9985bb34557a4b80e6d6f66940c01357')