diff options
author | Arun Raghavan <ford_prefect@gentoo.org> | 2011-01-31 06:12:00 +0000 |
---|---|---|
committer | Arun Raghavan <ford_prefect@gentoo.org> | 2011-01-31 06:12:00 +0000 |
commit | c51719ceea1b35bbc263b2751114650df0a9a810 (patch) | |
tree | fda3197751195155f3b70034b8713c7f0ddbd390 /media-video/pitivi | |
parent | slotmove kvkbd to 4 (diff) | |
download | gentoo-2-c51719ceea1b35bbc263b2751114650df0a9a810.tar.gz gentoo-2-c51719ceea1b35bbc263b2751114650df0a9a810.tar.bz2 gentoo-2-c51719ceea1b35bbc263b2751114650df0a9a810.zip |
Bump to 0.13.5. Lots of enhancements and bug fixes.
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Diffstat (limited to 'media-video/pitivi')
-rw-r--r-- | media-video/pitivi/ChangeLog | 10 | ||||
-rw-r--r-- | media-video/pitivi/files/pitivi-0.13.5-work-with-old-good.patch | 16 | ||||
-rw-r--r-- | media-video/pitivi/pitivi-0.13.5.ebuild | 77 |
3 files changed, 101 insertions, 2 deletions
diff --git a/media-video/pitivi/ChangeLog b/media-video/pitivi/ChangeLog index 00edef434fbd..16cc942be775 100644 --- a/media-video/pitivi/ChangeLog +++ b/media-video/pitivi/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/pitivi -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/pitivi/ChangeLog,v 1.21 2010/03/20 12:41:32 nirbheek Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/pitivi/ChangeLog,v 1.22 2011/01/31 06:12:00 ford_prefect Exp $ + +*pitivi-0.13.5 (31 Jan 2011) + + 31 Jan 2011; Arun Raghavan <ford_prefect@gentoo.org> +pitivi-0.13.5.ebuild, + +files/pitivi-0.13.5-work-with-old-good.patch: + Bump to 0.13.5. Lots of enhancements and bug fixes. *pitivi-0.13.4 (20 Mar 2010) diff --git a/media-video/pitivi/files/pitivi-0.13.5-work-with-old-good.patch b/media-video/pitivi/files/pitivi-0.13.5-work-with-old-good.patch new file mode 100644 index 000000000000..e01456f425a6 --- /dev/null +++ b/media-video/pitivi/files/pitivi-0.13.5-work-with-old-good.patch @@ -0,0 +1,16 @@ +diff -urNp pitivi-0.13.5.old/pitivi/factories/base.py pitivi-0.13.5/pitivi/factories/base.py +--- pitivi-0.13.5.old/pitivi/factories/base.py 2011-01-30 16:40:27.672000221 +0530 ++++ pitivi-0.13.5/pitivi/factories/base.py 2011-01-30 16:41:12.784000223 +0530 +@@ -421,7 +421,11 @@ class SourceFactory(ObjectFactory): + b.csp = gst.element_factory_make("identity") + + b.alpha = gst.element_factory_make("alpha", "internal-alpha") +- b.alpha.props.prefer_passthrough = True ++ try: ++ b.alpha.props.prefer_passthrough = True ++ except AttributeError: ++ self.warning("User has old version of alpha. " ++ "prefer-passthrough not enabled") + b.scale = gst.element_factory_make("videoscale") + try: + b.scale.props.add_borders = True diff --git a/media-video/pitivi/pitivi-0.13.5.ebuild b/media-video/pitivi/pitivi-0.13.5.ebuild new file mode 100644 index 000000000000..60263ccf7304 --- /dev/null +++ b/media-video/pitivi/pitivi-0.13.5.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/pitivi/pitivi-0.13.5.ebuild,v 1.1 2011/01/31 06:12:00 ford_prefect Exp $ + +EAPI="2" +GCONF_DEBUG="no" + +inherit gnome2 python eutils virtualx + +DESCRIPTION="A non-linear video editor using the GStreamer multimedia framework" +HOMEPAGE="http://www.pitivi.org" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-lang/python-2.5 + >=dev-python/pygtk-2.14.0 + dev-python/dbus-python + >=dev-python/gconf-python-2.12 + dev-python/pycairo + dev-python/pygoocanvas + net-zope/zope-interface + gnome-base/librsvg + + >=media-libs/gstreamer-0.10.28 + >=dev-python/gst-python-0.10.19 + >=media-libs/gnonlin-0.10.16 + >=media-libs/gst-plugins-base-0.10.0 + >=media-libs/gst-plugins-good-0.10.0 + >=media-plugins/gst-plugins-ffmpeg-0.10.0 + >=media-plugins/gst-plugins-xvideo-0.10.0 + >=media-plugins/gst-plugins-libpng-0.10.0" +DEPEND="${RDEPEND} + dev-python/setuptools + >=dev-util/intltool-0.35.5" + +DOCS="AUTHORS ChangeLog NEWS RELEASE" + +src_prepare() { + gnome2_src_prepare + + epatch "${FILESDIR}/${P}-work-with-old-good.patch" + + # disable pyc compiling + mv py-compile py-compile.orig + ln -s $(type -P true) py-compile +} + +src_configure() { + addpredict $(unset HOME; echo ~)/.gconf + addpredict $(unset HOME; echo ~)/.gconfd + addpredict $(unset HOME; echo ~)/.gstreamer-0.10 + + gnome2_src_configure +} + +src_test() { + export XDG_CONFIG_HOME="${WORKDIR}/.config" + export XDG_DATA_HOME="${WORKDIR}/.local" + # Force Xvfb to be used + unset DISPLAY + # pitivi/configure.py checks this in get_pixmap_dir() + mkdir "${S}/.git" + Xemake check || die "tests failed" +} + +pkg_postinst() { + gnome2_pkg_postinst + python_mod_optimize "/usr/$(get_libdir)/${PN}/python/${PN}" +} + +pkg_postrm() { + gnome2_pkg_postrm + python_mod_cleanup "/usr/$(get_libdir)/${PN}/python/${PN}" +} |