commit: 229e2808d2f112c981e5a5e56a9548bb8b8a9893
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 2 08:58:51 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 2 09:20:18 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=229e2808
media-gfx/graphicsmagick: restore postscript support
We actually never had this wired up properly before, it just worked
automagically.
Fixes: 8182367d383e8e8175094e8634f8193fdde8ace0
Thanks-to: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{graphicsmagick-1.3.45.ebuild => graphicsmagick-1.3.45-r1.ebuild} | 4 +++-
media-gfx/graphicsmagick/graphicsmagick-9999.ebuild | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/media-gfx/graphicsmagick/graphicsmagick-1.3.45.ebuild
b/media-gfx/graphicsmagick/graphicsmagick-1.3.45-r1.ebuild
similarity index 96%
rename from media-gfx/graphicsmagick/graphicsmagick-1.3.45.ebuild
rename to media-gfx/graphicsmagick/graphicsmagick-1.3.45-r1.ebuild
index ebd7600f3692..7540cb69f787 100644
--- a/media-gfx/graphicsmagick/graphicsmagick-1.3.45.ebuild
+++ b/media-gfx/graphicsmagick/graphicsmagick-1.3.45-r1.ebuild
@@ -28,7 +28,7 @@ fi
LICENSE="MIT"
SLOT="0/${PV%.*}"
IUSE="bzip2 +cxx debug dynamic-loading fpx heif imagemagick jbig jpeg jpeg2k
jpegxl lcms lzma"
-IUSE+=" openmp perl png q16 q32 static-libs tcmalloc tiff truetype"
+IUSE+=" openmp perl postscript png q16 q32 static-libs tcmalloc tiff truetype"
IUSE+=" webp wmf X zip zlib zstd"
RDEPEND="
@@ -44,6 +44,7 @@ RDEPEND="
lcms? ( media-libs/lcms:2 )
lzma? ( app-arch/xz-utils )
perl? ( dev-lang/perl:= )
+ postscript? ( app-text/ghostscript-gpl:= )
png? ( media-libs/libpng:= )
tcmalloc? ( dev-util/google-perftools:= )
tiff? ( media-libs/tiff:= )
@@ -103,6 +104,7 @@ src_configure() {
--with-quantum-depth=${depth}
--without-frozenpaths
$(use_with cxx magick-plus-plus)
+ $(use_with postscript gs)
$(use_with heif)
$(use_with jpegxl jxl)
$(use_with perl)
diff --git a/media-gfx/graphicsmagick/graphicsmagick-9999.ebuild
b/media-gfx/graphicsmagick/graphicsmagick-9999.ebuild
index ebd7600f3692..7540cb69f787 100644
--- a/media-gfx/graphicsmagick/graphicsmagick-9999.ebuild
+++ b/media-gfx/graphicsmagick/graphicsmagick-9999.ebuild
@@ -28,7 +28,7 @@ fi
LICENSE="MIT"
SLOT="0/${PV%.*}"
IUSE="bzip2 +cxx debug dynamic-loading fpx heif imagemagick jbig jpeg jpeg2k
jpegxl lcms lzma"
-IUSE+=" openmp perl png q16 q32 static-libs tcmalloc tiff truetype"
+IUSE+=" openmp perl postscript png q16 q32 static-libs tcmalloc tiff truetype"
IUSE+=" webp wmf X zip zlib zstd"
RDEPEND="
@@ -44,6 +44,7 @@ RDEPEND="
lcms? ( media-libs/lcms:2 )
lzma? ( app-arch/xz-utils )
perl? ( dev-lang/perl:= )
+ postscript? ( app-text/ghostscript-gpl:= )
png? ( media-libs/libpng:= )
tcmalloc? ( dev-util/google-perftools:= )
tiff? ( media-libs/tiff:= )
@@ -103,6 +104,7 @@ src_configure() {
--with-quantum-depth=${depth}
--without-frozenpaths
$(use_with cxx magick-plus-plus)
+ $(use_with postscript gs)
$(use_with heif)
$(use_with jpegxl jxl)
$(use_with perl)