4 pkgdesc="A free library used to connect Qt and libvlc libraries"
6 url="http://tano.si/en/projects/vlc-qt"
8 depends=('vlc>=1.1' 'qt>=4.6')
9 makedepends=('cmake>=2.6')
13 _gitroot='git://github.com/ntadej/vlc-qt.git'
15 _buildir=${_gitname}-build
20 msg 'Connecting to GIT server...'
21 if [ -d ${_gitname} ]; then
22 cd ${_gitname} && git pull origin
28 msg 'GIT checkout done or server timeout.'
30 if [ -d ${_buildir} ]; then
31 msg 'Cleaning previous build...'
35 git clone ${_gitname} ${_buildir}
38 msg 'Running cmake...'
40 cmake . -DCMAKE_INSTALL_PREFIX=/usr \
41 -DCMAKE_SKIP_RPATH=ON \
42 -DCMAKE_BUILD_TYPE=Release
46 msg 'Starting make...'
49 make DESTDIR="${pkgdir}" install || return 1
51 rm -rf ${srcdir}/${_buildir}