From 2f3ce1d698a5709fc5e9d5e62c9110cd266a213f Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 7 Feb 2020 09:46:28 +0100 Subject: app-accessibility/orca: Switch to PYTHON_MULTI_USEDEP API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- app-accessibility/orca/orca-3.32.0-r1.ebuild | 59 ++++++++++++++++++++++++++++ app-accessibility/orca/orca-3.32.0.ebuild | 52 ------------------------ 2 files changed, 59 insertions(+), 52 deletions(-) create mode 100644 app-accessibility/orca/orca-3.32.0-r1.ebuild delete mode 100644 app-accessibility/orca/orca-3.32.0.ebuild (limited to 'app-accessibility') diff --git a/app-accessibility/orca/orca-3.32.0-r1.ebuild b/app-accessibility/orca/orca-3.32.0-r1.ebuild new file mode 100644 index 000000000000..052a2b319bd4 --- /dev/null +++ b/app-accessibility/orca/orca-3.32.0-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python3_6 ) +PYTHON_REQ_USE="threads" + +inherit gnome2 python-single-r1 + +DESCRIPTION="Extensible screen reader that provides access to the desktop" +HOMEPAGE="https://wiki.gnome.org/Projects/Orca" + +LICENSE="LGPL-2.1+ CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" + +IUSE="+braille" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND="${PYTHON_DEPS} + >=app-accessibility/at-spi2-atk-2.32:2 + >=app-accessibility/at-spi2-core-2.32:2[introspection] + >=dev-libs/atk-2.32 + >=dev-libs/glib-2.28:2 + media-libs/gstreamer:1.0[introspection] + >=x11-libs/gtk+-3.6.2:3[introspection] + $(python_gen_cond_dep ' + dev-python/gst-python:1.0[${PYTHON_MULTI_USEDEP}] + >=dev-python/pygobject-3.18:3[${PYTHON_MULTI_USEDEP}] + ') + braille? ( + $(python_gen_cond_dep ' + >=app-accessibility/brltty-5.0-r3[python,${PYTHON_MULTI_USEDEP}] + dev-libs/liblouis[python,${PYTHON_MULTI_USEDEP}] + ') + ) +" +RDEPEND="${COMMON_DEPEND} + dev-libs/atk[introspection] + $(python_gen_cond_dep ' + >=app-accessibility/speech-dispatcher-0.8[python,${PYTHON_MULTI_USEDEP}] + >=dev-python/pyatspi-2.32[${PYTHON_MULTI_USEDEP}] + dev-python/setproctitle[${PYTHON_MULTI_USEDEP}] + ') + x11-libs/libwnck:3[introspection] + x11-libs/pango[introspection] +" +DEPEND="${COMMON_DEPEND} + >=dev-util/intltool-0.50 + dev-util/itstool + virtual/pkgconfig +" +# app-text/yelp-tools + +src_configure() { + gnome2_src_configure \ + $(use_with braille liblouis) +} diff --git a/app-accessibility/orca/orca-3.32.0.ebuild b/app-accessibility/orca/orca-3.32.0.ebuild deleted file mode 100644 index f5dff9cf8b0d..000000000000 --- a/app-accessibility/orca/orca-3.32.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -GNOME2_LA_PUNT="yes" -PYTHON_COMPAT=( python3_6 ) -PYTHON_REQ_USE="threads" - -inherit gnome2 python-single-r1 - -DESCRIPTION="Extensible screen reader that provides access to the desktop" -HOMEPAGE="https://wiki.gnome.org/Projects/Orca" - -LICENSE="LGPL-2.1+ CC-BY-SA-3.0" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" - -IUSE="+braille" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -COMMON_DEPEND="${PYTHON_DEPS} - >=app-accessibility/at-spi2-atk-2.32:2 - >=app-accessibility/at-spi2-core-2.32:2[introspection] - >=dev-libs/atk-2.32 - >=dev-libs/glib-2.28:2 - dev-python/gst-python:1.0[${PYTHON_USEDEP}] - >=dev-python/pygobject-3.18:3[${PYTHON_USEDEP}] - media-libs/gstreamer:1.0[introspection] - >=x11-libs/gtk+-3.6.2:3[introspection] - braille? ( - >=app-accessibility/brltty-5.0-r3[python,${PYTHON_USEDEP}] - dev-libs/liblouis[python,${PYTHON_USEDEP}] ) -" -RDEPEND="${COMMON_DEPEND} - >=app-accessibility/speech-dispatcher-0.8[python,${PYTHON_USEDEP}] - dev-libs/atk[introspection] - >=dev-python/pyatspi-2.32[${PYTHON_USEDEP}] - dev-python/setproctitle[${PYTHON_USEDEP}] - x11-libs/libwnck:3[introspection] - x11-libs/pango[introspection] -" -DEPEND="${COMMON_DEPEND} - >=dev-util/intltool-0.50 - dev-util/itstool - virtual/pkgconfig -" -# app-text/yelp-tools - -src_configure() { - gnome2_src_configure \ - $(use_with braille liblouis) -} -- cgit v1.2.3-65-gdbad