diff options
Diffstat (limited to 'media-video/pitivi/pitivi-0.13.5.ebuild')
-rw-r--r-- | media-video/pitivi/pitivi-0.13.5.ebuild | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/media-video/pitivi/pitivi-0.13.5.ebuild b/media-video/pitivi/pitivi-0.13.5.ebuild index 60263ccf7304..0ced2c414fa0 100644 --- a/media-video/pitivi/pitivi-0.13.5.ebuild +++ b/media-video/pitivi/pitivi-0.13.5.ebuild @@ -1,9 +1,11 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/media-video/pitivi/pitivi-0.13.5.ebuild,v 1.2 2011/02/03 22:24:28 eva Exp $ -EAPI="2" +EAPI="3" GCONF_DEBUG="no" +PYTHON_DEPEND="2:2.5" +RESTRICT_PYTHON_ABIS="3.*" inherit gnome2 python eutils virtualx @@ -15,8 +17,8 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -RDEPEND=">=dev-lang/python-2.5 - >=dev-python/pygtk-2.14.0 +RDEPEND=" + >=dev-python/pygtk-2.14:2 dev-python/dbus-python >=dev-python/gconf-python-2.12 dev-python/pycairo @@ -27,16 +29,19 @@ RDEPEND=">=dev-lang/python-2.5 >=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" + >=media-libs/gst-plugins-base-0.10 + >=media-libs/gst-plugins-good-0.10 + >=media-plugins/gst-plugins-ffmpeg-0.10 + >=media-plugins/gst-plugins-xvideo-0.10 + >=media-plugins/gst-plugins-libpng-0.10" DEPEND="${RDEPEND} dev-python/setuptools >=dev-util/intltool-0.35.5" -DOCS="AUTHORS ChangeLog NEWS RELEASE" +pkg_setup() { + DOCS="AUTHORS ChangeLog NEWS RELEASE" + python_set_active_version 2 +} src_prepare() { gnome2_src_prepare @@ -61,11 +66,17 @@ src_test() { export XDG_DATA_HOME="${WORKDIR}/.local" # Force Xvfb to be used unset DISPLAY + unset DBUS_SESSION_BUS_ADDRESS # pitivi/configure.py checks this in get_pixmap_dir() mkdir "${S}/.git" Xemake check || die "tests failed" } +src_install() { + gnome2_src_install + python_convert_shebangs -r 2 "${D}" +} + pkg_postinst() { gnome2_pkg_postinst python_mod_optimize "/usr/$(get_libdir)/${PN}/python/${PN}" |