summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-01-27 15:47:17 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-01-27 16:10:48 +0100
commit4e913efa0dde9674b465f7741b6e00f0212649cd (patch)
tree4fe22943b3ae7ade3901941eab06c62d4438d80c /app-text/ghostscript-gpl
parentapp-text/ghostscript-gpl: re-enable openprinting support (diff)
downloadgentoo-4e913efa0dde9674b465f7741b6e00f0212649cd.tar.gz
gentoo-4e913efa0dde9674b465f7741b6e00f0212649cd.tar.bz2
gentoo-4e913efa0dde9674b465f7741b6e00f0212649cd.zip
app-text/ghostscript-gpl: allow building without media-libs/openjpeg
Closes: https://bugs.gentoo.org/609222 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'app-text/ghostscript-gpl')
-rw-r--r--app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r5.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r5.ebuild b/app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r5.ebuild
index 2fe475b2c8f8..cdb280036d23 100644
--- a/app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r5.ebuild
+++ b/app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r5.ebuild
@@ -24,7 +24,7 @@ fi
LICENSE="AGPL-3 CPL-1.0"
SLOT="0/$(ver_cut 1-2)"
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 ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="cups dbus gtk l10n_de static-libs unicode X"
+IUSE="cups dbus gtk +jpeg2k l10n_de static-libs unicode X"
LANGS="ja ko zh-CN zh-TW"
for X in ${LANGS} ; do
@@ -38,13 +38,13 @@ DEPEND="
>=media-libs/jbig2dec-0.19:=
>=media-libs/lcms-2.6:2
>=media-libs/libpng-1.6.2:0=
- >=media-libs/openjpeg-2.1.0:2=
>=media-libs/tiff-4.0.1:0=
>=sys-libs/zlib-1.2.7
virtual/jpeg:0
cups? ( >=net-print/cups-1.3.8 )
dbus? ( sys-apps/dbus )
gtk? ( || ( x11-libs/gtk+:3 x11-libs/gtk+:2 ) )
+ jpeg2k? ( >=media-libs/openjpeg-2.1.0:2= )
unicode? ( net-dns/libidn:0= )
X? ( x11-libs/libXt x11-libs/libXext )
"
@@ -142,7 +142,7 @@ src_configure() {
--enable-dynamic \
--enable-freetype \
--enable-fontconfig \
- --enable-openjpeg \
+ $(use_enable jpeg2k openjpeg) \
--disable-compile-inits \
--with-drivers=ALL \
--with-fontpath="$FONTPATH" \