updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / miro-nognome / PKGBUILD
blobae01ec68c1f62936bf8522a7affcbe00692b9274
1 # Maintainer: Oliver Sherouse <firstname.lastname@gmail.com>
3 _pkgname=miro
4 pkgname=$_pkgname-nognome
5 pkgver=4.0
6 pkgrel=2
7 pkgdesc="The free and open source internet TV platform, without gnome"
8 arch=('i686' 'x86_64')
9 url="http://www.getmiro.com"
10 license=('GPL2')
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')
14 makedepends=('pyrex')
15 conflicts=('miro')
16 provides=('miro')
17 install=miro.install
18 source=(http://ftp.osuosl.org/pub/pculture.org/${_pkgname}/src/${_pkgname}-${pkgver}.tar.gz)
19 sha1sums=('fdd2b2d375499c97a1caf6db2272bfa687c08cf7')
21 build() {
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