1 # Maintainer: Oliver Sherouse <firstname.lastname@gmail.com>
4 pkgname=$_pkgname-nognome
7 pkgdesc="The free and open source internet TV platform, without gnome"
9 url="http://www.getmiro.com"
11 depends=('libsoup' 'dbus-python' 'python2-cairo' 'pywebkitgtk' 'python2-gconf'
12 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'gstreamer0.10-python'
13 'libtorrent-rasterbar' 'python-pycurl' 'ffmpeg' 'desktop-file-utils' 'mutagen')
18 source=(http://ftp.osuosl.org/pub/pculture.org/${_pkgname}/src/${_pkgname}-${pkgver}.tar.gz)
19 sha1sums=('fdd2b2d375499c97a1caf6db2272bfa687c08cf7')
22 cd "${srcdir}/${_pkgname}-${pkgver}/linux"
24 python2 setup.py install --root=${pkgdir} || return 1
26 # fix miro startup script so --debug works with python2
27 sed -i "s|which python|which python2|" ${pkgdir}/usr/bin/miro || return 1
28 sed -i "s|./miro.real|/usr/bin/miro.real|" ${pkgdir}/usr/bin/miro || return 1