summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-05-29 21:02:04 +0200
committerDavid Seifert <soap@gentoo.org>2021-05-29 21:02:04 +0200
commit71a28de9bdb167bca63034f9527e3583d0cfddf3 (patch)
treee8956c268a3a22f735ec7d51b74e3afd041ef82b /media-gfx/mscgen
parentapp-emulation/fuse-utils: add missing dev-libs/libgcrypt dependency (diff)
downloadgentoo-71a28de9bdb167bca63034f9527e3583d0cfddf3.tar.gz
gentoo-71a28de9bdb167bca63034f9527e3583d0cfddf3.tar.bz2
gentoo-71a28de9bdb167bca63034f9527e3583d0cfddf3.zip
media-gfx/mscgen: misc. dep fixes
* Add REQUIRED_USE for truetype (needs USE=png to do anything) * Add truetype? ( media-libs/freetype ) dependency * Use BDEPEND Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-gfx/mscgen')
-rw-r--r--media-gfx/mscgen/mscgen-0.20.ebuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/media-gfx/mscgen/mscgen-0.20.ebuild b/media-gfx/mscgen/mscgen-0.20.ebuild
index 974df47549b7..fa0e6c4a4a2c 100644
--- a/media-gfx/mscgen/mscgen-0.20.ebuild
+++ b/media-gfx/mscgen/mscgen-0.20.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,12 +14,16 @@ KEYWORDS="amd64 arm ppc ppc64 x86 ~x64-solaris"
LICENSE="GPL-2"
SLOT="0"
IUSE="png truetype"
+REQUIRED_USE="truetype? ( png )"
-RDEPEND="png? ( media-libs/gd[png,truetype?] )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
+RDEPEND="
+ truetype? ( media-libs/freetype )
+ png? ( media-libs/gd[png,truetype?] )"
+DEPEND="${RDEPEND}"
+BDEPEND="
sys-devel/bison
- sys-devel/flex"
+ sys-devel/flex
+ virtual/pkgconfig"
# Workaround for bug #379279
RESTRICT="test"