summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-11-10 22:23:49 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-11-10 22:25:25 +0100
commit1b31bc1d62ab6c8b4810d8217c2831cc1f153a24 (patch)
tree3c79263701307e306b7f6a57fa1e0261bc19d3dc /media-gfx
parentmedia-gfx/cptutils: remove old (diff)
downloadgentoo-1b31bc1d62ab6c8b4810d8217c2831cc1f153a24.tar.gz
gentoo-1b31bc1d62ab6c8b4810d8217c2831cc1f153a24.tar.bz2
gentoo-1b31bc1d62ab6c8b4810d8217c2831cc1f153a24.zip
media-gfx/imagemagick: add missing test restrict
Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/imagemagick/imagemagick-6.9.10.71.ebuild10
-rw-r--r--media-gfx/imagemagick/imagemagick-7.0.9.2.ebuild8
-rw-r--r--media-gfx/imagemagick/imagemagick-9999.ebuild8
3 files changed, 16 insertions, 10 deletions
diff --git a/media-gfx/imagemagick/imagemagick-6.9.10.71.ebuild b/media-gfx/imagemagick/imagemagick-6.9.10.71.ebuild
index 070e4668a698..104ec59adc77 100644
--- a/media-gfx/imagemagick/imagemagick-6.9.10.71.ebuild
+++ b/media-gfx/imagemagick/imagemagick-6.9.10.71.ebuild
@@ -16,7 +16,12 @@ LICENSE="imagemagick"
SLOT="0/${PV}"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri heif jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib"
-RESTRICT="!test? ( test ) perl? ( userpriv )"
+
+REQUIRED_USE="corefonts? ( truetype )
+ test? ( corefonts )"
+
+RESTRICT="perl? ( userpriv )
+ !test? ( test )"
RDEPEND="
dev-libs/libltdl:0
@@ -62,9 +67,6 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
X? ( x11-base/xorg-proto )"
-REQUIRED_USE="corefonts? ( truetype )
- test? ( corefonts )"
-
S="${WORKDIR}/${MY_P}"
src_prepare() {
diff --git a/media-gfx/imagemagick/imagemagick-7.0.9.2.ebuild b/media-gfx/imagemagick/imagemagick-7.0.9.2.ebuild
index bbac5a8baac3..8d8ee8a769b2 100644
--- a/media-gfx/imagemagick/imagemagick-7.0.9.2.ebuild
+++ b/media-gfx/imagemagick/imagemagick-7.0.9.2.ebuild
@@ -24,6 +24,11 @@ SLOT="0/7.0.9"
IUSE="bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri heif jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib"
RESTRICT="!test? ( test )"
+REQUIRED_USE="corefonts? ( truetype )
+ test? ( corefonts )"
+
+RESTRICT="!test? ( test )"
+
BDEPEND="virtual/pkgconfig"
RDEPEND="
@@ -70,9 +75,6 @@ DEPEND="${RDEPEND}
!media-gfx/graphicsmagick[imagemagick]
X? ( x11-base/xorg-proto )"
-REQUIRED_USE="corefonts? ( truetype )
- test? ( corefonts )"
-
S="${WORKDIR}/${MY_P}"
src_prepare() {
diff --git a/media-gfx/imagemagick/imagemagick-9999.ebuild b/media-gfx/imagemagick/imagemagick-9999.ebuild
index bbac5a8baac3..8d8ee8a769b2 100644
--- a/media-gfx/imagemagick/imagemagick-9999.ebuild
+++ b/media-gfx/imagemagick/imagemagick-9999.ebuild
@@ -24,6 +24,11 @@ SLOT="0/7.0.9"
IUSE="bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri heif jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib"
RESTRICT="!test? ( test )"
+REQUIRED_USE="corefonts? ( truetype )
+ test? ( corefonts )"
+
+RESTRICT="!test? ( test )"
+
BDEPEND="virtual/pkgconfig"
RDEPEND="
@@ -70,9 +75,6 @@ DEPEND="${RDEPEND}
!media-gfx/graphicsmagick[imagemagick]
X? ( x11-base/xorg-proto )"
-REQUIRED_USE="corefonts? ( truetype )
- test? ( corefonts )"
-
S="${WORKDIR}/${MY_P}"
src_prepare() {