summaryrefslogtreecommitdiffstats
path: root/abs/extra/miro/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/miro/PKGBUILD')
-rw-r--r--abs/extra/miro/PKGBUILD37
1 files changed, 17 insertions, 20 deletions
diff --git a/abs/extra/miro/PKGBUILD b/abs/extra/miro/PKGBUILD
index 1411c43..627e7b8 100644
--- a/abs/extra/miro/PKGBUILD
+++ b/abs/extra/miro/PKGBUILD
@@ -1,32 +1,29 @@
-# $Id: PKGBUILD 35621 2009-04-14 18:07:17Z ronald $
+# $Id: PKGBUILD 96701 2010-10-24 10:50:35Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
pkgname=miro
-pkgver=2.0.4
-pkgrel=9
+pkgver=3.5
+pkgrel=1
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.16.1' 'boost>=1.37.0' 'gnome-python-extras>=2.25.3'
- 'dbus-python>=0.82.4' 'pyrex' 'xulrunner>=1.9.0.1' 'gtk2' 'nspr'
- 'desktop-file-utils')
-makedepends=('pkgconfig' 'pm-utils' 'qt3')
-optdepends=('gstreamer0.10-python: gstreamer backend (potentially unstable)' 'gstreamer0.10: gstreamer backend (potentially unstable')
+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')
+makedepends=('pkgconfig')
install=miro.install
-conflicts=('democracy')
-replaces=('democracy')
-provides=('democracy')
-source=(http://ftp.osuosl.org/pub/pculture.org/miro/src/Miro-${pkgver}.tar.gz
- miro.exec.patch)
-md5sums=('e6cf48252496b2bddd290f375fc0ca33'
- '355648eac790d52c51ccb014736f90fc')
+source=(http://ftp.osuosl.org/pub/pculture.org/${pkgname}/src/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('a5e72b39e3a1bb5ec918bd8fddeb6b079f44c9b3')
build() {
- cd ${srcdir}/Miro-${pkgver}/platform/gtk-x11
- python setup.py install --root=${pkgdir} || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}/linux"
- # Fix FS#14196
- cd ${pkgdir}
- patch -Np0 -i ${srcdir}/miro.exec.patch || return 1
+ 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
}