1 # Contributor: Yarema aka Knedlyk <yupadmin@gmail.com>
6 pkgdesc="An online radio streaming player that runs on a Linux system tray."
8 url="http://radiotray.sourceforge.net/"
10 depends=('pyxdg' 'gstreamer0.10' 'gstreamer0.10-base' 'gstreamer0.10-base-plugins' 'gstreamer0.10-python' 'pygtk'
11 'python-lxml' 'pygobject' 'python2-pyinotify' 'dbus-python' 'python-notify'
12 'gstreamer0.10-good' 'gstreamer0.10-good-plugins' 'gstreamer0.10-ffmpeg')
13 optdepends=('gstreamer0.10-bad' 'gstreamer0.10-bad-plugins')
14 makedepends=('mercurial')
16 conflicts=('radiotray' 'radiotray-svn')
18 _hgroot=http://radiotray.hg.sourceforge.net:8000/hgroot/radiotray/
23 if [ -d $_hgrepo ]; then
24 cd $startdir/src/$_hgrepo
27 hg clone $_hgroot $_hgrepo
28 cd $startdir/src/$_hgrepo
31 msg "Starting make..."
33 rm -rf $srcdir/$_hgrepo-build
34 cp -rf $srcdir/$_hgrepo $srcdir/$_hgrepo-build
35 cd $srcdir/$_hgrepo-build
38 python2 setup.py install --root=$pkgdir/ --optimize=1
40 chmod +x $pkgdir/usr/bin/radiotray
41 find $pkgdir -perm 600 -exec chmod 644 {} \;