[packages/ghostscript] use system libbrotli
atler
atler at pld-linux.org
Tue Aug 18 19:43:30 CEST 2026
commit 5eff6aa2658b7ab45519feda9fa1b49793d1db32
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Aug 18 19:42:32 2026 +0200
use system libbrotli
ghostscript.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/ghostscript.spec b/ghostscript.spec
index ee1cd97..9065a22 100644
--- a/ghostscript.spec
+++ b/ghostscript.spec
@@ -6,6 +6,7 @@
%bcond_without cairo # cairo support (disable for cairo bootstrap)
%bcond_without system_freetype # system freetype
%bcond_without system_jbig2dec # system jbig2dec
+%bcond_without system_libbrotli # system libbrotli
%bcond_with system_libjpeg # system libjpeg (incompatible with D_MAX_BLOCKS_IN_MCU=64 variant)
%bcond_with system_libtiff # system libtiff (incompatible with modified libjpeg)
%bcond_without system_openjp2 # system openjpeg2
@@ -52,6 +53,7 @@ BuildRequires: fontconfig-devel
%{?with_gtk:BuildRequires: gtk+3-devel >= 3.0}
%{?with_system_jbig2dec:BuildRequires: jbig2dec-devel >= 0.20}
%{?with_system_lcms2:BuildRequires: lcms2-devel >= 2.10}
+%{?with_system_libbrotli:BuildRequires: libbrotli-devel >= 1.2.0}
BuildRequires: libidn-devel
%{?with_system_libjpeg:BuildRequires: libjpeg-devel >= 9e}
BuildRequires: libpaper-devel
@@ -77,6 +79,7 @@ BuildRequires: zlib-devel >= 1.3.1
%{?with_system_freetype:Requires: freetype >= 1:2.13.3}
%{?with_system_jbig2dec:Requires: jbig2dec >= 0.20}
%{?with_system_lcms2:Requires: lcms2 >= 2.10}
+%{?with_system_libbrotli:Requires: libbrotli >= 1.2.0}
%{?with_system_libjpeg:Requires: libjpeg >= 9e}
Requires: libpng >= 2:1.6.50
%{?with_system_libtiff:Requires: libtiff >= 4.7.0}
@@ -241,6 +244,8 @@ Statyczna wersja biblioteki IJS.
%{?with_system_tesseract:%{__rm} -r tesseract leptonica}
# libtiff 4.7.0rc2
%{?with_system_libtiff:%{__rm} -r tiff}
+# brotli 1.2.0
+%{?with_system_libbrotli:%{__rm} -r brotli}
%build
%{__aclocal}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ghostscript.git/commitdiff/5eff6aa2658b7ab45519feda9fa1b49793d1db32
More information about the pld-cvs-commit
mailing list