From 7e4ae9d59f07f7a6a4f476202b88fb6e89706670 Mon Sep 17 00:00:00 2001
From: Cecil <knoppmyth@gmail.com>
Date: Fri, 4 Feb 2011 20:45:32 -0800
Subject: miro:bumed to latest.

---
 abs/extra/miro/PKGBUILD    | 37 +++++++++++++++++--------------------
 abs/extra/miro/__changelog |  1 +
 2 files changed, 18 insertions(+), 20 deletions(-)
 create mode 100644 abs/extra/miro/__changelog

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
 }
diff --git a/abs/extra/miro/__changelog b/abs/extra/miro/__changelog
new file mode 100644
index 0000000..27c5164
--- /dev/null
+++ b/abs/extra/miro/__changelog
@@ -0,0 +1 @@
+2/5/11 - chw - the miro.install that is used is LinHES specfic.
-- 
cgit v0.12

