# $Id: PKGBUILD 18952 2008-11-12 08:23:26Z ronald $ # Maintainer: Ronald van Haren 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 }