summaryrefslogtreecommitdiff
path: root/testing/miro
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-11 04:43:21 +0000
committerroot <root@rshg047.dnsready.net>2011-04-11 04:43:21 +0000
commit06c7c4c5ef2c808f288b2a8cd63548a322d66754 (patch)
tree178258b847b80ef8c3f25abc6c5ae2495048b66b /testing/miro
parent8f6922302486fa1cc1112ff8b3daddb48c3260f2 (diff)
Mon Apr 11 04:43:21 UTC 2011
Diffstat (limited to 'testing/miro')
-rw-r--r--testing/miro/PKGBUILD29
-rw-r--r--testing/miro/miro.install17
2 files changed, 46 insertions, 0 deletions
diff --git a/testing/miro/PKGBUILD b/testing/miro/PKGBUILD
new file mode 100644
index 000000000..a923b8f65
--- /dev/null
+++ b/testing/miro/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 119004 2011-04-10 11:32:39Z eric $
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+
+pkgname=miro
+pkgver=3.5.1
+pkgrel=2
+pkgdesc="The free and open source internet TV platform"
+arch=('i686' 'x86_64')
+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')
+makedepends=('pkg-config')
+install=miro.install
+source=(http://ftp.osuosl.org/pub/pculture.org/${pkgname}/src/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('0f5c2a307e7040c9c2895ee9a2d1c3ff99d34e9e')
+
+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"
+}
diff --git a/testing/miro/miro.install b/testing/miro/miro.install
new file mode 100644
index 000000000..a5ee228aa
--- /dev/null
+++ b/testing/miro/miro.install
@@ -0,0 +1,17 @@
+post_install() {
+ update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor
+ update-mime-database usr/share/mime > /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor
+ update-mime-database usr/share/mime > /dev/null
+}
+
+