commit:     af40c92d01c669f2574bcfe40e326ba13c5e1454
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Sun May 19 12:26:43 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 19 17:01:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af40c92d

virtual/imagemagick-tools: relax svg requirement for graphicsmagick

Bug: https://bugs.gentoo.org/921532
Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../imagemagick-tools/imagemagick-tools-0-r2.ebuild | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/virtual/imagemagick-tools/imagemagick-tools-0-r2.ebuild 
b/virtual/imagemagick-tools/imagemagick-tools-0-r2.ebuild
new file mode 100644
index 000000000000..a20d2ebf199f
--- /dev/null
+++ b/virtual/imagemagick-tools/imagemagick-tools-0-r2.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Virtual for imagemagick command line tools"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
+IUSE="jpeg perl png svg tiff"
+
+# This virtual is to be used **ONLY** for depending on the runtime
+# tools of imagemagick/graphicsmagick. It should and cannot be used
+# for linking against, as subslots are not transitively passed on.
+# For linking, you will need to depend on the respective libraries
+# in all consuming ebuilds and use appropriate sub-slot operators.
+# See also: https://bugs.gentoo.org/314431
+RDEPEND="
+       || (
+               media-gfx/imagemagick[jpeg?,perl?,png?,svg?,tiff?]
+               
media-gfx/graphicsmagick[imagemagick,jpeg?,perl?,png?,svg(-),tiff?]
+       )"

Reply via email to