FS#36513 - [miro] upgrade to version 6.0 (updated PKGBUILD)

Attached to Project: Arch Linux
Opened by Götz (goetzc) - Tuesday, 13 August 2013, 05:13 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 13 August 2013, 13:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Please, update Miro to the latest version, 6.0

PKGBUILD:

pkgname=miro
pkgver=6.0
pkgrel=1
pkgdesc="The free and open source media player and 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
}
This task depends upon

Closed by  Dave Reisner (falconindy)
Tuesday, 13 August 2013, 13:26 GMT
Reason for closing:  None
Additional comments about closing:  Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.
Comment by Götz (goetzc) - Tuesday, 13 August 2013, 05:16 GMT
PKGBUILD with indentation
   PKGBUILD (1.7 KiB)

Loading...