From 8fed9761ed65a957c9e54ad9b81249e29179e128 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Sat, 2 May 2020 23:39:39 +0300 Subject: media-video/pitivi: dep on gst-plugins-gtk, not transitional USE Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp --- media-video/pitivi/pitivi-0.999-r1.ebuild | 105 ----------------------------- media-video/pitivi/pitivi-0.999-r2.ebuild | 106 ++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+), 105 deletions(-) delete mode 100644 media-video/pitivi/pitivi-0.999-r1.ebuild create mode 100644 media-video/pitivi/pitivi-0.999-r2.ebuild (limited to 'media-video/pitivi') diff --git a/media-video/pitivi/pitivi-0.999-r1.ebuild b/media-video/pitivi/pitivi-0.999-r1.ebuild deleted file mode 100644 index aa8949946c6b..000000000000 --- a/media-video/pitivi/pitivi-0.999-r1.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_6 ) -PYTHON_REQ_USE="sqlite" - -inherit gnome.org meson python-single-r1 virtualx xdg - -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="v4l test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# XXX: recommends gst-plugins-libav and frei0r-plugins - -# Do not forget to check pitivi/check.py for dependencies!!! -# pycanberra, libav, libnotify and liwnck are optional -GST_VER="1.14.2" - -COMMON_DEPEND=" - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - >=dev-python/pycairo-1.10[${PYTHON_MULTI_USEDEP}] - ') - >=x11-libs/cairo-1.10 - - >=media-libs/gstreamer-${GST_VER}:1.0[introspection] - >=media-plugins/gst-transcoder-1.8.2-r1 -" -RDEPEND="${COMMON_DEPEND} - >=dev-libs/glib-2.30.0:2 - - >=dev-libs/gobject-introspection-1.34:= - $(python_gen_cond_dep ' - dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] - >=dev-python/gst-python-1.4:1.0[${PYTHON_MULTI_USEDEP}] - dev-python/matplotlib[${PYTHON_MULTI_USEDEP}] - dev-python/numpy[${PYTHON_MULTI_USEDEP}] - >=dev-python/pygobject-3.8:3[${PYTHON_MULTI_USEDEP}] - ') - - gnome-base/librsvg:= - >=media-libs/gsound-1.0 - - >=media-libs/gstreamer-editing-services-${GST_VER}:1.0[introspection] - >=media-libs/gst-plugins-base-${GST_VER}:1.0[introspection] - >=media-libs/gst-plugins-bad-${GST_VER}:1.0[gtk] - >=media-libs/gst-plugins-good-${GST_VER}:1.0 - >=media-plugins/gst-plugins-libav-${GST_VER}:1.0 - >=media-plugins/gst-plugins-gdkpixbuf-${GST_VER}:1.0 - - >=x11-libs/libnotify-0.7[introspection] - x11-libs/libwnck:3[introspection] - >=x11-libs/gtk+-3.20.0:3[introspection] - - v4l? ( >=media-plugins/gst-plugins-v4l2-${GST_VER}:1.0 ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - app-text/yelp-tools - dev-python/setuptools - >=dev-util/intltool-0.35.5 - dev-util/itstool - sys-devel/gettext - virtual/pkgconfig - test? ( - $(python_gen_cond_dep ' - dev-python/nose2[${PYTHON_MULTI_USEDEP}] - ') - ) -" - -PATCHES=( - # Make tests optional, bug #594096 - # https://gitlab.gnome.org/GNOME/pitivi/issues/2303 - "${FILESDIR}"/${P}-optional-tests.patch -) - -src_configure() { - local emesonargs=( - -Denable-tests=$(usex test true false) - ) - meson_src_configure -} - -src_compile() { - meson_src_compile -} - -src_test() { - export PITIVI_TOP_LEVEL_DIR="${S}" - virtx meson_src_test -} - -src_install() { - meson_src_install - python_fix_shebang "${D}" -} diff --git a/media-video/pitivi/pitivi-0.999-r2.ebuild b/media-video/pitivi/pitivi-0.999-r2.ebuild new file mode 100644 index 000000000000..86247a23bced --- /dev/null +++ b/media-video/pitivi/pitivi-0.999-r2.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_6 ) +PYTHON_REQ_USE="sqlite" + +inherit gnome.org meson python-single-r1 virtualx xdg + +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="v4l test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# XXX: recommends gst-plugins-libav and frei0r-plugins + +# Do not forget to check pitivi/check.py for dependencies!!! +# pycanberra, libav, libnotify and liwnck are optional +GST_VER="1.14.2" + +COMMON_DEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + >=dev-python/pycairo-1.10[${PYTHON_MULTI_USEDEP}] + ') + >=x11-libs/cairo-1.10 + + >=media-libs/gstreamer-${GST_VER}:1.0[introspection] + >=media-plugins/gst-transcoder-1.8.2-r1 +" +RDEPEND="${COMMON_DEPEND} + >=dev-libs/glib-2.30.0:2 + + >=dev-libs/gobject-introspection-1.34:= + $(python_gen_cond_dep ' + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] + >=dev-python/gst-python-1.4:1.0[${PYTHON_MULTI_USEDEP}] + dev-python/matplotlib[${PYTHON_MULTI_USEDEP}] + dev-python/numpy[${PYTHON_MULTI_USEDEP}] + >=dev-python/pygobject-3.8:3[${PYTHON_MULTI_USEDEP}] + ') + + gnome-base/librsvg:= + >=media-libs/gsound-1.0 + + >=media-libs/gstreamer-editing-services-${GST_VER}:1.0[introspection] + >=media-libs/gst-plugins-base-${GST_VER}:1.0[introspection] + >=media-libs/gst-plugins-bad-${GST_VER}:1.0 + >=media-plugins/gst-plugins-gtk-${GST_VER}:1.0 + >=media-libs/gst-plugins-good-${GST_VER}:1.0 + >=media-plugins/gst-plugins-libav-${GST_VER}:1.0 + >=media-plugins/gst-plugins-gdkpixbuf-${GST_VER}:1.0 + + >=x11-libs/libnotify-0.7[introspection] + x11-libs/libwnck:3[introspection] + >=x11-libs/gtk+-3.20.0:3[introspection] + + v4l? ( >=media-plugins/gst-plugins-v4l2-${GST_VER}:1.0 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/yelp-tools + dev-python/setuptools + >=dev-util/intltool-0.35.5 + dev-util/itstool + sys-devel/gettext + virtual/pkgconfig + test? ( + $(python_gen_cond_dep ' + dev-python/nose2[${PYTHON_MULTI_USEDEP}] + ') + ) +" + +PATCHES=( + # Make tests optional, bug #594096 + # https://gitlab.gnome.org/GNOME/pitivi/issues/2303 + "${FILESDIR}"/${P}-optional-tests.patch +) + +src_configure() { + local emesonargs=( + -Denable-tests=$(usex test true false) + ) + meson_src_configure +} + +src_compile() { + meson_src_compile +} + +src_test() { + export PITIVI_TOP_LEVEL_DIR="${S}" + virtx meson_src_test +} + +src_install() { + meson_src_install + python_fix_shebang "${D}" +} -- cgit v1.2.3-65-gdbad