From ba0709fb5c6ee7385ac92bef09f4d33afd1c4377 Mon Sep 17 00:00:00 2001 From: tigro Date: Sun, 28 Jul 2024 18:34:57 +0300 Subject: [PATCH] cleanup bundle libs --- SPECS/chromium.spec | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/SPECS/chromium.spec b/SPECS/chromium.spec index 74f8cceb..ddebca3d 100644 --- a/SPECS/chromium.spec +++ b/SPECS/chromium.spec @@ -269,12 +269,8 @@ # Always build with internal ffmpeg %global bundleffmpegfree 0 -%if 0%{?fedora} >= 39 || 0%{?rhel} > 9 -%global bundlebrotli 0 -%global bundlelibwebp 0 +%if 0%{?fedora} || 0%{?rhel} >= 9 %global bundlezstd 0 -%global bundlecrc32c 0 -%global bundleharfbuzz 0 %global bundlefontconfig 0 %global bundledav1d 0 %global bundlelibpng 0 @@ -285,6 +281,19 @@ %global bundlelibopenjpeg2 0 %global bundlelibtiff 0 %global bundlelibxml 0 +%if 0%{?rhel} == 9 +%global bundlecrc32c 1 +%global bundleharfbuzz 1 +%global bundlebrotli 1 +%global bundleicu 1 +%global bundlelibwebp 1 +%else +%global bundlecrc32c 0 +%global bundleharfbuzz 0 +%global bundlebrotli 0 +%global bundleicu 0 +%global bundlelibwebp 0 +%endif %endif %if %{with gost}