commit:     4a8940088e19ec8fb1594e4031c9f56c58a727a4
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 18 23:55:40 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Nov 18 23:55:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a894008

media-gfx/fig2dev: The tests require USE=ghostscript

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 media-gfx/fig2dev/fig2dev-3.2.9a.ebuild | 4 +++-
 media-gfx/fig2dev/fig2dev-9999.ebuild   | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/media-gfx/fig2dev/fig2dev-3.2.9a.ebuild 
b/media-gfx/fig2dev/fig2dev-3.2.9a.ebuild
index 8a9cdae5720d..5a0708481088 100644
--- a/media-gfx/fig2dev/fig2dev-3.2.9a.ebuild
+++ b/media-gfx/fig2dev/fig2dev-3.2.9a.ebuild
@@ -16,7 +16,9 @@ SRC_URI="https://downloads.sourceforge.net/mcj/${P}.tar.xz
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE="+ghostscript"
+IUSE="+ghostscript test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( ghostscript )"
 
 RDEPEND="
        media-libs/libpng

diff --git a/media-gfx/fig2dev/fig2dev-9999.ebuild 
b/media-gfx/fig2dev/fig2dev-9999.ebuild
index f43717cd1e15..374c69b98933 100644
--- a/media-gfx/fig2dev/fig2dev-9999.ebuild
+++ b/media-gfx/fig2dev/fig2dev-9999.ebuild
@@ -20,7 +20,9 @@ fi
 
 LICENSE="BSD"
 SLOT="0"
-IUSE="+ghostscript"
+IUSE="+ghostscript test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( ghostscript )"
 
 RDEPEND="
        media-libs/libpng

Reply via email to