From: Elan Ruusamäe Date: Wed, 27 Feb 2013 15:00:10 +0000 (+0200) Subject: add system re2 bcond, disabled as symbol mismatches X-Git-Tag: auto/th/chromium-browser-26.0.1410.43-1~2^2~28 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=bbdce24dcfab17cb73a39404c8c0a7ca38e74cf4;p=packages%2Fchromium-browser.git add system re2 bcond, disabled as symbol mismatches --- diff --git a/chromium-browser.spec b/chromium-browser.spec index f4ce02c..8f6c31e 100644 --- a/chromium-browser.spec +++ b/chromium-browser.spec @@ -24,6 +24,7 @@ %bcond_without system_minizip # system minizip %bcond_without system_opus # system opus codec support, http://www.opus-codec.org/examples/ %bcond_without system_protobuf # system protobuf +%bcond_with system_re2 # system re2 %bcond_without system_speex # system speex %bcond_with system_sqlite # system sqlite %bcond_without system_libsrtp # system srtp (can be used if using bundled libjingle) @@ -68,7 +69,7 @@ Version: %{branch}.%{patchver} %else Version: %{branch}.%{basever} %endif -Release: 1 +Release: 0.26 License: BSD, LGPL v2+ (ffmpeg) Group: X11/Applications/Networking Source0: http://carme.pld-linux.org/~glen/chromium-browser/src/dev/%{name}-%{branch}.%{basever}.tar.gz @@ -157,6 +158,7 @@ BuildRequires: pciutils-devel BuildRequires: perl-modules BuildRequires: pkgconfig %{?with_system_protobuf:BuildRequires: protobuf-devel} +%{?with_system_re2:BuildRequires: re2-devel} %{?with_pulseaudio:BuildRequires: pulseaudio-devel} BuildRequires: python #BuildRequires: python-gyp >= 1-%{gyp_rev} @@ -287,11 +289,12 @@ cd src sh -x clean-source.sh \ %{!?with_nacl:nacl=0} \ + %{!?with_system_libvpx:libvpx=0} \ + %{!?with_system_libxnvctrl:libXNVCtrl=0} \ %{!?with_system_protobuf:protobuf=0} \ + %{!?with_system_re2:re2=0} \ %{!?with_system_v8:v8=0} \ %{!?with_system_zlib:zlib=0} \ - %{!?with_system_libvpx:libvpx=0} \ - %{!?with_system_libxnvctrl:libXNVCtrl=0} \ %{nil} %build @@ -397,6 +400,7 @@ test -e Makefile || \ %{gyp_with system_minizip} \ %{gyp_with system_opus} \ %{gyp_with system_protobuf} \ + %{gyp_with system_re2} \ %{gyp_with system_speex} \ %{gyp_with system_sqlite} \ %{gyp_with system_v8} \