mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-slava86.git
synced 2025-02-24 07:52:54 +00:00
Enabled native_libpng
This commit is contained in:
parent
bc4f08828f
commit
44646d7d44
1 changed files with 12 additions and 2 deletions
|
@ -31,6 +31,8 @@
|
|||
%define icu 0
|
||||
%define libva 0
|
||||
%define jsoncpp 0
|
||||
%bcond_without native_libpng
|
||||
|
||||
%bcond_without clang
|
||||
|
||||
# Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys
|
||||
|
@ -221,7 +223,9 @@ BuildRequires: pkgconfig(libgcrypt)
|
|||
BuildRequires: pkgconfig(libmtp)
|
||||
BuildRequires: pkgconfig(libopenjp2)
|
||||
BuildRequires: pkgconfig(libpci)
|
||||
%if %{with native_libpng}
|
||||
BuildRequires: pkgconfig(libpng)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(libpulse)
|
||||
BuildRequires: pkgconfig(libtiff-4)
|
||||
BuildRequires: pkgconfig(libusb-1.0)
|
||||
|
@ -445,7 +449,7 @@ ln -s /usr/bin/node third_party/node/linux/node-linux-x64/bin/node
|
|||
tar xf %{SOURCE20}
|
||||
export PYTHONPATH="../../third_party/pyjson5/src:../../xcb-proto-%{xcb_version}"
|
||||
|
||||
%define system_gn_list ffmpeg libpng
|
||||
%define system_gn_list ffmpeg
|
||||
# flac libxslt snappy yasm zlib
|
||||
# opus
|
||||
# icu
|
||||
|
@ -487,6 +491,12 @@ export PYTHONPATH="../../third_party/pyjson5/src:../../xcb-proto-%{xcb_version}"
|
|||
%define is_vaapi false
|
||||
%endif
|
||||
|
||||
%if %{without native_libpng}
|
||||
%define is_libpng true
|
||||
%else
|
||||
%define is_libpng false
|
||||
%endif
|
||||
|
||||
%if %{without native_clang}
|
||||
%define clang_use_chrome_plugins clang_use_chrome_plugins=false
|
||||
%else
|
||||
|
@ -523,7 +533,7 @@ export PYTHONPATH="../../third_party/pyjson5/src:../../xcb-proto-%{xcb_version}"
|
|||
use_lld=%{is_lld} \
|
||||
use_system_freetype=true \
|
||||
use_system_harfbuzz=false \
|
||||
use_system_libpng=true \
|
||||
use_system_libpng=%{is_libpng} \
|
||||
use_vaapi=%{is_vaapi} \
|
||||
enable_dav1d_decoder=true enable_libaom_decoder=false \
|
||||
v8_use_external_startup_data=false \
|
||||
|
|
Loading…
Add table
Reference in a new issue