1 |
commit: 4e913efa0dde9674b465f7741b6e00f0212649cd |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 27 14:47:17 2021 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 27 15:10:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e913efa |
7 |
|
8 |
app-text/ghostscript-gpl: allow building without media-libs/openjpeg |
9 |
|
10 |
Closes: https://bugs.gentoo.org/609222 |
11 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r5.ebuild | 6 +++--- |
15 |
1 file changed, 3 insertions(+), 3 deletions(-) |
16 |
|
17 |
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 |
18 |
index 2fe475b2c8f..cdb280036d2 100644 |
19 |
--- a/app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r5.ebuild |
20 |
+++ b/app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r5.ebuild |
21 |
@@ -24,7 +24,7 @@ fi |
22 |
LICENSE="AGPL-3 CPL-1.0" |
23 |
SLOT="0/$(ver_cut 1-2)" |
24 |
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" |
25 |
-IUSE="cups dbus gtk l10n_de static-libs unicode X" |
26 |
+IUSE="cups dbus gtk +jpeg2k l10n_de static-libs unicode X" |
27 |
|
28 |
LANGS="ja ko zh-CN zh-TW" |
29 |
for X in ${LANGS} ; do |
30 |
@@ -38,13 +38,13 @@ DEPEND=" |
31 |
>=media-libs/jbig2dec-0.19:= |
32 |
>=media-libs/lcms-2.6:2 |
33 |
>=media-libs/libpng-1.6.2:0= |
34 |
- >=media-libs/openjpeg-2.1.0:2= |
35 |
>=media-libs/tiff-4.0.1:0= |
36 |
>=sys-libs/zlib-1.2.7 |
37 |
virtual/jpeg:0 |
38 |
cups? ( >=net-print/cups-1.3.8 ) |
39 |
dbus? ( sys-apps/dbus ) |
40 |
gtk? ( || ( x11-libs/gtk+:3 x11-libs/gtk+:2 ) ) |
41 |
+ jpeg2k? ( >=media-libs/openjpeg-2.1.0:2= ) |
42 |
unicode? ( net-dns/libidn:0= ) |
43 |
X? ( x11-libs/libXt x11-libs/libXext ) |
44 |
" |
45 |
@@ -142,7 +142,7 @@ src_configure() { |
46 |
--enable-dynamic \ |
47 |
--enable-freetype \ |
48 |
--enable-fontconfig \ |
49 |
- --enable-openjpeg \ |
50 |
+ $(use_enable jpeg2k openjpeg) \ |
51 |
--disable-compile-inits \ |
52 |
--with-drivers=ALL \ |
53 |
--with-fontpath="$FONTPATH" \ |