1 pkgname=qtmediahub-core-git
4 pkgdesc='A cross platform media hub built using Qt and QtQuick'
6 url='http://www.qtmediahub.com'
8 depends=('qt>=4.7' 'taglib' 'libexif' 'qt-mobility>=1.2')
12 _gitroot="git://gitorious.org/qtmediahub/qtmediahub-core.git"
13 _gitname="qtmediahub-core"
16 msg "Connecting to GIT server...."
18 if [ -d "$srcdir/$_gitname" ] ; then
19 cd $_gitname && git pull origin
20 msg "The local files are updated."
22 git clone --depth=1 $_gitroot
25 msg "GIT checkout done or server timeout"
27 cd "$srcdir/$_gitname"
30 qmake PREFIX="/usr" "CONFIG-=debug"
31 qmake PREFIX="/usr" "CONFIG-=debug"
36 cd "${srcdir}/$_gitname"
38 make INSTALL_ROOT=${pkgdir} install