From c7d16db7a6b6e8deb63db56ea7f046da037b1c17 Mon Sep 17 00:00:00 2001 From: tigro Date: Fri, 17 Jan 2025 14:14:01 +0300 Subject: [PATCH] Build with bundled libtiff --- SPECS/chromium.spec | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/SPECS/chromium.spec b/SPECS/chromium.spec index 9f397e1e..2a73605c 100644 --- a/SPECS/chromium.spec +++ b/SPECS/chromium.spec @@ -260,18 +260,16 @@ %global bundlelibdrm 0 %global bundleffmpegfree 0 %global bundlefreetype 0 -%global bundlelibopenjpeg2 1 -%global bundlelibtiff 0 %global bundlelibxml 0 -%if 0%{?rhel} > 9 -%global bundlelibopenjpeg2 0 -%global bundleharfbuzz 0 -%global bundlebrotli 0 -%global bundlelibwebp 0 +# need libtiff-4.6.1 or newer, error: use of undeclared identifier 'TIFFOpenOptionsSetMaxCumulatedMemAlloc' +%if 0%{?fedora} > 41 +%global bundlelibtiff 0 %endif %if 0%{?fedora} -%global bundlelibopenjpeg2 0 %global bundlecrc32c 0 +%endif +%if 0%{?rhel} > 9 +%global bundlelibopenjpeg2 0 %global bundleharfbuzz 0 %global bundlebrotli 0 %global bundlelibwebp 0