5 pkgdesc="A small application to play, download, rip or convert (to Ogg) videos from popular YouTube-like sites, without the need of the proprietary Flash plugin."
7 url="http://www.nongnu.org/watchvideo/index.html"
8 license=('GNU Affero GPL')
10 depends=('qt' 'python2' 'python-lxml' 'python-simplejson' 'mplayer' 'pyqt' 'mediainfo')
11 optdepends=('python-notify' 'ffmpeg' 'ffmpeg2theora')
12 makedepends=('subversion' 'python2-distribute')
14 _svntrunk="svn://svn.sv.gnu.org/watchvideo"
21 if [ -d ${_svnmod} ]; then
22 msg "Updating SVN tree ..."
25 svn up -r $pkgver || return 1
26 msg "SVN update finished, starting build ..."
28 msg "Doing SVN checkout ..."
29 svn co ${_svntrunk} ${_svnmod} -r $pkgver || return 1
31 msg "SVN checkout finished, starting build ..."
33 cp -r $srcdir/${_svnmod} $srcdir/build
36 python2 setup.py build
37 python2 setup.py install --root=$pkgdir
38 chmod +x utils/install-desktop-entry.sh
39 utils/install-desktop-entry.sh $pkgdir/usr
40 mv $pkgdir/usr/share/applications $pkgdir/usr/share/watchvideo