mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-24 01:52:45 +00:00
disable gtk3 support to avoid
http://bugs.rosalinux.ru/show_bug.cgi?id=6826#c3
This commit is contained in:
parent
714fd651dd
commit
d7df848227
1 changed files with 13 additions and 1 deletions
|
@ -13,6 +13,9 @@
|
|||
%define ffmpeg 1
|
||||
%define icu 0
|
||||
%define libva 0
|
||||
# disable gtk3 support to avoid
|
||||
# http://bugs.rosalinux.ru/show_bug.cgi?id=6826#c3
|
||||
%define gtk3 0
|
||||
|
||||
Summary: A fast web browser based on the Blink engine
|
||||
Name: chromium-browser-stable
|
||||
|
@ -98,7 +101,9 @@ BuildRequires: pkgconfig(glu)
|
|||
BuildRequires: pkgconfig(gnome-keyring-1)
|
||||
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
%if 0%{?gtk3}
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(harfbuzz)
|
||||
%if 0%{icu}
|
||||
BuildRequires: pkgconfig(icu-i18n)
|
||||
|
@ -306,7 +311,9 @@ find third_party/icu -type f \! -regex '.*\.\(gyp\|gypi\|isolate\)' -delete
|
|||
#patch600 -p1
|
||||
|
||||
# AUR patches
|
||||
%if 0%{?gtk3}
|
||||
%patch700 -p1
|
||||
%endif
|
||||
|
||||
### build with widevine support
|
||||
|
||||
|
@ -332,7 +339,6 @@ buildconfig+="-Dwerror=
|
|||
-Dlinux_fpic=1
|
||||
-Ddisable_sse2=1
|
||||
-Dcomponent=shared_library
|
||||
-Duse_gtk3=1
|
||||
-Ddisable_nacl=1
|
||||
-Ddisable_glibc=0
|
||||
-Ddisable_pnacl=1
|
||||
|
@ -350,6 +356,12 @@ buildconfig+="-Dwerror=
|
|||
-Duse_sysroot=0
|
||||
-Duse_aura=1"
|
||||
|
||||
%if 0%{?gtk3}
|
||||
buildconfig+=" -Duse_gtk3=1"
|
||||
%else
|
||||
buildconfig+=" -Dtoolkit_uses_gtk=0"
|
||||
%endif
|
||||
|
||||
%if 0%{?ffmpeg}
|
||||
buildconfig+=" -Duse_system_ffmpeg=1"
|
||||
%else
|
||||
|
|
Loading…
Add table
Reference in a new issue