summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/miro/PKGBUILD
blob: efc44b3ec38a0e651964da7232f9fd591f9bb802 (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
31
32
33
34
35
36
37
38
39
40
41
# $Id: PKGBUILD 18952 2008-11-12 08:23:26Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>

pkgname=miro
pkgver=1.2.8
pkgrel=2
pkgdesc="The free and open source internet TV platform"
arch=('i686' 'x86_64')
url="http://www.getmiro.com"
license=('GPL2')
depends=('xine-lib>=1.1.12' 'boost>=1.36.0' 'gnome-python-extras>=2.19.1'
	 'dbus-python>=0.82.4' 'pyrex' 'xulrunner>=1.9.0.1' 'gtk2' 'nspr')
makedepends=('pkgconfig' 'qt3')
install=miro.install
conflicts=('democracy')
replaces=('democracy')
provides=('democracy')

source=(http://ftp.osuosl.org/pub/pculture.org/miro/src/Miro-${pkgver}.tar.gz
        missing-headers.patch
	Miro-xulrunner.patch
	boost_1.36.0_fix.patch
	miro_python26.patch)

md5sums=('b468a953014272095171303ba3f0745d'
         'b5482eac565a26817af0105b061a8ad5'
         '3c06b40cd13c2fb202f58dcf64d4b524'
         '3b4e1eac01155b9de381b0744ba9d725'
         'a913b2340136ac0fbb9034523faf667a')

build() {
  cd ${srcdir}/Miro-${pkgver}
  patch -Np1 -i ${srcdir}/missing-headers.patch || return 1
  patch -Np1 -i ${srcdir}/Miro-xulrunner.patch || return 1
  patch -Np1 -i ${srcdir}/boost_1.36.0_fix.patch || return 1

  cd platform/gtk-x11
  patch -Np0 -i ${srcdir}/miro_python26.patch || return 1

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