summaryrefslogtreecommitdiff
path: root/extra/miro
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-04 03:52:56 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-04 03:52:56 +0000
commita78b434ff9cfdfb3d175c900ff622a561b84123f (patch)
tree7fe0aa5526dbda20077464989bf0b2cffc05efd3 /extra/miro
parentf0127fa225ad83116fabd5f7d9df4c92cd23f6f1 (diff)
Tue Mar 4 03:48:46 UTC 2014
Diffstat (limited to 'extra/miro')
-rw-r--r--extra/miro/PKGBUILD45
-rw-r--r--extra/miro/miro.install17
2 files changed, 0 insertions, 62 deletions
diff --git a/extra/miro/PKGBUILD b/extra/miro/PKGBUILD
deleted file mode 100644
index c84b505c4..000000000
--- a/extra/miro/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 192487 2013-08-13 05:59:27Z bpiotrowski $
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-
-pkgname=miro
-pkgver=6.0
-pkgrel=1
-pkgdesc="The free and open source internet TV platform"
-arch=('i686' 'x86_64')
-url="http://www.getmiro.com"
-license=('GPL2')
-depends=('python2-dbus' 'pyrex' 'pygtk' 'gstreamer0.10' 'python2-gconf'
- 'python2-pysqlite' 'pywebkitgtk' 'shared-mime-info'
- 'desktop-file-utils' 'gstreamer0.10' 'hicolor-icon-theme'
- 'gstreamer0.10-python' 'python2-notify' 'libtorrent-rasterbar'
- 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'python2-pycurl'
- 'gstreamer0.10-ffmpeg' 'ffmpeg' 'mutagen' 'xdg-utils')
-makedepends=('boost')
-install=miro.install
-source=("http://ftp.osuosl.org/pub/pculture.org/${pkgname}/src/${pkgname}-${pkgver}.tar.gz")
-sha1sums=('96cd4ed4a26e157422e47dfebf491c8a42e54c51')
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- cd 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"
-
- # fix python scripts for python2
- sed -i "s|/usr/bin/env python|/usr/bin/env python2|" "${pkgdir}"/usr/share/miro/resources/searchengines/update-icons.py
- for i in usr/share/miro/resources/testdata/echonest-replies/generate.py usr/share/miro/resources/searchengines/update-icons.py \
- usr/share/miro/resources/testdata/7digital-replies/generate.py; do
- sed -i "s|/usr/bin/python|/usr/bin/python2|" "${pkgdir}"/${i}
- done
-
- # Fakeroot segfaults on these; remove
- if [ ${CARCH} == "i686" ]; then
- rm -f "${pkgdir}"/usr/bin/codegen.Linux-x86_64 || true
- else
- rm -f "${pkgdir}"/usr/bin/codegen.Linux-i686 || true
- fi
-}
diff --git a/extra/miro/miro.install b/extra/miro/miro.install
deleted file mode 100644
index a5ee228aa..000000000
--- a/extra/miro/miro.install
+++ /dev/null
@@ -1,17 +0,0 @@
-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
-}
-
-