diff options
Diffstat (limited to 'extra/miro/PKGBUILD')
-rw-r--r-- | extra/miro/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/miro/PKGBUILD b/extra/miro/PKGBUILD new file mode 100644 index 000000000..2ccb3e680 --- /dev/null +++ b/extra/miro/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 127855 2011-06-18 21:42:16Z eric $ +# Maintainer: Ronald van Haren <ronald.archlinux.org> + +pkgname=miro +pkgver=4.0.1.1 +pkgrel=2 +pkgdesc="The free and open source internet TV platform" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.getmiro.com" +license=('GPL2') +depends=('dbus-python' 'pyrex' 'pygtk' 'gstreamer0.10' 'python2-gconf' + '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' + 'gstreamer0.10-ffmpeg' 'ffmpeg' 'mutagen') +makedepends=('pkg-config') +install=miro.install +source=(http://ftp.osuosl.org/pub/pculture.org/${pkgname}/src/${pkgname}-${pkgver}.tar.gz) +sha1sums=('f6dbfb661bd642ccf60b38405c63182c7a9142df') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}/linux" + + python2 setup.py install --root="${pkgdir}" + + # 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" +} |