disable the system freetype there are no necessary headers

../../third_party/freetype/src/src/autofit/aftypes.h:38:10: fatal error: 'freetype/internal/ftobjs.h' file not found
   38 | #include <freetype/internal/ftobjs.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
This commit is contained in:
slava86 2023-10-17 21:42:56 +00:00
parent 0f0f8b4ee4
commit 8ab4411116

View file

@ -95,6 +95,7 @@
%bcond_without use_gtk
%bcond_without use_system_libffi
%bcond_with vulkan
%bcond_with use_system_freetype
Summary: A fast web browser based on the Blink engine
Name: chromium-browser-stable
@ -225,7 +226,9 @@ BuildRequires: pkgconfig(krb5-gssapi)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(flac)
BuildRequires: pkgconfig(fontconfig)
%if %{with use_system_freetype}
BuildRequires: pkgconfig(freetype2)
%endif
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(gconf-2.0)
BuildRequires: pkgconfig(gl)
@ -602,7 +605,7 @@ export PYTHONPATH="../../third_party/pyjson5/src:../../xcb-proto-%{xcb_version}"
#clang_base_path="//third_party/llvm-build/Release+Asserts" \
%{__python} build/linux/unbundle/replace_gn_files.py --system-libraries \
%if %{mdvver} >= 202110
%if %{with use_system_freetype}
freetype \
%endif
fontconfig \