From: Jonas Stein Date: Tue, 31 Mar 2020 01:10:02 +0000 (+0200) Subject: media-gfx/inkscape: make uniconvertor optional X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=628f97b8ed238770a787c3d0824cf9efb33dd8e1;p=gentoo.git media-gfx/inkscape: make uniconvertor optional media-gfx/uniconvertor supports only Python 2. The dependency on uniconvertor is now optional to support the transition to Python 3. Bug: https://bugs.gentoo.org/448670 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Jonas Stein --- diff --git a/media-gfx/inkscape/inkscape-0.92.4-r3.ebuild b/media-gfx/inkscape/inkscape-0.92.4-r3.ebuild new file mode 100644 index 000000000000..912e7bba247d --- /dev/null +++ b/media-gfx/inkscape/inkscape-0.92.4-r3.ebuild @@ -0,0 +1,165 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" +inherit autotools flag-o-matic gnome2-utils xdg toolchain-funcs python-single-r1 + +MY_P="${P/_/}" + +DESCRIPTION="SVG based generic vector-drawing program" +HOMEPAGE="https://inkscape.org/" +SRC_URI="https://inkscape.global.ssl.fastly.net/media/resources/file/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="cdr dia dbus exif gnome imagemagick openmp postscript inkjar jpeg latex" +IUSE+=" lcms nls spell static-libs visio wpg uniconvertor" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND="${PYTHON_DEPS} + >=app-text/poppler-0.26.0:=[cairo] + >=dev-cpp/glibmm-2.54.1 + >=dev-cpp/gtkmm-2.18.0:2.4 + >=dev-cpp/cairomm-1.9.8 + >=dev-libs/boehm-gc-7.1:= + >=dev-libs/glib-2.28 + >=dev-libs/libsigc++-2.0.12 + >=dev-libs/libxml2-2.6.20 + >=dev-libs/libxslt-1.0.15 + dev-libs/popt + media-gfx/potrace + media-libs/fontconfig + media-libs/freetype:2 + media-libs/libpng:0= + sci-libs/gsl:= + x11-libs/libX11 + >=x11-libs/gtk+-2.10.7:2 + >=x11-libs/pango-1.24 + cdr? ( + app-text/libwpg:0.3 + dev-libs/librevenge + media-libs/libcdr + ) + dbus? ( dev-libs/dbus-glib ) + exif? ( media-libs/libexif ) + gnome? ( >=gnome-base/gnome-vfs-2.0 ) + imagemagick? ( Gentoo Graphics Project - Enable support for CorelDRAW Diagrams via media-libs/libcdr - pull in app-office/dia for dia import extension + Enable support for CorelDRAW files via media-libs/libcdr + Enable DIA flow chart import via app-office/dia Enable support for OpenOffice.org SVG jar files - pull in dependencies for LaTeX formulas + Enable rendering of LaTeX formulas Enable support for new SVG2 features - Enable support for Microsoft Visio Diagrams via media-libs/libvisio - Enable support for WordPerfect Graphics via app-text/libwpg + Enable support for Microsoft Visio diagrams via media-libs/libvisio + Enable support for WordPerfect graphics via app-text/libwpg + Enable conversion of vector graphic files via media-gfx/uniconvertor (needs Python 2) inkscape/inkscape