summaryrefslogtreecommitdiffstats
path: root/abs/extra/miro/PKGBUILD
blob: e0a8d7f38422c2ed5af89d7dbe89c0465eb6a214 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 96701 2010-10-24 10:50:35Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>

pkgname=miro
pkgver=4.0.2
pkgrel=2
pkgdesc="The free and open source internet TV platform"
arch=('i686' 'x86_64')
url="http://www.getmiro.com"
license=('GPL2')
depends=('dbus-python' 'pyrex' 'pygtk' 'gstreamer0.10' 'gnome-python'
         'python-pysqlite' 'pywebkitgtk' 'shared-mime-info'
         'desktop-file-utils' 'gstreamer0.10' 'hicolor-icon-theme'
         'gstreamer0.10-python' 'python-notify' 'libtorrent-rasterbar'
	 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'python-pycurl'
	 'python2-gconf')
makedepends=('pkgconfig')
install=miro.install
source=(http://ftp.osuosl.org/pub/pculture.org/${pkgname}/src/${pkgname}-${pkgver}.tar.gz)
sha1sums=('22342897ca748fa19738c9c1c510510f314fa7eb')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}/linux"

  python2 setup.py install --root=${pkgdir} || return 1

  # fix miro startup script so --debug works with python2
  sed -i "s|which python|which python2|" ${pkgdir}/usr/bin/miro
  sed -i "s|./miro.real|/usr/bin/miro.real|" ${pkgdir}/usr/bin/miro
}