diff options
author | Mounir Lamouri <volkmar@gentoo.org> | 2010-03-05 19:24:41 +0000 |
---|---|---|
committer | Mounir Lamouri <volkmar@gentoo.org> | 2010-03-05 19:24:41 +0000 |
commit | 6e6fe9df78c63a46e9408ef1aed1c37ee3de9214 (patch) | |
tree | d12ee474cc6f42aa4df6ae440d1f9ec130df71b8 /media-video/miro | |
parent | Update internal libjpeg headers to 8a wrt #307923, thanks to Rob Wallace for ... (diff) | |
download | gentoo-2-6e6fe9df78c63a46e9408ef1aed1c37ee3de9214.tar.gz gentoo-2-6e6fe9df78c63a46e9408ef1aed1c37ee3de9214.tar.bz2 gentoo-2-6e6fe9df78c63a46e9408ef1aed1c37ee3de9214.zip |
Version bump to 2.5.4.
Fix bug 301569.
(Portage version: 15511-svn/cvs/Linux i686)
Diffstat (limited to 'media-video/miro')
-rw-r--r-- | media-video/miro/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/miro/miro-2.5.4.ebuild | 116 |
2 files changed, 122 insertions, 1 deletions
diff --git a/media-video/miro/ChangeLog b/media-video/miro/ChangeLog index 50cf02bf7ca1..5de8bbb6c917 100644 --- a/media-video/miro/ChangeLog +++ b/media-video/miro/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/miro # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/miro/ChangeLog,v 1.5 2010/03/05 18:07:16 volkmar Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/miro/ChangeLog,v 1.6 2010/03/05 19:24:41 volkmar Exp $ + +*miro-2.5.4 (05 Mar 2010) + + 05 Mar 2010; Mounir Lamouri <volkmar@gentoo.org> +miro-2.5.4.ebuild: + Version bump to 2.5.4, fix bug 301569 05 Mar 2010; Mounir Lamouri <volkmar@gentoo.org> miro-2.5.3.ebuild: Fix src_prepare when gstreamer USE flag is disabled, bug 295359 diff --git a/media-video/miro/miro-2.5.4.ebuild b/media-video/miro/miro-2.5.4.ebuild new file mode 100644 index 000000000000..58dbbb0736bf --- /dev/null +++ b/media-video/miro/miro-2.5.4.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/miro/miro-2.5.4.ebuild,v 1.1 2010/03/05 19:24:41 volkmar Exp $ + +EAPI="2" + +inherit eutils fdo-mime gnome2-utils python distutils + +DESCRIPTION="Open source video player and podcast client" +HOMEPAGE="http://www.getmiro.com/" +SRC_URI="http://ftp.osuosl.org/pub/pculture.org/${PN}/src/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="+gstreamer libnotify" + +CDEPEND=" + dev-libs/boost[python] + dev-libs/glib:2 + dev-python/pygobject:2 + dev-python/pygtk:2 + media-libs/xine-lib + >=net-libs/rb_libtorrent-0.14.1[python] + || ( net-libs/xulrunner:1.9 net-libs/xulrunner:1.8 ) + x11-libs/gtk+:2 + x11-libs/libX11" +RDEPEND="${CDEPEND} + gstreamer? ( dev-python/gst-python:0.10 ) + libnotify? ( dev-python/notify-python ) + || ( dev-lang/python[sqlite] dev-python/pysqlite:2 ) + dev-python/dbus-python + dev-python/gconf-python + dev-python/gtkmozembed-python + dev-python/pycairo" +DEPEND="${CDEPEND} + >=dev-python/pyrex-0.9.6.4 + dev-util/pkgconfig" + +S="${WORKDIR}/${P}/platform/gtk-x11" + +# NOTES: +# it's probably not working with python-3 +# used xulrunner has to be the same as the one used for gtkmozembed-python +# psyco can make miro speedier, add a USE flag, recommand in postinst ? + +# TODO: +# create a real test suite, upstream bug 12369 +# try to have a real xine/gstreamer choice, upstream bug 12371 + +src_prepare() { + # fix debug mode + epatch "${FILESDIR}"/${PN}-2.5.3-fix-debug.patch + # disable xine hack which is failing + epatch "${FILESDIR}"/${PN}-2.5.3-disable-xine-hack.patch + # prevent installing unneeded test files + epatch "${FILESDIR}"/${PN}-2.5.3-dont-install-test-files.patch # upstream bug 12370 + # do not show --unittest option + epatch "${FILESDIR}"/${PN}-2.5.3-remove-unittest-option.patch # upstream bug 12370 + # remove 'pkg-config --list-all' call, bug 294183, upstream bug 4613 + epatch "${FILESDIR}"/${PN}-2.5.3-remove-pkg-config-list-all.patch + + # disable autoupdate + sed -i -e "/autoupdate/d" ../../portable/startup.py || die "sed failed" + + # be sure libnotify is never used if disabled + if ! use libnotify; then + sed -i -e "s:import pynotify:import pynotifyisdisabled:" \ + ../../portable/frontends/widgets/gtk/trayicon.py \ + plat/frontends/widgets/application.py || die "sed failed" + fi + + # set xine as the default renderer if gstreamer is disabled + if ! use gstreamer; then + sed -i -e "s:default=u\"gstreamer\":default=u\"xine\":" \ + plat/options.py || die "sed failed" + fi +} + +src_test() { + # there is a test suite but it has been designed to be used when installed + # should be fixed + #./run.sh --unittests || die "tests failed" + : +} + +src_install() { + # doing the mv now otherwise, distutils_src_install will install it + mv README README.gtk || die "mv failed" + + distutils_src_install + + # installing docs + dodoc README.gtk ../../{ADOPTERS,CREDITS,README} || die "dodoc failed" + newdoc ../../portable/frontends/cli/README README.cli || die "dodoc failed" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + distutils_pkg_postinst + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update + + elog "If you can't see a video or can't heard an audio," + elog "enable needed media-libs/xine-lib USE flags" + elog "or install required gstreamer plugins" +} + +pkg_postrm() { + distutils_pkg_postrm + gnome2_icon_cache_update +} |