4 pkgdesc="A native YouTube client in QT. Watch YouTube videos without Flash Player."
5 url="http://flavio.tordini.org/minitube"
8 depends=('phonon' 'qt>=4.6')
10 optdepends=('phonon-xine: for xine backend'
11 'phonon-gstreamer: for gstreamer backend'
12 'gstreamer0.10-plugins: to get all videos to play with phonon-gstreamer'
13 'phonon-mplayer-git: for mplayer backend (from AUR)'
14 'phonon-vlc-git: for vlc backend (from AUR)')
15 conflicts=('minitube')
16 install=minitube.install
18 _gitroot='git://gitorious.org/minitube/minitube.git'
24 msg "Connecting to GIT server...."
25 if [ -d ${srcdir}/$_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
31 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 if [ -d ${srcdir}/${_gitname}-build ]; then
36 rm -rf ${srcdir}/${_gitname}-build
38 cp -r ${srcdir}/$_gitname ${srcdir}/${_gitname}-build
39 cd ${srcdir}/${_gitname}-build
41 qmake PREFIX="/usr" || return 1
42 make INSTALL_ROOT="$pkgdir" install || return 1