From aaa8d8aa9e3ee90a0cd8c61f792bbeca1300661a Mon Sep 17 00:00:00 2001 From: Mounir Lamouri Date: Fri, 5 Mar 2010 19:24:41 +0000 Subject: [PATCH] Version bump to 2.5.4. Fix bug 301569. Package-Manager: portage-15511-svn/cvs/Linux i686 --- media-video/miro/ChangeLog | 7 +- media-video/miro/Manifest | 4 +- media-video/miro/miro-2.5.4.ebuild | 116 +++++++++++++++++++++++++++++ 3 files changed, 125 insertions(+), 2 deletions(-) create mode 100644 media-video/miro/miro-2.5.4.ebuild 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 +miro-2.5.4.ebuild: + Version bump to 2.5.4, fix bug 301569 05 Mar 2010; Mounir Lamouri miro-2.5.3.ebuild: Fix src_prepare when gstreamer USE flag is disabled, bug 295359 diff --git a/media-video/miro/Manifest b/media-video/miro/Manifest index 78efb98b3e07..42b655bfa3d9 100644 --- a/media-video/miro/Manifest +++ b/media-video/miro/Manifest @@ -5,6 +5,8 @@ AUX miro-2.5.3-fix-locale.patch 494 RMD160 7ba690456c2ffeeb771288729b023e15af3e2 AUX miro-2.5.3-remove-pkg-config-list-all.patch 2880 RMD160 7aa0300eda840a9662df172c53397c19aab9967a SHA1 1298447816b3e06a4d5c309f66c2916eec1ae2c4 SHA256 ac28c97c1ca3051c3d0c2f7b17eca78a3e45e02c589cda813e98c166a3a21f55 AUX miro-2.5.3-remove-unittest-option.patch 538 RMD160 f29c534b28ac453cb72d18cb3e0810f6744c38b6 SHA1 4f86a65c368ced0b7a37d091a3705cd2f80d2628 SHA256 889e8480faee3af86d9c2dbfa9375eeb102ca01df6c71b07fcb4b62b326cbe6a DIST miro-2.5.3.tar.gz 9943113 RMD160 d70c179d38bb6806962944187e53b5ebf50d03ea SHA1 553d4e173d978bede9dd570f337a264af8f0e28d SHA256 10bd1070b03e97a4c5f14e6a3da079cad7b05be955304d21d583e531673b3a34 +DIST miro-2.5.4.tar.gz 10032329 RMD160 38e5bf42db323b54803ce12ab1e8dec8192aac51 SHA1 4fd6cb48ed1fb3a9588c4af9f2da55f88654f194 SHA256 43f18abfc8cc7cdbb84fb5de2136397080e4c153881498b18970c81a671b0f67 EBUILD miro-2.5.3.ebuild 3505 RMD160 608d3da55ea9ba923e2c1b996ecff6bf4098b556 SHA1 afcabb1cd7b35609cabb6c1ae22582e0c2b93628 SHA256 89df28480dfcb6bc8583cd504a1161d00b82423efd3101b68db2daab46167623 -MISC ChangeLog 1255 RMD160 c3d0f89445be21262ff61dca062644ac38c239c3 SHA1 c03358c4698d6aab447e478a9493b6abdc533c80 SHA256 37f35b2dd708c623b753655ab0aa19a434e54f558df3fe2948e5d1784c36cc78 +EBUILD miro-2.5.4.ebuild 3444 RMD160 6d0a0dba4eb7e4c7103a041d9e0ba23364712175 SHA1 a001a7f4ff0a7e4de8801e33d8c8c9d35c0c1ae0 SHA256 b9a7d328dbf4a4052d33150707a322495617fbbe3d294ca0fc21999abb3c14e5 +MISC ChangeLog 1394 RMD160 481731c932d7a15d01bd8ec3a822d44bf4f6dff3 SHA1 a301bcade00009326d23a5aecafdc8061ff7a315 SHA256 11487d66d037a7a9e1f6aa6ce79f6dcb51fbd2c2ed4efb88e0a7752f558ef624 MISC metadata.xml 257 RMD160 224ee82bfe66c5da4a2dc1dd697b1782e7f03cb9 SHA1 6b583c76750b206bd133403d1a4685a14f8e6b95 SHA256 45f231de4d8bc5ed6309ba83d2eb9a06b8e13f828d7b74e909a144439356cd62 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 +} -- 2.26.2