summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2022-04-11 21:20:55 -0700
committerMatt Turner <mattst88@gentoo.org>2022-04-12 10:38:53 -0700
commit9f2b97e94bb7a71ef019ac374626cfa9135f0ef3 (patch)
tree64c1e1ebc73ac46ec8d9b6710bc70b960c2e319e /media-gfx/graphviz
parentmedia-gfx/graphviz: Fix automatic dependency on x11-libs/gtk+:2 (diff)
downloadgentoo-9f2b97e94bb7a71ef019ac374626cfa9135f0ef3.tar.gz
gentoo-9f2b97e94bb7a71ef019ac374626cfa9135f0ef3.tar.bz2
gentoo-9f2b97e94bb7a71ef019ac374626cfa9135f0ef3.zip
media-gfx/graphviz: Rename IUSE=gtk to IUSE=gtk2
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-gfx/graphviz')
-rw-r--r--media-gfx/graphviz/graphviz-2.49.0-r1.ebuild12
-rw-r--r--media-gfx/graphviz/metadata.xml2
2 files changed, 7 insertions, 7 deletions
diff --git a/media-gfx/graphviz/graphviz-2.49.0-r1.ebuild b/media-gfx/graphviz/graphviz-2.49.0-r1.ebuild
index f831828904a5..a909b34a3d40 100644
--- a/media-gfx/graphviz/graphviz-2.49.0-r1.ebuild
+++ b/media-gfx/graphviz/graphviz-2.49.0-r1.ebuild
@@ -15,10 +15,10 @@ SRC_URI="https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-re
LICENSE="CPL-1.0"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris"
-IUSE="+cairo devil doc examples gtk gts guile java lasi lefty nls pdf perl postscript python qt5 ruby svg tcl webp X"
+IUSE="+cairo devil doc examples gtk2 gts guile java lasi lefty nls pdf perl postscript python qt5 ruby svg tcl webp X"
REQUIRED_USE="
- !cairo? ( !X !gtk !postscript !lasi )
+ !cairo? ( !X !gtk2 !postscript !lasi )
pdf? ( cairo )
python? ( ${PYTHON_REQUIRED_USE} )"
@@ -41,7 +41,7 @@ RDEPEND="
>=x11-libs/pango-1.12
)
devil? ( media-libs/devil[png,jpeg] )
- gtk? (
+ gtk2? (
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:2
)
@@ -192,9 +192,9 @@ src_configure() {
--enable-ltdl
$(use_with cairo pangocairo)
$(use_with devil)
- $(use_with gtk gdk)
- $(use_with gtk gdk-pixbuf)
- $(use_with gtk)
+ $(use_with gtk2 gdk)
+ $(use_with gtk2 gdk-pixbuf)
+ $(use_with gtk2)
$(use_with gts)
$(use_with qt5 qt)
$(use_with lasi)
diff --git a/media-gfx/graphviz/metadata.xml b/media-gfx/graphviz/metadata.xml
index af88452031aa..fafa9aa44163 100644
--- a/media-gfx/graphviz/metadata.xml
+++ b/media-gfx/graphviz/metadata.xml
@@ -36,7 +36,7 @@
</longdescription>
<use>
<flag name="devil">Enables DevIL output plugin -Tdevil</flag>
- <flag name="gtk">Enables gtk+ output plugin -Tgtk (needs cairo)</flag>
+ <flag name="gtk2">Enables gtk+ output plugin -Tgtk (needs cairo)</flag>
<flag name="gts">Enables support for GNU Triangulated Surface Library (required for sfdp to work)</flag>
<flag name="lasi">Enables PostScript output via <pkg>media-libs/lasi</pkg>, for plugin -Tlasi (needs cairo)</flag>
<flag name="lefty">Builds lefty front-end, requires <pkg>x11-libs/libXmu</pkg> and <pkg>x11-libs/libXaw</pkg></flag>